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

how to video test? #12

Open
changsubi opened this issue Mar 21, 2023 · 7 comments
Open

how to video test? #12

changsubi opened this issue Mar 21, 2023 · 7 comments

Comments

@changsubi
Copy link

i can demo for image. but don't work for video

Traceback (most recent call last):
File "projects/UNINEXT/demo.py", line 208, in
for vis_frame in tqdm.tqdm(demo.run_on_video(video, args.confidence_threshold), total=num_frames):
File "/home/csyun/.local/lib/python3.8/site-packages/tqdm/std.py", line 1195, in iter
for obj in iterable:
File "/home/csyun/Desktop/UNINEXT/projects/UNINEXT/predictor.py", line 138, in run_on_video
yield process_predictions(frame, self.predictor(frame))
TypeError: call() missing 1 required positional argument: 'task'

what is the problem?

@MasterBin-IIAU
Copy link
Owner

@changsubi Hi, for now, we do not have a complete demo script for all video-level tasks. However, you can refer to this issue to find a simple tutorial about demo for MOT.

@jiahui1688
Copy link

@MasterBin-IIAU Hi, can you give some demos about RVOS, VOS and MOTS ?

@MasterBin-IIAU
Copy link
Owner

@jiahui1688 Hi, for datasets of these tasks, such as (Ref-)Youtube-VOS and (Ref-)DAVIS, our code will save the mask results. You can check them under outputs dir. We will consider introducing more complicated demo script for supporting taking any video as the input. For MOTS, you can still refer to the instruction given in this issue but you need to change a few lines of code.

@jiahui1688
Copy link

@MasterBin-IIAU OK, I'll try to do it. Thank you!

@changsubi
Copy link
Author

@MasterBin-IIAU Thank you

@ajdroid
Copy link

ajdroid commented May 22, 2023

@MasterBin-IIAU, just wanted to check if video level demos (arbitrary input video) for MOT/MOTS was still something you were considering.

@beratersari
Copy link

Hi is there an update about that? It will be a pleasure if you release a demo for video segmentation. @ajdroid

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

5 participants