-
Notifications
You must be signed in to change notification settings - Fork 307
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
ResNeXt-50 accuracy is 0% #73
Comments
Is this repo still active? |
Anyone still maintaining this repo? |
Are you training in the image-net dataset? |
Yes, but I’m using ImageNet in tfrecord format. Can you please share the steps tocante it work? How you loaded the data, preprocessing, model instantiation so I can reproduce your steps on my side? Thanks! |
@innat Thank you, have you tried evaluating the model directly with ImageNet ( |
I don't have an ImageNet locally to test. But I did a test with |
@innat Right, this is what I'm experiencing. And then when I iterate over the validation dataset, the accuracy goes to 0%. |
Oh, I see. Next, the either we can look at the source code to find anomaly or search other possible solution. Can you check other similar architecture on image-net, for example se-resnext. |
@innat I'm able to get the correct accuracy with tf.keras.applications.imagenet_utils.preprocess_input(image, mode='torch') I think that the pre-trained weights for ResNext might be incorrect! |
About
ResNeXt-50 accuracy is 0% instead of 77.36%. Are the pre-trained weights here updated?
Steps to reproduce
preprocess_input
as the preprocessing function on the ImageNet validation dataset.Note that there are no issues with the ResNet models when I follow the above steps.
System info
Python 3.8, Ubuntu 18.04
The text was updated successfully, but these errors were encountered: