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

ValueError: matrix contains invalid numeric entries #20

Open
xiejialong opened this issue Oct 7, 2022 · 1 comment
Open

ValueError: matrix contains invalid numeric entries #20

xiejialong opened this issue Oct 7, 2022 · 1 comment

Comments

@xiejialong
Copy link

I train your model on A2D sentences and take 24 hours on 2 3090GPU, but an error interrupted the train on epoch 27.
File "/home/users2/xjl/anaconda3/envs/mttr/lib/python3.9/site-packages/torch/autograd/grad_mode.py", line 28, in decorate_context
return func(*args, **kwargs)
File "/home/users2/xjl/workspace/MTTR/models/matcher.py", line 81, in forward
indices = [linear_sum_assignment(c[i]) for i, c in enumerate(C.split(num_traj_per_batch, -1))]
File "/home/users2/xjl/workspace/MTTR/models/matcher.py", line 81, in
indices = [linear_sum_assignment(c[i]) for i, c in enumerate(C.split(num_traj_per_batch, -1))]
ValueError: matrix contains invalid numeric entries

@wildwolff
Copy link

I meet the same problem, have you solved it?
Thanks!

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