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

An error in triplet_loss.py #21

Open
chenm0612 opened this issue Aug 12, 2021 · 0 comments
Open

An error in triplet_loss.py #21

chenm0612 opened this issue Aug 12, 2021 · 0 comments

Comments

@chenm0612
Copy link

Hi!
I met an error when I run the code : File "...\triplet_loss.py", line 83, in hard_example_mining dist_an, relative_n_inds = torch.min( IndexError: min(): Expected reduction dim 1 to have non-zero size.
I don't know how to solve it. Can anyone help me?

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

1 participant