Installation¶
To install Kornia, you can do it in two different ways: using the provided PyPi wheels or directly from source.
Note
Kornia only has as a dependency Pytorch.
From pip:
pip install kornia
pip install kornia[x] # to get the training API !
From source:
python setup.py install
From source using pip:
pip install git+https://github.com/kornia/kornia
Once you succeeded installing Kornia check you can import:
python -c "import kornia; print(kornia.__version__)"