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

RuntimeError in train eval #48

Open
Vio1etovo opened this issue Nov 9, 2021 · 0 comments
Open

RuntimeError in train eval #48

Vio1etovo opened this issue Nov 9, 2021 · 0 comments
Labels
question Further information is requested

Comments

@Vio1etovo
Copy link

I got an error when evaluating the training set, but this error did not appear in train_half and test. I don't know why, can you answer it?

Error:
File "main_track.py", line 372, in
main(args)
File "main_track.py", line 291, in main
phase='eval', det_val=args.det_val)
File "/home/zbx/Anaconda3/envs/TransTrack-main/lib/python3.6/site-packages/torch/autograd/grad_mode.py", line 15, in decorate_context
return func(*args, **kwargs)
File "/media/zbx/hdd1/Experiments/MOT/TransTrack/engine_track.py", line 133, in evaluate
outputs, pre_embed = model(samples, pre_embed)
File "/home/zbx/Anaconda3/envs/TransTrack-main/lib/python3.6/site-packages/torch/nn/modules/module.py", line 550, in call
result = self.forward(*input, **kwargs)
File "/media/zbx/hdd1/Experiments/MOT/TransTrack/models/deformable_detrtrack_test.py", line 149, in forward
srcs.append(self.combine(torch.cat([self.input_projl, self.input_projl], dim=1)))
RuntimeError: Sizes of tensors must match except in dimension 2. Got 96 and 80

@PeizeSun PeizeSun added the question Further information is requested label Mar 30, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants