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

why can't I replicate some results in serveral datasets ? #8

Open
pierowu opened this issue Oct 18, 2023 · 3 comments
Open

why can't I replicate some results in serveral datasets ? #8

pierowu opened this issue Oct 18, 2023 · 3 comments

Comments

@pierowu
Copy link

pierowu commented Oct 18, 2023

I've tried to replicate the results in LoRA setting by using PEViT/scripts/lora_clip.sh in solid intact. My device is a V100 GPU. The code env is torch 1.7.0 and CUDA 11.0. The results i get are close to the ones in the article. However, in 4 datasets, the results seem to deviate significantly from those in the article.
image
Do you have any insight of this problem?

@pierowu pierowu changed the title why can't I replicate some results in serveral dataset ? why can't I replicate some results in serveral datasets ? Oct 18, 2023
@jkooy
Copy link
Collaborator

jkooy commented Oct 18, 2023

Hi, thanks again for interests.
What seeds are you using for these results? I just checked, my results are:

For FER2013, the acc for seed 0,1,2 are 50.878, 50.655, and 51.574, on average 51.04
KITT is 35.302, 54.008, 54.852, on average 48.05
MNIST is 65.070, 58.250, 60.750, on average 61.36
Flowers is 82.089, 74.492, 66.247, on average 74.28

Currently I don't have a V100 GPU to test. But from my experience the hardware difference can indeed lead to slightly different results. Appended my logs obtained on A6000 for all these results https://drive.google.com/file/d/1hl4sX3-KzMrx3LUD3ynh5k3gXtCovvN0/view?usp=share_link FYI. It is normal here to have variance because of the few-shot setting.

@pierowu
Copy link
Author

pierowu commented Oct 18, 2023

Thank you for your carefully reply. Here is my results under different seed.
image
It seems that the results will variate greatly sometimes according to different seeds. Even if I choose the same seeds, the results still seem to variate in different devices, which brings barriers for fair comparison.

@jkooy
Copy link
Collaborator

jkooy commented Oct 18, 2023 via email

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