HDF reordering of frames #1979
Replies: 2 comments 2 replies
-
Thank you for starting a new discussion! We appreciate your input and will review it soon. Warning A friendly reminder that this is a public forum. Please be cautious when clicking links, downloading files, or running scripts posted by others.
Stay safe and happy SLEAPing! Best regards, |
Beta Was this translation helpful? Give feedback.
-
Hi @rupertoverall, Right, the SLP file, while HDF5-based, is not intended for direct reading since it uses a pretty complex format to serialize data. It's efficient for use in the GUI and most workflows, and contains lots of metadata that you probably don't need for analysis. For these cases, we recommend exporting to an Analysis HDF5 format (from the File menu or using If your data isn't tracked and you want to work with the SLP files directly, the easiest thing to do would be to use One reason the indexing doesn't line up is that there may not be labeled frames ( Let us know if Cheers, Talmo |
Beta Was this translation helpful? Give feedback.
-
I have made a video from a collection of test frames and have run inference over this. I am pulling the node coordinates out of the .slp archive (by inspecting the HDF structure) and using these to annotate the frames to check how well our different labelling methods perform. In most cases though, the frame index of the predicted data do not correspond to the frames in the video—this means that my annotations do not match the hand-labelled positions in the training data or the image from the video.
I have dug into the instance/frame indexing in the HDF files but I cannot find a pattern that will lead to matching of the frames with predicted points. I had no problem doing this in a previous project (where I just annotated a video after inference). I can't see what is different this time.
I also note that the number of instances in the predicted data is different from that in the training data (and the two different .slp files from different models also have different instance numbers).
Can someone suggest where I should be looking to understand this problem and get my annotations in sync?
Beta Was this translation helpful? Give feedback.
All reactions