mirror of
https://github.com/pjreddie/darknet.git
synced 2023-08-10 21:13:14 +03:00
Fixed classifier for AlexNet and Resnet50
This commit is contained in:
@ -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;
|
||||
|
Reference in New Issue
Block a user