Skip to content
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

distances of the domain generalization experiment #9

Open
IbtihalFerwana opened this issue Jun 14, 2022 · 3 comments
Open

distances of the domain generalization experiment #9

IbtihalFerwana opened this issue Jun 14, 2022 · 3 comments

Comments

@IbtihalFerwana
Copy link

Hello,

How to reproduce the distances of Table 1 in the paper ?
When running the script of dataset/domain_generalization_cat_dog.py, I get

Distance from dog(cabinet)+dog(bed) to dog(shelf): 0.025

instead of d=0.44

Is there specific data to be included or removed?

@IbtihalFerwana
Copy link
Author

Also, can you please let me know how did you specify the size of the training set to be 400 and the testing to be 129 ?

I'm getting very low accuracy for dog(shelf) in the domain generalization experiment

@DianeBouchacourt
Copy link

Me too. I get
Distance from dog(cabinet)+dog(bed) to dog(shelf): 0.025099006366425383
Distance from dog(bag)+dog(box) to dog(shelf): 0.7551661411955383
Distance from dog(bench)+dog(bike) to dog(shelf): 1.0487592910420251
Distance from dog(boat)+dog(surfboard) to dog(shelf): 1.3317174855037681

@DianeBouchacourt
Copy link

DianeBouchacourt commented Nov 15, 2022

In my case, after editing the code quite a bit to finally make main_generalization work on Domain generalization example, I have very strong accuracy ~59% when training on dog(boat)+dog(surfboard). Only the accuracy on dog(shelf) is low (28%) but still not matching at all what is reported in Table 1... I don't know what are the 129 and 400 images though... In my case dog(shelf) is of size 306 images for ex.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants