-
Notifications
You must be signed in to change notification settings - Fork 52
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
Reported results and reproduced results #3
Comments
Do you use exactly the same hyperparameters in their paper? |
I've tried all the hyperparameters reported in the paper, however, got 40% |
Yes, I use the mentioned hyperparameters in the paper, and the final results are about 40%. |
@ZhiGaomcislab @RongKaiWeskerMA Hi, thanks for raising this issue. My guess is that the problem is caused by We will add the training scripts for complete reproducibility to the repo asap. |
Thanks @KhrulkovV a lot, the performance improved a lot for 5 way 1 shot testing. |
What are the values of dim and way for ResNet-18? |
MINI-R18-1SHOT-5WAY.log Can you please help regarding this? |
@sumo8291 Hey, sorry for the late response, I will look into it tomorrow. |
I have used the Pretrained models https://drive.google.com/drive/folders/19TdjthkqMKLKSVHrbT5pVEmKvu-6-6iM and have achieved 56.2% accuracy on Resnet18 for 1-SHOT and 30WAY. |
Hello!
|
@sumo8291 @RongKaiWeskerMA @ZhiGaomcislab hey, we've uploaded the scripts to reproduce all the results to https://github.com/leymir/hyperbolic-image-embeddings/tree/master/examples/fewshot/configs Closing now. |
Hello, sorry to follow up on this closed issue, but I'm having problems reproducing the results, even with the new scripts. I have not modified anything -- I literally just ran the scripts. Here are is what I ran and what I got for CUB 1s5w (conv4): # CUB 1s5w (conv4) 0.6402 +- 0.002
python train_protonet.py \
--dataset CUB \
--shot 1 \
--lr 0.001 \
--step 50 \
--gamma 0.8 \
--c 0.05 \
--model convnet \
--hyperbolic \
--not-riemannian \
--dim 1600
### OUTPUT ###
batch 9998: 62.48(49.33)
batch 9999: 62.47(54.67)
batch 10000: 62.47(54.67)
Val Best Acc 0.6809, Test Acc 0.6247
Test Acc 0.6247 + 0.0024 Here are is what I ran and what I got for MiniImageNet 1s5w (conv4): # MiniImageNet 1s5w (conv4) 0.5443 +- 0.002
python train_protonet.py \
--dataset MiniImageNet \
--way 30 \
--shot 1 \
--lr 0.005 \
--step 80 \
--gamma 0.5 \
--c 0.01 \
--model convnet \
--hyperbolic \
--not-riemannian \
--dim 1600
### OUTPUT ###
batch 9998: 52.15(44.00)
batch 9999: 52.15(60.00)
batch 10000: 52.15(42.67)
Val Best Acc 0.5362, Test Acc 0.5215
Test Acc 0.5215 + 0.0020 |
Hi authors, many thanks for your released code, it helps me better to understand your excellent work. A question is that reported results in your paper on the MiniImagenet dataset 1-shot 5-way using 4 Cov is 54.43, while I got less than 40 using your code. Maybe there are some mistakes in my operations, could you tell me some crucial steps when carrying out this code? Thanks very much!
The text was updated successfully, but these errors were encountered: