Installation#

Installing the latest stable version#

To install the latest stable version of torchtree, run the following command:

pip install torchtree

Building torchtree from source#

If you’d like to build torchtree from source, follow these steps:

git clone https://github.com/4ment/torchtree
pip install torchtree/

Programs Installed#

By following either installation method, the following two programs will be installed:

  • torchtree-cli: A command-line interface for generating JSON configuration files for your analyses.

  • torchtree: The main program that runs inference algorithms using the provided JSON configuration file.

To verify the installation or explore available options, you can use the following commands:

torchtree --help
torchtree-cli --help

These commands will display usage information and available options for both tools.