-
Notifications
You must be signed in to change notification settings - Fork 0
First draft of classifier generation pipeline #89
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
First draft of classifier generation pipeline #89
Conversation
…s-classifier-artifact-generation
…s-classifier-artifact-generation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we want configs outside the configs folder?
| "stitch_value": 5, | ||
| "filter_value": 5, | ||
| ], | ||
| // "Leg_splaying": [ // Currently can't be exported successfully |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
JABS v0.34 + should have this fixed. I was able to build that artifact for #75. This classifier should be okay to uncomment and include.
| script: | ||
| def project_path = "${params.classifier_project_folders}/${project_folder_name}" | ||
| """ | ||
| jabs-init "${project_path}" ${window_sizes} -p 16 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does this write into the frozen project folder? This may cause conflicts in 2 situations:
- no write permission (maybe we want it this way, because it'll fail later when trying to publish results)
- 2 builds running at the same time will compete writing feature files to the same location
| "filter_value": 3*30, | ||
| 'grooming': [ | ||
| classifier_path: '/projects/kumar-lab/data/jabs/classifiers/v0.37.0/grooming/12199145d31213f79e23669d211cfa2fd33cedb9f11197b44f90a4b71297b6d2.pickle', | ||
| stitch_value: 300, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
😢 I like the multiplication to see 10s and 3s more clearly.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These look like patches for something not working. These should have been in a different PR to fix the main modules.
This PR adds a new workflow that automates the generation of classifier artifacts for the main workflow.
This will allow us to easily regenerate classifiers existing for new versions of JABs, as well as add new classifiers by placing their project directory into the
/projects/kumar-lab/projectsdirectory and updating theclassifier_source.configfile.There are still some tasks left to-do before this PR is ready to merge:
jabs-initstep to allow the classifiers to be generated in paralleljabs-initstep/projects/kumar-lab/data/and/projects/kumar-lab/projectsdirectories for use with this workflowReview of the current state would be appreciated given acknowledgement of the above.