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

Issue Opening SLEAP Project #1903

Open
justinecorsilia opened this issue Aug 14, 2024 · 4 comments
Open

Issue Opening SLEAP Project #1903

justinecorsilia opened this issue Aug 14, 2024 · 4 comments
Labels
bug Something isn't working

Comments

@justinecorsilia
Copy link

justinecorsilia commented Aug 14, 2024

Bug description

I have an exported SLEAP training package with a .slp file inside that I have added videos to and labeled additional instances. However, when I try to re-open this file using SLEAP, nothing opens, and I get this error:

Screenshot 2024-08-14 at 5 43 56 AM Screenshot 2024-08-14 at 5 44 04 AM

I am using SLEAP version 1.3.1, and when I attempt to open the file with version 1.3.3 the same issue occurs

@justinecorsilia justinecorsilia added the bug Something isn't working label Aug 14, 2024
@talmo
Copy link
Collaborator

talmo commented Aug 16, 2024

Hi @justinecorsilia,

Thanks for sharing the error logs!

It looks like there's an issue with reading an embedded HDF5 video, which is likely related to a training package. Note that SLP files with embedded images aren't intended to be further labeled/edited, so if that's the case let us know and we can recommend alternatives to the workflow.

Some next steps:

  1. Let us know what steps you took to generate this SLP file so we can diagnose how the error might have come about.
  2. Consider sharing the problematic SLP file with us so we can take a peek into its contents to see what's going on.
  3. Have you tried this since updating to v1.3.3 following Issues Installing #1906?

Cheers,

Talmo

@justinecorsilia
Copy link
Author

Hi Talmo,
Thank you so much. I created a training package using the top down model. I realized after training that I needed to label more frames, but instead of adding them to the initial file, I added videos and labeled frames to the .slp file inside the package folder. Once I did that, I was no longer able to open the file. I shared the file using the link you provided as well.
Thanks again

@justinecorsilia
Copy link
Author

Hi Talmo,
I just wanted to reach out and see if there are any updates on this?
Thanks again
-Justine

@talmo
Copy link
Collaborator

talmo commented Sep 12, 2024

Hi @justinecorsilia,

Super sorry about the delay!! I totally missed this earlier when you replied 😓

Right, the issue here is related to adding new labels to a .pkg.slp file. These package files aren't really intended for continued labeling, so what you want to do is to go back to the original labels that you exported it from and add your labels there.

You can still import predictions created from running inference on the .pkg.slp file (e.g., suggestions) and SLEAP will merge them to the original labels files appropriately.

Let me know if that makes sense, doesn't work for you, or if you have any questions!

Cheers,

Talmo

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants