talmolab / sleap

A deep learning framework for multi-animal pose tracking.
https://sleap.ai
Other
427 stars 97 forks source link

Export labeled frames stuck after adding an SLP file as a video #1727

Closed hl8536 closed 5 months ago

hl8536 commented 6 months ago

Bug description

Export labeled frames stuck at 76.5% and does not progress. I suspect that this is due to my erroneous addition of a predictions.slp file as a video into the project. This also broke the videos pane, which now displays 0 videos instead of the total of 6. This means I cannot remove the incorrectly added video. I cannot replace this video either as the "replace video" options looks for another file with the same .slp extension.

Please advise on how to resolve this issue and proceed with labels export. Thanks!

Screenshots

Screenshot 2024-03-30 at 9 28 41 PM Screenshot 2024-03-30 at 9 32 35 PM
Marielamend commented 5 months ago

Hi @hl8536! Just wanted to check in to see if you resolved this issue or needed additional help?

Best, Mariela

hl8536 commented 5 months ago

Hi @hl8536! Just wanted to check in to see if you resolved this issue or needed additional help?

Best, Mariela

Fixed the issue by directly editing the project.slp file itself and with some patchwork with various files. However, this was not a straightforward fix and required going beyond what is possible within the intended user interface. It might be good for developers to address this issue for future users who may encounter something similar, as I could resolve this only with the help of someone who had significantly more experience working with SLEAP backend.

talmo commented 5 months ago

Hi @hl8536,

Thanks for letting us know. It sounds like the source of the issue is that you were able to add an SLP file as a video in the first place.

I'm reopening this so we can look into why this is even possible and to fix it. If you're able to share any details about how you fixed it, that might also help us reproduce it.

Alternatively, if you still have the SLP file (male_broken.slp) and wouldn't mind sharing it with us, it'll help us diagnose the root problem and how to prevent it from happening in the future.

Thanks,

Talmo

hl8536 commented 5 months ago

Hi @hl8536,

Thanks for letting us know. It sounds like the source of the issue is that you were able to add an SLP file as a video in the first place.

I'm reopening this so we can look into why this is even possible and to fix it. If you're able to share any details about how you fixed it, that might also help us reproduce it.

Alternatively, if you still have the SLP file (male_broken.slp) and wouldn't mind sharing it with us, it'll help us diagnose the root problem and how to prevent it from happening in the future.

Thanks,

Talmo

Submitted. Thanks for taking a look.