forked from LorenFrankLab/spyglass
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add organization tables for keypoint pose data * Add model training tables * apply fit moseq model to data * add ability to initialize model training from pre-existing model * make model names unique * add initial tutorial * add moseq pipeline diagram * get rid of PoseOutput and fetch pose data from PositionOutput * remove PoseOutput and corresponding references * allow passing of null entries from DLCPoseEstimation to PositionOutput for Pose-dependent analysis * Apply suggestions from code review Co-authored-by: Chris Broz <[email protected]> * lint * implement changes from review * rename fetch_video_name to fetch_video_path * cleanup outdated usages of PoseOutput * Cleanup errors from removal of PoseOutput * add get_position_interval_epoch * Add method to get training results pdf * Add description and example of hyperparameter sweep * move moseq dir definition to spyglass config * move moseq config function to method * Update changelog * update pipeline diagram * Apply suggestions from code review Co-authored-by: Chris Broz <[email protected]> * move moseq into v1 folder * add docstrings * make video symlink more robust * cleanup setup_project call * cleanup config method * Implement suggestions from code review * cleanup readability of DLCPosV1 make conditions * allow key argument when fetching video path * add moseq dependencies * Add moseq install instructions to tutorials * accept key in all get video path functions * fix spelling * fix spelling * make model project dir unique * add default empty restriction * add moseq to omitted tests * tutorial error cleanup * fix for codespell update * typo fix * remove jax version pin * add docstrings * make restriction in fetch_pose_dataframe compatible with export * add moseq dirs to config example * Update src/spyglass/position/v1/position_dlc_pose_estimation.py Co-authored-by: Chris Broz <[email protected]> * cleanup long settings if statements * change to and register the behavior schema prefix * Update src/spyglass/position/position_merge.py Co-authored-by: Chris Broz <[email protected]> * lint --------- Co-authored-by: Samuel Bray <[email protected]> Co-authored-by: Samuel Bray <[email protected]> Co-authored-by: Chris Broz <[email protected]>
- Loading branch information
1 parent
4f39dfa
commit 2b71fb3
Showing
26 changed files
with
4,245 additions
and
57 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
# 1. Install a conda distribution. | ||
# https://mamba.readthedocs.io/en/latest/installation/mamba-installation.html | ||
# 2. Run: `mamba env create -f environment.yml` | ||
# 3. Activate: `conda activate spyglass` | ||
# | ||
# (lines intentionally left blank) | ||
# | ||
# | ||
name: spyglass-moseq-cpu | ||
channels: | ||
- conda-forge | ||
# - defaults # deprecated | ||
- franklab | ||
- edeno | ||
# - pytorch # dlc-only | ||
# - anaconda # dlc-only, for cudatoolkit | ||
dependencies: | ||
- bottleneck | ||
# - cudatoolkit=11.3 # dlc-only | ||
# - ffmpeg # dlc-only | ||
- ipympl | ||
- jupyterlab>=3.* | ||
# - libgcc # dlc-only | ||
- matplotlib | ||
- non_local_detector | ||
- numpy | ||
- pip | ||
- position_tools | ||
- pybind11 # req by mountainsort4 -> isosplit5 | ||
- pydotplus | ||
- pyfftw<=0.12.0 # ghostipy req. install from conda-forge for Mac ARM | ||
- python>=3.9,<3.13 | ||
- pytorch<1.12.0 | ||
- ripple_detection | ||
- seaborn | ||
# - torchaudio # dlc-only | ||
# - torchvision # dlc-only | ||
- track_linearization>=2.3 | ||
- pip: | ||
- ghostipy # for common_filter | ||
- mountainsort4 | ||
- .[moseq-cpu] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
# 1. Install a conda distribution. | ||
# https://mamba.readthedocs.io/en/latest/installation/mamba-installation.html | ||
# 2. Run: `mamba env create -f environment.yml` | ||
# 3. Activate: `conda activate spyglass` | ||
# | ||
# (lines intentionally left blank) | ||
# | ||
# | ||
name: spyglass-moseq-gpu | ||
channels: | ||
- conda-forge | ||
# - defaults # deprecated | ||
- franklab | ||
- edeno | ||
# - pytorch # dlc-only | ||
# - anaconda # dlc-only, for cudatoolkit | ||
dependencies: | ||
- bottleneck | ||
# - cudatoolkit=11.3 # dlc-only | ||
# - ffmpeg # dlc-only | ||
- ipympl | ||
- jupyterlab>=3.* | ||
# - libgcc # dlc-only | ||
- matplotlib | ||
- non_local_detector | ||
- numpy | ||
- pip | ||
- position_tools | ||
- pybind11 # req by mountainsort4 -> isosplit5 | ||
- pydotplus | ||
- pyfftw<=0.12.0 # ghostipy req. install from conda-forge for Mac ARM | ||
- python>=3.9,<3.13 | ||
- pytorch<1.12.0 | ||
- ripple_detection | ||
- seaborn | ||
# - torchaudio # dlc-only | ||
# - torchvision # dlc-only | ||
- track_linearization>=2.3 | ||
- pip: | ||
- ghostipy # for common_filter | ||
- mountainsort4 | ||
- .[moseq-gpu] |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.