File size: 641 Bytes
36c95ba |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 |
Installation
============
To install *Kornia*, you can do it in two different ways: using the provided `PyPi
<https://pypi.org/project/kornia/>`_ wheels or directly from source.
.. note::
*Kornia only has as a dependency Pytorch.*
1. From pip:
.. code:: bash
pip install kornia
pip install kornia[x] # to get the training API !
2. From source:
.. code:: bash
python setup.py install
3. From source using pip:
.. code:: bash
pip install git+https://github.com/kornia/kornia
Once you succeeded installing *Kornia* check you can import:
.. code:: bash
python -c "import kornia; print(kornia.__version__)"
|