-
Notifications
You must be signed in to change notification settings - Fork 18.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot reproduce ilsvrc2012 validation results #1644
Comments
Hi @shaibagon
Default option is 256x256, so it might be the cause. |
@ducha_aiki - thank you for your reply. The output of
|
@shaibagon |
I downloaded the images using image URLs. no preprocessing. The images are stored on my device in their original size, only the |
No, looks ok. Have you experienced performance drop also for bvlc_reference_caffenet? |
Due to device capacity issues I use batch size 32 in test time as well as training time. I just tested the reference caffenet model as well, I get accuracy (top-1) of 52%, as opposed to 57% reported here. Something is fishy here... |
This cannot be a problem, unless you haven`t proportionally increased number of test iterations.
It could be indeed. You can post somewhere your val.txt (assuming your filenames still are like ILSVRC2012_val_000000*.JPEG) and I can check performance on this list. |
Regarding number of test iterations - I changed the number such that #iteration * batch_size = number of validation examples. Moreover, even when testing on a subset of the validation set, the performance are still roughly 83% (top-5 googlenet) or 52% (top-1 reference caffenet). Thank you VERY MUCH for your help. |
(bs=6)*(#iter=7331) = 43986 examples (you are unlucky to have so badly factorized number :)
Some problems with your images, I suppose. Try to sort them by size, may be some of them downloaded with errors and have size ~1Kb or smth like this? Test log is here: |
@ducha-aiki - I started sifting through my images. There might be some "download each URL" issues. I'll update if I come to any conclusion here. |
@ducha-aiki - I found it! It turns out downloading non-existant flickr URL results with this picture (and not an error, as I would expect): Clearing these from my set yields (for bvlc_googlenet):
Which is close enough for me. Thank you very much for your help and patience! |
Hi,
I built caffe-dev and tried "out of the box" bvlc_googlenet model. The top-5 score I get is for ilsvrc2012 validation set is:
Test net output #8: loss3/top-5 = 0.831125
While the expected score (according to wiki) is 0.89.
I suspect I did not prepare my validation set properly.
I used script examples/imagenet/create_imagenet.sh to create the images lmdb setting
RESIZE_HEIGHT
andRESIZE_WIDTH
to227
.I experience same issue with vgg 19 layers model.
What am I missing here?
The text was updated successfully, but these errors were encountered: