Skip to content

Commit

Permalink
Use conda to install imgaug
Browse files Browse the repository at this point in the history
  • Loading branch information
roomrys committed Jul 19, 2023
1 parent 5c0d532 commit 8b29794
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
2 changes: 1 addition & 1 deletion environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ dependencies:
# Packages SLEAP uses directly
- conda-forge::attrs >=21.2.0 #,<=21.4.0
- conda-forge::cattrs ==1.1.1
# - conda-forge::imgaug ==0.4.0 # Uses opencv-python, but sleap-anipose needs contrib
- conda-forge::imgaug ==0.4.0 # Uses opencv-python, but sleap-anipose needs contrib
- conda-forge::jsmin
- conda-forge::jsonpickle ==1.2
- conda-forge::networkx
Expand Down
4 changes: 0 additions & 4 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,6 @@ tensorflow-metal==0.5.0; sys_platform == 'darwin' and platform_machine == 'arm64
h5py<3.2; sys_platform == 'win32' # Newer versions result in error above, linking issue in Linux
pynwb>=2.3.3 # 2.0.0 required by ndx-pose, 2.3.3 fixes importlib-metadata incompatibility

# Pip and conda installing installs the wrong opencv package (need contrib for aniposelib)
# But opt to pip install s.t. we can pip uninstall
imgaug==0.4.0

# HACK(LM): Uninstall all opencv packages and install opencv-contrib-python
# Run after installing conda environment
#
Expand Down

0 comments on commit 8b29794

Please sign in to comment.