Skip to content

Commit

Permalink
Merge pull request #230 from murthylab/cleanup
Browse files Browse the repository at this point in the history
Major gui refactoring
  • Loading branch information
ntabris committed Oct 29, 2019
2 parents 9d5511c + 5f7708c commit f1292e5
Show file tree
Hide file tree
Showing 25 changed files with 3,412 additions and 2,278 deletions.
4 changes: 4 additions & 0 deletions .conda/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ requirements:
- scikit-learn
- h5py
- pandas
- Pillow
- Shapely
- psutil
- pyzmq
Expand All @@ -46,10 +47,13 @@ requirements:
- scikit-learn
- h5py
- pandas
- Pillow
- Shapely
- psutil
- pyzmq
- pyyaml
- python-rapidjson
- pip

run_constrained:
- pyqt ==9999999999
4 changes: 3 additions & 1 deletion dev_requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,6 @@ pytest-cov
ipython
sphinx
sphinx_rtd_theme
coveralls
coveralls
black
pre-commit
1 change: 1 addition & 0 deletions environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ dependencies:
- scikit-learn
- h5py
- pandas
- Pillow
- Shapely
- psutil
- pyzmq
Expand Down
66 changes: 44 additions & 22 deletions sleap/config/active.yaml → sleap/config/inference_forms.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -110,34 +110,56 @@ expert:

learning:

- name: min_crop_size
label: Minimum crop size
type: list
dtype: int
options: 0,64,128,256,512
default: 0

- name: negative_samples
label: Negative samples
type: int
default: 20
range: 0,1000
- name: _multi_instance_mode
label: Multi-Instance Mode
type: stacked
default: multi-instance
options: multi-instance,single-instance

multi-instance:
- name: sigma_confmaps
label: Sigma for confmaps
type: double
default: 5.0

- name: sigma_pafs
label: Sigma for pafs
type: double
default: 5.0

single-instance:
- name: sigma_confmaps
label: Sigma for confmaps
type: double
default: 5.0

- name: _region_proposal_mode
label: Region Proposal Mode
type: stacked
default: crop
options: crop,full_frame

crop:
- name: min_crop_size
label: Minimum crop size
type: list
dtype: int
options: 0,64,128,256,512
default: 0

- name: negative_samples
label: Negative samples
type: int
default: 20
range: 0,1000

full_frame:

- name: batch_size
label: Batch Size
type: int
default: 2

- name: sigma_confmaps
label: Sigma for confmaps
type: double
default: 5.0

- name: sigma_pafs
label: Sigma for pafs
type: double
default: 5.0

- name: _predict_frames
label: Predict On
type: list
Expand Down
6 changes: 3 additions & 3 deletions sleap/config/suggestions.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ main:
- name: pca_components
label: Number of PCA components
type: int
default: 50
default: 5
hog:
- name: clusters
label: Number of clusters
Expand All @@ -53,7 +53,7 @@ main:
- name: pca_components
label: Number of PCA components
type: int
default: 50
default: 5
brisk:
- name: clusters
label: Number of clusters
Expand All @@ -71,7 +71,7 @@ main:
- name: pca_components
label: Number of PCA components
type: int
default: 50
default: 5
proofreading:
- name: score_limit
label: Low score (lt)
Expand Down
Loading

0 comments on commit f1292e5

Please sign in to comment.