diff --git a/docs/recipes/installTips.md b/docs/recipes/installTips.md index 8db8c3bf73..cf923f2cf1 100644 --- a/docs/recipes/installTips.md +++ b/docs/recipes/installTips.md @@ -312,7 +312,6 @@ Activate! `conda activate DEEPLABCUT` and then run: `conda install -c conda-forg Then run `python -m deeplabcut` which launches the DLC GUI. - ## DeepLabCut MacOS M1 and M2 chip installation environment instructions: This only assumes you have anaconda installed. @@ -321,48 +320,26 @@ Use the `DEEPLABCUT_M1.yaml` conda file if you have an Macbok with an M1 or M2 c (1) git clone the deeplabcut cut repo: -``` +```bash git clone https://github.com/DeepLabCut/DeepLabCut.git ``` (2) in the program terminal run: `cd DeepLabCut/conda-environments` -(3) Click [here](https://drive.google.com/file/d/17pSwfoNuyf3YR8vCaVggHeI-pMQ3xL7l/view?usp=sharing) to download the Rosetta wheel for TensorFlow. We assume this goes into your Downloads folder. This downloads TF 2.4.1; https://drive.google.com/file/d/17pSwfoNuyf3YR8vCaVggHeI-pMQ3xL7l/view?usp=sharing -(for different versions see here: https://github.com/tensorflow/tensorflow/issues/46044). +(3) Then, run: -(4) Then, run: - -``` +```bash conda env create -f DEEPLABCUT_M1.yaml ``` -(5) Please activate the environment and set osx-64; i.e., then, run: - -``` -conda activate DEEPLABCUT_M1 -conda env config vars set CONDA_SUBDIR=osx-64 -``` -Now, as the print statement says, please deactivate and re-activate to set the change: +(4) Finally, activate your environment and to launch DLC with the GUI -``` -conda deactivate +```bash conda activate DEEPLABCUT_M1 -conda env update -f DEEPLABCUT_M1.yaml +python -m deeplabcut ``` -(5) Next, run: - - ``` - pip install ~/Downloads/tensorflow-2.4.1-py3-none-any.whl --no-dependencies --force-reinstall - ``` - (again, assumes this file in your downloads folder) - - -(6) Next, launch DLC with `pythonw -m deeplabcut` (or if DLC version 2.3+, please use `python -m deeplabcut`) - -GUI will open! - -Note: Based on issues #1380 and #2011, thanks! +The GUI will open. Of course, you can also run DeepLabCut in headless mode. ## How to confirm that your GPU is being used by DeepLabCut