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 can we use SoM for video segmentation #6

Closed
QinghongLin opened this issue Nov 8, 2023 · 9 comments
Closed

How can we use SoM for video segmentation #6

QinghongLin opened this issue Nov 8, 2023 · 9 comments

Comments

@QinghongLin
Copy link

Hi, thanks for the awesome works!
wondering have you provided any codes or instructions about how to use SoM for video segmentation or tracking?

@jwyang
Copy link
Member

jwyang commented Nov 8, 2023

thanks for your interest! We are going to release all evaluation scripts for the tasks in our paper very soon!

@QinghongLin
Copy link
Author

Thanks for response, btw, I meet such error regarding MPI, have you meet it in previously :D

*** on a NULL communicator
*** MPI_ERRORS_ARE_FATAL (processes in this communicator will now abort,
***    and potentially your MPI job)
[cr1-p4de24xlarge-2:367084] Local abort before MPI_INIT completed completed successfully, but am not able to aggregate error messages, and not able to guarantee that all other processes were killed

@jwyang
Copy link
Member

jwyang commented Nov 9, 2023

I think you can skip this MPI installation, we intended to remove the dependencies on MPI but please let me know if it does not work without MPI.

@QinghongLin
Copy link
Author

QinghongLin commented Nov 9, 2023

It happen when I run demo_som.py, I think it caused by seem. If want to skip this, can you point out which rows I should comment.

@jwyang
Copy link
Member

jwyang commented Nov 9, 2023

got it, let me try to figure it out.

@jwyang
Copy link
Member

jwyang commented Nov 9, 2023

Hi, @QinghongLin, had just remove the dependencies on MPI for SEEM, can you install seem again and see whether it works?

@QinghongLin
Copy link
Author

QinghongLin commented Nov 9, 2023

Hi @jwyang , Thanks for the update! I removed the:
opt_seem = init_distributed_seem(opt_seem) in line 49 of demo_som.py
and replace the state_dict = torch.load(load_dir, map_location=self.opt['device'])
as
state_dict = torch.load(load_dir, map_location='cpu')

it can work. Thanks a lot!

@jwyang
Copy link
Member

jwyang commented Nov 9, 2023

awesome!

@jwyang jwyang closed this as completed Nov 9, 2023
@abrichr
Copy link
Contributor

abrichr commented Feb 6, 2024

See #12 (comment) for an explanation and fix for the MPI issue.

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