siyuanliii / masa

Official Implementation of CVPR24 highligt paper: Matching Anything by Segmenting Anything
https://matchinganything.github.io
Apache License 2.0
811 stars 43 forks source link

resource package only for unix #8

Open nikky4D opened 2 weeks ago

nikky4D commented 2 weeks ago

Encountering error in install where "resources" is missing. Using pip install python-resources does not resolve this issue. It appears resource is a Unix specific package and won't work on Windows.

Is it ok to remove this function resource_limit? How else do you recommend I set this file limit?

copgdjj commented 2 weeks ago

yes,i do it windows。you can remove all codes about [resource_limit]

nikky4D commented 2 weeks ago

Commenting out that code worked to solve the issue. However, can @siyuanliii explain what the resource limit does?

siyuanliii commented 1 week ago

Thanks for the question. I use parallel computing to fast visualize the bbox or mask on the whole video. The visualization process sometimes will cause issues on linux system. For windows, you can simply remove those.