satnogs-wut/docs/README-pytorch.md

598 B

Install Anaconda

Install the Anaconda package manager for Python.

apt install gpg
curl https://repo.anaconda.com/pkgs/misc/gpgkeys/anaconda.asc | gpg --dearmor >  conda.gpg
install -o root -g root -m 644 conda.gpg /etc/apt/trusted.gpg.d/

Add Anaconda Debian Repository

echo "deb [arch=amd64] https://repo.anaconda.com/pkgs/misc/debrepo/conda stable main" > /etc/apt/sources.list.d/conda.list

apt update apt install conda

Anaconda Usage

source /opt/conda/etc/profile.d/conda.sh conda -V

Install PyTorch