Installation¶
The latest stable version can be installed with
pip install pystiche
The latest potentially unstable version can be installed with
pip install git+https://github.com/pmeier/pystiche@master
Installation of PyTorch¶
pystiche
is built upon PyTorch and depends on
torch
and torchvision
. By default, a pip install
of pystiche
tries to
install the PyTorch distributions precompiled for the latest CUDA release. If you use
another version or don’t have a CUDA-capable GPU, we encourage you to try
light-the-torch for a convenient
installation:
pip install light-the-torch
ltt install pystiche
Otherwise, please follow the
official installation instructions of PyTorch for
your setup before you install pystiche
.
Note
While pystiche
is designed to be fully functional without a GPU, most tasks
require significantly more time to perform on a CPU.