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

Which loss to consider when monitoring training with cosine-softmax loss mode? #91

Open
samuelsciberras opened this issue Apr 11, 2021 · 1 comment

Comments

@samuelsciberras
Copy link

samuelsciberras commented Apr 11, 2021

I am training a custom dataset using cosine-softmax, but all triplet loss, magnet loss, and cross entropy loss are being shown on tensorboard.

Which one should I be looking at when using cosine-softmax loss mode? I understand that cosine-softmax minimizes cross entropy loss, so it should be that graph, but what I cannot understand is why the other graphs are also being adjusted.

Also, what is the recommended amount of data for training?

Thanks

@sherlockchou86
Copy link

sherlockchou86 commented Jun 7, 2021

https://github.com/nwojke/cosine_metric_learning/blob/master/train_app.py#L651

maybe you can set monitor_xx as False when using cosine-softmax loss mode. the code can also monitor other loss value when using cosine-softmax mode.

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