If you have a previous installation, it is recommended that you remove all of the files including miniconda, donkeycar and micromamba folders. You should also remove miniconda, micromamba edits in the terminal startup scripts .zshrc and .bash_profile
launch terminal and start in your home directory
cd ~
Install Homebrew - see https://brew.sh
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
brew install git
Download and and install Micromamba
"${SHELL}" <(curl -L micro.mamba.pm/install.sh)
echo $'channels:\n -conda-forge\nalways_yes:false' >>.mambarc
The following command will activate micromamba. If micromamba command fails to work, close the terminal session and open a new one.
source ~/.zshrc
micromamba self-update
mkdir projects
cd projects
git clone https://github.com/autorope/donkeycar
cd donkeycar
git checkout main
micromamba env create -f install/envs/mac-arm64.yml
micromamba activate donkey
pip install -e .\[pc\]
Note that this installation will use the builtin M1/2 GPU to speedup tensorflow.
donkey createcar --path ~/mycar
mkdir ~/mycar/parts
date; donkey train --tub data/ --model models/2023-3arch64.h5 --type linear --framework tensorflow; date