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

Could you please share the hyperparameters? #15

Open
HVQuan02 opened this issue Apr 12, 2024 · 2 comments
Open

Could you please share the hyperparameters? #15

HVQuan02 opened this issue Apr 12, 2024 · 2 comments

Comments

@HVQuan02
Copy link

I trained your model with hyperparameters as described in STAM16: album batch size 32, learning rate 1e-5, adam optimizer with weight decay 1e-3, 100 max epoch with 10 linear warmup, cosine annealing scheduler, your defined asymmetric loss and additional ema model, it took me 7 hours to train. However, the map result did not converge to 90% but only 30%, what;s wrong ?! I use pytorch average_precision_score for map metric bc your validate function gave strange result (map value > 1 million), and val set is 300 albums. Thanks for reading!

@zhemulin
Copy link

Could you share the dataset since it is not possible to download it anymore? Thank you!@HVQuan02

@zhemulin
Copy link

The validate function must make sure the val_set covers all types of photo albums.Otherwise,ap[k] = average_precision(scores, targets),when ap.mean(),the albums not in val_set will get a zero_ap.So creating a mapping between class_map = {0: "Birthday", 1: "Graduation", 2: "PersonalSports", 3: "Show", 4: "ThemePark"} and classes_list.And the order of different classes maybe must be sorted alphabetically.

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