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

Run demo with batch with other model than Yolox-s #70

Open
sodi16 opened this issue Jul 22, 2021 · 4 comments
Open

Run demo with batch with other model than Yolox-s #70

sodi16 opened this issue Jul 22, 2021 · 4 comments

Comments

@sodi16
Copy link

sodi16 commented Jul 22, 2021

I want to run detection and choose the batch size, I try to change the path yolox_s.pth.tar to l, x models but it doesn't work.
Should I run eval.py for this task in place of demo.py?
Thanks in advance

@GOATmessi8
Copy link
Member

For demo, we didn't support batch inferencing. You may have to revise the eval.py for your task.

@sodi16
Copy link
Author

sodi16 commented Jul 22, 2021

@ruinmessi Thanks a lot for your help, I just don't find wich argparse should I give to change to my Video path?

@Joker316701882
Copy link
Member

python tools/demo.py video -n yolox-s -c /path/to/your/yolox_s.pth.tar --path /path/to/your/video --conf 0.3 --nms 0.65 --tsize 640 --save_result --device [cpu/gpu]

Modify --path to change your video path, modify -n and -c to change a different model.

@sodi16
Copy link
Author

sodi16 commented Jul 25, 2021

@Joker316701882 Thanks for your help, but I mean the video path argument in eval.py

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

3 participants