Skip to content

Latest commit

 

History

History
26 lines (20 loc) · 602 Bytes

INSTALL.md

File metadata and controls

26 lines (20 loc) · 602 Bytes

Installation

The installation of MTR is super easy.

If you would like to install it to an existing PyTorch environment, just jump to step 3.

Step 1: Create an python environment for MTR

conda create --name mtr python=3.8 -y
conda activate mtr 

Step 2: Install the required packages

pip install -r requirements.txt

Step 3: Clone the codebase, and compile this codebase:

# Clone MTR codebase
git clone https://github.com/sshaoshuai/MTR.git

# Compile the customized CUDA codes in MTR codebase
python setup.py develop

Then you are all set.