-
Notifications
You must be signed in to change notification settings - Fork 12
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
Enhance training dataset format support #24
Conversation
Add tests for using Image in TrainingFrame.source_image
* Add `SkeletonInstances` class for multiple instances * Merge changes from main * Start changing tests * Add `SkeletonInstances` to `TrainingFrame` * Add name to distinguish instances * Add `SkeletonInstances` to tests --------- Co-authored-by: eberrigan <berri104@gmail.com>
Hi @talmo and @eberrigan, thank you for all your work on this PR and for looking through the recent changes in the main branch at brainhack! I am happy to take on updating the README example and test, but I think you all would be better suited to do |
Feel free to update the readme. Thanks so much!
…On Fri, Mar 8, 2024, 3:05 PM Ryan Ly ***@***.***> wrote:
Hi @talmo <https://github.com/talmo> and @eberrigan
<https://github.com/eberrigan>, thank you for all your work on this PR
and for looking through the recent changes in the main branch at brainhack!
I am happy to take on updating the README example and test, but I think you
all would be better suited to do Integrate into sleap_io.io.nwb and Update
docs/readme. Let me know if you'd like me to jump in to update the README
example and test.
—
Reply to this email directly, view it on GitHub
<#24 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AZOPO6WZEICIYKAD36M2HXTYXI723AVCNFSM6AAAAABD6CULCGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSOBWGU2DIOBYGY>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
@talmo Can you give me write access to your fork? It will be easier than me creating a fork of your fork and us having to merge each fork in one by one... |
|
Thanks! I made a few changes - I moved the I also updated the readme and tests and made some other minor adjustments. @talmo I would like to merge this PR soon so that it will be easier for me to refactor the repo to use the latest ndx-template. Then you could start a new PR with any necessary adjustments for integration with SLEAP and any other changes you want to make (or you can make those changes here if you have time). Would that be all right? |
Yes that works for me @rly! |
Overview
Goal: Be able to store SLEAP package files (example) in
PoseTraining
objects so we can embed images used for training models together with the ground truth poses.Data model equivalences
sleap-io
ndx-pose
Labels
PoseTraining
LabeledFrame
TrainingFrame
Skeleton
Skeleton
Instance
SkeletonInstance
Video
ImageSeries
Labels.skeletons
Skeletons
Labels.labeled_frames
TrainingFrames
Labels.videos
SourceVideos
TODO
MVP
TrainingFrame.skeleton_instance
intoTrainingFrame.skeleton_instances
so it can hold multiple instances per frame (Add SkeletonInstances in TrainingFrame talmolab/ndx-pose#3)SkeletonInstance
creation inside ofTrainingFrame
loop in the README exampleImage
as 3-D array (Add tests for using Image in TrainingFrame.source_image talmolab/ndx-pose#2)TrainingFrame.source_video
optional so we don't need to keep the source video together with the NWB file (Add tests for using Image in TrainingFrame.source_image talmolab/ndx-pose#2)sleap_io.io.nwb
Nice to have
TrainingFrame
to point to source video as provenance but without triggering validation on DANDIImage
sleap-io
viadandi
API