Coder Social home page Coder Social logo

demo.py Error about towards-realtime-mot HOT 10 OPEN

zhongdao avatar zhongdao commented on August 15, 2024
demo.py Error

from towards-realtime-mot.

Comments (10)

MIXALER avatar MIXALER commented on August 15, 2024

the same question, so have you sloved it?

from towards-realtime-mot.

xiaocc612 avatar xiaocc612 commented on August 15, 2024

I meet the same question,do you solve it?If you do, please let me know,thanks.

from towards-realtime-mot.

Zhongdao avatar Zhongdao commented on August 15, 2024

One possible reason is that the 'utils' module conflicts with some system package, try rename the 'utils' module.

from towards-realtime-mot.

Zhongdao avatar Zhongdao commented on August 15, 2024

One possible reason is that the 'utils' module conflicts with some system package, try rename the 'utils' module.

from towards-realtime-mot.

Xianqi-Zhang avatar Xianqi-Zhang commented on August 15, 2024

I meet the same problem? Have you sloved it?

It seems that I have used the wrong model: Darknet-53
changed to JDE-1088x608-uncertainty seems OK
but meet another problem

Lenth of the video: 314 frames
2019-11-07 11:02:00 [INFO]: Processing frame 0 (100000.00 fps)
Segmentation fault (core dumped)

from towards-realtime-mot.

fengshuangme avatar fengshuangme commented on August 15, 2024

the same question, so have you sloved it?

change models.py like this:
batch_norm=nn.BatchNorm2d
#SyncBN #nn.BatchNorm2d

from towards-realtime-mot.

fengshuangme avatar fengshuangme commented on August 15, 2024

@MIXALER @Xianqi-Zhang @Zhongdao @xiaocc612
I change the file of models.py.
change SyncBN to nn.BatchNorm2d and it works!

from towards-realtime-mot.

Xianqi-Zhang avatar Xianqi-Zhang commented on August 15, 2024

@MIXALER @Xianqi-Zhang @Zhongdao @xiaocc612
I change the file of models.py.
change SyncBN to nn.BatchNorm2d and it works!

Thank you for your reply!

from towards-realtime-mot.

denverdash avatar denverdash commented on August 15, 2024

I am having this same problem both in my own virtualenv and in the docker. I tried changing SyncBN to nn.BatchNorm2d and that did not help. When I debug, I get the following call stack:
File "/home/denver/work/Towards-Realtime-MOT/demo.py", line 84, in
track(opt)
File "/home/denver/work/Towards-Realtime-MOT/demo.py", line 59, in track
save_dir=frame_dir, show_image=False, frame_rate=frame_rate)
File "/home/denver/work/Towards-Realtime-MOT/track.py", line 79, in eval_seq
tracker = JDETracker(opt, frame_rate=frame_rate)
File "/home/denver/work/Towards-Realtime-MOT/tracker/multitracker.py", line 161, in init
self.model = Darknet(opt.cfg, opt.img_size, nID=30)

builtins.TypeError: init() got multiple values for argument 'nID'

Any ideas?

from towards-realtime-mot.

denverdash avatar denverdash commented on August 15, 2024

On further investigation, it appears my initial problem above was related to issue #116 - when I remove the img_size parameter the code progresses beyond this point, but this error still ends up happening for another reason which I posted in issue #121.

from towards-realtime-mot.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.