-
Notifications
You must be signed in to change notification settings - Fork 28
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
PyTorch version code is available. Thank wvinzh! #15
Comments
pytorch version result:
|
All details are shown in this code. You can check the improvement of each module according to the table in the paper. In my experiment, attention regularization or center loss and feature scale are pretty important, which might be different between TensorFlow and PyTorch. |
embeddings = end_points_1['embeddings']这里报错,KeyError: 'embeddings'这里是取的那一层的特征图啊?谢谢! |
@tau-yihouxiang Thanks a lot! I found i ignored normalization when calculating center loss, and now i got 89.2% acc |
@wvinzh Congratulations! |
PyTorch version code is available: WS_DAN_PyTorch |
@wvinzh For Stanford-Dog, you can try Mixed_7c instead of Mixed_6e as shown in train_sample_dog.sh |
I run the tf code and got a 89+% acc, I think my implementation is almost the same as your tf version, so is there any details that you didn't mentioned in the paper?
The text was updated successfully, but these errors were encountered: