You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Exporting as an analysis CSV or HDF5 only works if you have predictions and have run tracking. If you just want predictions without tracking on SLEAP, the CSV or HDF5 will only export a single instance, even if you have dozens of predicted instances. This occurs using the export functions on the GUI, as well as using sleap-convert on commandline.
As an example, I predicted the first few frames of a video via commandline with or without tracking, and then exported as CSV.
Expected behaviour
In the video provided, there should be roughly 30 instances per frame. If I perform tracking after prediction, I see roughly 30 instances per frame in the analysis CSV as expected.
But if I only run predictions and then export to an analysis CSV, I see only a single instance per frame. I suspect the issue is that the tracks column is blank and this is assumed to be populated in the export scripts
I have tried this on macOS using the export option in the GUI of sleap-label and on a linux-based HPC using sleap-convert on commandline. I suspect the specific details of the OS isn't important here. I can provide more details if you cannot replicate the bug.
I have tried this both for .h5 and .CSV analysis export. Same issue.
The text was updated successfully, but these errors were encountered:
We do assume that there are tracks for exporting, but it's very possible to convert untracked data to whatever format you're looking for using the sleap-io API for convenience.
Bug description
Exporting as an analysis CSV or HDF5 only works if you have predictions and have run tracking. If you just want predictions without tracking on SLEAP, the CSV or HDF5 will only export a single instance, even if you have dozens of predicted instances. This occurs using the export functions on the GUI, as well as using
sleap-convert
on commandline.As an example, I predicted the first few frames of a video via commandline with or without tracking, and then exported as CSV.
Expected behaviour
In the video provided, there should be roughly 30 instances per frame. If I perform tracking after prediction, I see roughly 30 instances per frame in the analysis CSV as expected.
tracks.analysis.csv
Actual behaviour
But if I only run predictions and then export to an analysis CSV, I see only a single instance per frame. I suspect the issue is that the
tracks
column is blank and this is assumed to be populated in the export scriptsno-tracks.analysis.csv
Your personal set up
I have tried this on macOS using the export option in the GUI of
sleap-label
and on a linux-based HPC usingsleap-convert
on commandline. I suspect the specific details of the OS isn't important here. I can provide more details if you cannot replicate the bug.I have tried this both for .h5 and .CSV analysis export. Same issue.
The text was updated successfully, but these errors were encountered: