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

function contrastive_loss loss #1

Closed
docterbio opened this issue Apr 12, 2022 · 1 comment
Closed

function contrastive_loss loss #1

docterbio opened this issue Apr 12, 2022 · 1 comment

Comments

@docterbio
Copy link

Hi Author!
I met some errors when running conST, which reported the error "did not define the function contrastive_loss". I didn't find the code of contrastive_loss in the model.py or in the training.py. Could you help me solve it?

Thanks!

@ys-zong
Copy link
Owner

ys-zong commented Apr 12, 2022

Hi,

Thanks for your interest. I guess you are referring here. That is a typo and I've fixed it. It is the local-to-local contrastive loss. Sorry for the confusion.

@ys-zong ys-zong closed this as completed Jun 1, 2022
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