Installation#
Installation can be done through PyPI or the GitHub repository. PyPI installation should be chosen if you want to use the release version. If you prefer to use the latest version from the GitHub repository, then installation from the source is recommended.
Installation via pip
VisualTorch can be installed using the following commands:
pip install visualtorch==1.1.0
pip install git+https://github.com/willyfh/visualtorch
Note: 1.0+ is a major release with breaking API changes, but with significantly better
features and algorithms - upgrading is recommended. For the old API, use 0.2.5 or older
(pip install visualtorch==0.2.5), with docs at
readthedocs.io/en/v0.2.5.
The following dependencies will also be installed if you run the above command:
pillow>=10.0.0
numpy>=1.18.1
aggdraw>=1.3.11
torch>=2.0.0