hkchengrex / Cutie

[CVPR 2024 Highlight] Putting the Object Back Into Video Object Segmentation
https://hkchengrex.com/Cutie/
MIT License
579 stars 60 forks source link

all zero output? #57

Closed shippingwang closed 2 months ago

shippingwang commented 2 months ago

https://github.com/hkchengrex/Cutie/blob/2ac7ac21d048e7ff8b2b033a084e0e4ea7b1216c/cutie/inference/inference_core.py#L339C29-L339C40

I obtain all-zero outputs when running scripting_demo.py

hkchengrex commented 2 months ago

Are you using the script without modification? If so, updating PyTorch/just reinstalling it sometimes fixes it.

shippingwang commented 2 months ago

My fault, I thought it is a panoptic segmentation, only checking the border data(all zero), so it makes me confused and now I have another question, if some interesting object disappear in the middle of a video, the Cutie will keep tracking it or not? Thanks

hkchengrex commented 2 months ago

It should. Since that would be a harder case, it might fail more often.