Skip to content

Commit 06e96c2

Browse files
author
PTRRupprecht
committed
Move environment and docker files to the etc folder
Former-commit-id: eaf7694 [formerly eaf7694 [formerly eaf7694 [formerly 8ba7a77]]] Former-commit-id: fab87c1a6ab602cffd5a1ee17cf6c55af38e1d23 Former-commit-id: bf7a025 Former-commit-id: 44b95ed
1 parent 42820c3 commit 06e96c2

File tree

6 files changed

+3
-3
lines changed

6 files changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,14 +37,14 @@ We recommend the following installation procedure, but many other options are po
3737
6. Use your editor of choice (e.g., Spyder or PyCharm) to get started with the demo files: type ``spyder`` in the console after activating the environment.<br> If you want to use the Jupyter demo Notebooks, you have to install ipython via ``pip install ipython ipykernel`` and make it visible in the new environment via ``python -m ipykernel install --user --name Cascade``. Then start the Jupyter notebook in the browser from the activated environment via ``jupyter notebook``, and do not forget to select the environment in the menu (Kernel -> Change Kernel -> Cascade). If you encounter problems, the internet is your friend (for example,e [here](https://stackoverflow.com/questions/58068818/how-to-use-jupyter-notebooks-in-a-conda-environment))
3838
7. Now you're ready to process your data on your local computer!
3939

40-
If you have an existing Python environment, you can also try simply installing the missing dependencies. If you are interested in training models from scratch and speed up processing in general, you should use a dedicated GPU and install a GPU-based version of the deep learning framework (for the extensive analyses in the paper, we used a GeForce RTX 2080 Ti). This procedure can be challenging for beginners. You will find instructions for that via Google search, but a good starting point is the tutorial provided by [DeepLabCut](https://github.com/DeepLabCut/DeepLabCut/blob/master/docs/installation.md).
40+
If you have an existing Python environment, you can also try simply installing the missing dependencies. Optionally, a Docker file together with instructions can be found in the ``etc`` folder of the repository. If you are interested in training models from scratch and speed up processing in general, you should use a dedicated GPU and install a GPU-based version of the deep learning framework (for the extensive analyses in the paper, we used a GeForce RTX 2080 Ti). This procedure can be challenging for beginners. You will find instructions for that via Google search, but a good starting point is the tutorial provided by [DeepLabCut](https://github.com/DeepLabCut/DeepLabCut/blob/master/docs/installation.md).
4141

4242
#### With a local installation (macOS)
4343

4444
On macOS there is an issue with the Tensorflow build provided by Conda (see https://stackoverflow.com/questions/53014306/error-15-initializing-libiomp5-dylib-but-found-libiomp5-dylib-already-initial ). There are several workarounds, but it seems to be most reliable to install Tensorflow and Keras using `pip`. To do so, follow these steps:
45-
1. Create a new Anaconda environment with required base packages: `conda env create -f environment_mac.yml`
45+
1. Create a new Anaconda environment with required base packages: `conda env create -f etc/environment_mac.yml`
4646
2. Activate the environment: `conda activate Cascade`
47-
3. Install Tensorflow / Keras: `pip install -r requirements_mac.txt`
47+
3. Install Tensorflow / Keras: `pip install -r etc/requirements_mac.txt`
4848
4. If you want to use the Jupyter demo Notebooks, make the new environment visible in Jupyter: `ipython kernel install --user --name=Cascade`
4949

5050
This recipe has been tested on macOS 10.15 (Catalina).
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)