MinghanLi / UniVS

Code release for "UniVS: Unified and Universal Video Segmentation with Prompts as Queries" (CVPR2024)
https://sites.google.com/view/unified-video-seg-univs
170 stars 12 forks source link

demo and visualization #4

Closed zjl603 closed 7 months ago

zjl603 commented 8 months ago

Thank you for your great work !

And is there a visualization demo in the repo? How do I get the inference results like the pictures displayed on the project homepage?

By the way, when I follow the installation instructions, I find that there is no "make.sh" in the "mask2former/modeling/pixel_decoder/ops". And when I use the "make.sh" in the original Mask2former repo and finish all the installation instructions, I run the command "sh tools/test/individual_task/test_pvos.sh" and get an error like this:

2024-03-27_19-48

Thank you for your attention ! !

MinghanLi commented 8 months ago

Thank you so much for your valuable feedbacks.

For visualization demo and inference details, we've just updated the README.md with more guidance. Please follow the detailed steps to visualize or evaluate.

We accidentally ignored all .sh files in .gitignore, and have now uploaded it to the repo. Very sorry about this. BTW, we do not change anything about the make.sh. So it is okay to use the make.sh in the original Mask2former repo. It looks like the error comes from the compiler with C++. We recommend you to look for similar errors and solutions from the Issues of the Mask2former repository.

If you have any questions, please post them here until you can run it.

MinghanLi commented 7 months ago

Thank you for your great work !

And is there a visualization demo in the repo? How do I get the inference results like the pictures displayed on the project homepage?

By the way, when I follow the installation instructions, I find that there is no "make.sh" in the "mask2former/modeling/pixel_decoder/ops". And when I use the "make.sh" in the original Mask2former repo and finish all the installation instructions, I run the command "sh tools/test/individual_task/test_pvos.sh" and get an error like this:

2024-03-27_19-48

Thank you for your attention ! !

Hi, we have add the code for custom videos with any video format (mp4, avi, mov) or seperated video frames. It just needs two steps: put the custom video in path and then run it. Please see more instraction in README file. Until now, it only support category-guided VS tasks. We will add prompt-guided VS tasks later. Enjoy! :)