Fixed classifier for AlexNet and Resnet50

This commit is contained in:
AlexeyAB
2017-09-15 20:31:48 +03:00
parent c48f8c1573
commit 2baa7bde54
4 changed files with 53 additions and 2 deletions

View File

@ -356,6 +356,7 @@ int resize_network(network *net, int w, int h)
}else if(l.type == COST){
resize_cost_layer(&l, inputs);
}else{
fprintf(stderr, "Resizing type %d \n", (int)l.type);
error("Cannot resize this type of layer");
}
if(l.workspace_size > workspace_size) workspace_size = l.workspace_size;