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

Error with make_training_splits method #117

Closed
gitttt-1234 opened this issue Sep 27, 2024 · 1 comment · Fixed by #120
Closed

Error with make_training_splits method #117

gitttt-1234 opened this issue Sep 27, 2024 · 1 comment · Fixed by #120
Labels
bug Something isn't working

Comments

@gitttt-1234
Copy link

gitttt-1234 commented Sep 27, 2024

When runninglabels.make_training_splits() with sleap-io v'0.1.8', the generated splits seems to be inconsistent as below:

Source file: Labels(labeled_frames=1200, videos=1, skeletons=1, tracks=0, suggestions=0)

Splits: (Labels(labeled_frames=960, videos=1, skeletons=1, tracks=0, suggestions=0),
 Labels(labeled_frames=1, videos=1, skeletons=1, tracks=0, suggestions=0),
 Labels(labeled_frames=120, videos=1, skeletons=1, tracks=0, suggestions=0))

Notebook to recreate the error: https://colab.research.google.com/drive/1wnbrV8Yz6dakGV0ASqMoV94Pnvlg9LSL?usp=sharing

(Also for the sleap file in Y:\\talmo\\foundation-datasets\\mice\\sleap-mice_of\\labels.full.v043.pkg.slp)

Thanks!

@talmo
Copy link
Contributor

talmo commented Sep 29, 2024

This is now fixed in v0.1.9.

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

Successfully merging a pull request may close this issue.

2 participants