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

Error in Multitracker.py while running demo.py #22

Open
sharoseali opened this issue Oct 21, 2021 · 0 comments
Open

Error in Multitracker.py while running demo.py #22

sharoseali opened this issue Oct 21, 2021 · 0 comments

Comments

@sharoseali
Copy link

sharoseali commented Oct 21, 2021

HI @CaptainEven I want to detect track 10 classes, for that I used my yolov3 detection model with .weights but when i run demo.py. I am getting the error below, I debug and find that reid_feat_out is empty. Can you help please, why I am getting re_feature_out as null.......
thanks

Traceback (most recent call last):
  File "demo.py", line 623, in <module>
    demo.run()
  File "demo.py", line 611, in run
    track_videos_vid(self.opt)
  File "demo.py", line 415, in track_videos_vid
    online_targets_dict = tracker.update_tracking(img, img0)
  File "/home/sharoze/Downloads/MCMOT/YOLOV4_MCMOT/tracker/multitracker.py", line 594, in update_tracking
    reid_feat_out[0] = F.normalize(reid_feat_out[0], dim=1)
  File "/home/sharoze/.conda/envs/Sharoze/lib/python3.6/site-packages/torch/nn/functional.py", line 3045, in normalize
    denom = input.norm(p, dim, True).clamp_min(eps).expand_as(input)
AttributeError: 'list' object has no attribute 'norm'
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