- Navigate to the directory in which you wish to install the conda package manager, and download the relevant miniforge installation:
wget https://github.com/conda-forge/miniforge/releases/latest/download/Miniforge3-$(uname)-$(uname -m).sh -O $HOME/conda.sh
- Install miniforge:
bash $HOME/conda.sh -bf -p $HOME/conda/
- Create a conda environment variable and add it to your bash profile. Then source it into the shell:
CONDA_DIR=$HOME/conda/ source $CONDA_DIR/bin/activate
- [Optional] If you prefer to have the conda variable loaded upon opening your terminal, and your environment sourced, add the new conda environment variable to your ~/.bashrc file, along with the source command
echo "export 'CONDA_DIR=${CONDA_DIR}'" >> $HOME/.bashrc echo "source $CONDA_DIR/bin/activate" >> $HOME/.bashrc echo 'eval "$(starship init bash)"' # add this to your .bashrc
- Create a conda environment for the GATE framework:
conda create -n GATE-env python=3.8 -y conda activate GATE-env
- Install pytorch and torchvision:
conda install pytorch torchvision torchaudio cudatoolkit=11.3 -c pytorch-nightly -y conda install opencv -y conda install h5py -y conda install micro bat git-lfs starship tmux -y
- Customize tmux:
cd git clone https://github.com/gpakosz/.tmux.git ln -s -f .tmux/.tmux.conf cp .tmux/.tmux.conf.local .
antreasantoniou / awesomemldevenvironment Goto Github PK
View Code? Open in Web Editor NEWLicense: GNU General Public License v3.0