Skip to content

Commit

Permalink
revert to non-stacked GUI
Browse files Browse the repository at this point in the history
  • Loading branch information
getzze committed Feb 1, 2023
1 parent 7181c65 commit 41d9be7
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 41 deletions.
74 changes: 34 additions & 40 deletions sleap/config/pipeline_form.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -259,28 +259,9 @@ inference:
prior frames.'
- name: tracking.similarity
label: Similarity Method
type: stacked
type: list
default: instance
options: "instance,centroid,iou,object keypoint"
instance:
centroid:
iou:
object keypoint:
- type: text
text: '<b>Object keypoint similarity options</b>:<br />'
- name: tracking.oks_errors
label: Keypoints errors in pixels
help: 'Standard error in pixels of the distance for each keypoint.
If the list is empty, defaults to 1. If singleton list, each keypoint has
the same error. Otherwise, the length should be the same as the number of
keypoints in the skeleton.'
type: string
default: 1
- name: tracking.oks_score_weighting
label: Use prediction score for weighting
help: 'Use prediction scores to weight the similarity of each keypoint'
type: bool
default: false
- name: tracking.match
label: Matching Method
type: list
Expand Down Expand Up @@ -319,6 +300,22 @@ inference:
label: Nodes to use for Tracking
type: string
default: 0,1,2
- type: text
text: '<b>Object keypoint similarity options</b>:<br />
Only used if this similarity method is selected.'
- name: tracking.oks_errors
label: Keypoints errors in pixels
help: 'Standard error in pixels of the distance for each keypoint.
If the list is empty, defaults to 1. If singleton list, each keypoint has
the same error. Otherwise, the length should be the same as the number of
keypoints in the skeleton.'
type: string
default:
- name: tracking.oks_score_weighting
label: Use prediction score for weighting
help: 'Use prediction scores to weight the similarity of each keypoint'
type: bool
default: false
- type: text
text: '<b>Post-tracker data cleaning</b>:'
- name: tracking.post_connect_single_breaks
Expand Down Expand Up @@ -350,28 +347,9 @@ inference:
frames to instances on subsequent frames.'
- name: tracking.similarity
label: Similarity Method
type: stacked
type: list
default: instance
options: "instance,centroid,iou,object keypoint"
instance:
centroid:
iou:
object keypoint:
- type: text
text: '<b>Object keypoint similarity options</b>:<br />'
- name: tracking.oks_errors
label: Keypoints errors in pixels
help: 'Standard error in pixels of the distance for each keypoint.
If the list is empty, defaults to 1. If singleton list, each keypoint has
the same error. Otherwise, the length should be the same as the number of
keypoints in the skeleton.'
type: string
default: 1
- name: tracking.oks_score_weighting
label: Use prediction score for weighting
help: 'Use prediction scores to weight the similarity of each keypoint'
type: bool
default: false
- name: tracking.match
label: Matching Method
type: list
Expand Down Expand Up @@ -406,6 +384,22 @@ inference:
label: Nodes to use for Tracking
type: string
default: 0,1,2
- type: text
text: '<b>Object keypoint similarity options</b>:<br />
Only used if this similarity method is selected.'
- name: tracking.oks_errors
label: Keypoints errors in pixels
help: 'Standard error in pixels of the distance for each keypoint.
If the list is empty, defaults to 1. If singleton list, each keypoint has
the same error. Otherwise, the length should be the same as the number of
keypoints in the skeleton.'
type: string
default:
- name: tracking.oks_score_weighting
label: Use prediction score for weighting
help: 'Use prediction scores to weight the similarity of each keypoint'
type: bool
default: false
- type: text
text: '<b>Post-tracker data cleaning</b>:'
- name: tracking.post_connect_single_breaks
Expand Down
1 change: 0 additions & 1 deletion sleap/gui/learning/dialog.py
Original file line number Diff line number Diff line change
Expand Up @@ -770,7 +770,6 @@ def __init__(
self, mode: Text, skeleton: Optional["Skeleton"] = None, *args, **kwargs
):
super(TrainingPipelineWidget, self).__init__(*args, **kwargs)
self.setMinimumHeight(720) # Hard-code minimum size due to layout problems

self.form_widget = YamlFormWidget.from_name(
"pipeline_form", which_form=mode, title="Training Pipeline"
Expand Down

0 comments on commit 41d9be7

Please sign in to comment.