Quickstart
Warning
Please ensure that the prerequisites are in place before continuing with the installation.
Setup
Create a new conda environment with:
conda create -n magrittetorch
and activate it with:
conda activate magrittetorch
This environment has to be active whenever Magrittetorch is installed or used! Then install the latest version of PyTorch using pip by following the instructions on the official website. Afterwards, proceed by installing the latest version of Magrittetorch (including its python dependencies) with pip:
pip install git+https://github.com/Magritte-code/Magritte-torch.git
Clone (optional)
If you want to make changes to the source code, you can instead clone the repository using:
git clone https://github.com/Magritte-code/Magritte-torch.git
Afterwards, go to the root directory of the cloned repository and install the package in editable mode:
pip install -e .
Run
If all the above worked, go download and experiment with some of our examples!