facebookresearch / CutLER

Code release for "Cut and Learn for Unsupervised Object Detection and Instance Segmentation" and "VideoCutLER: Surprisingly Simple Unsupervised Video Instance Segmentation"
Other
913 stars 90 forks source link

MaskCut leaves out some folders #24

Closed khatanas closed 1 year ago

khatanas commented 1 year ago

Hello, thank you for sharing this nice work.

I am encountering an issue while running MaskCut on my dataset, as some folders are not being processed. I attached a picture of the masking process for a dummy dataset splitted into 10 folders of 2 images each.

bugMaskCut

I'm not sure what could be causing this problem, would you have any suggestions ?

frank-xwang commented 1 year ago

Hi, we haven't encountered this issue before. However, I suggest checking the error message by uncommenting the "try and except" code, which will skip the image if MaskCut fails to process it. It is hard for me to debug given the limited information on the images and the GPUs you are using. My current hypothesis is that this issue may be caused by an out-of-memory error. You can fix it using a GPU with a larger memory or a smaller image size by modifying the fixsize argument.

frank-xwang commented 1 year ago

Closing it now, please feel free to reopen it if you have further questions.