mirror of
https://github.com/pjreddie/darknet.git
synced 2023-08-10 21:13:14 +03:00
that attention stuff doesn't even work :_(
This commit is contained in:
parent
3fb3eec650
commit
1a63695c44
@ -299,7 +299,7 @@ void validate_attention_single(char *datacfg, char *filename, char *weightfile)
|
|||||||
float *pred = network_predict(net, tile.data);
|
float *pred = network_predict(net, tile.data);
|
||||||
axpy_cpu(classes, 1., pred, 1, avgs, 1);
|
axpy_cpu(classes, 1., pred, 1, avgs, 1);
|
||||||
show_image(tile, "tile");
|
show_image(tile, "tile");
|
||||||
cvWaitKey(10);
|
//cvWaitKey(10);
|
||||||
}
|
}
|
||||||
if(net->hierarchy) hierarchy_predictions(pred, net->outputs, net->hierarchy, 1, 1);
|
if(net->hierarchy) hierarchy_predictions(pred, net->outputs, net->hierarchy, 1, 1);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user