Begin by cloning the repository to your local machine.
Navigate to the project directory and install the package dependencies listed in the requirements.txt file. This can typically be done using the following command:
pip install -r requirements.txtSince the Computer Platform is 11.7, you need to install the specific version of libtorch. Execute the following commands:
wget https://download.pytorch.org/libtorch/cu117/libtorch-shared-with-deps-2.0.1%2Bcu117.zip
unzip libtorch-shared-with-deps-2.0.1%2Bcu117.zipOnce the download and extraction are finished, you need to set $LIBTORCH_PATH environment variable with the actual path of your own libtorch installation:
export LIBTORCH_PATH=/path/to/your/libtorchThis step is vital as it allows the project to access and utilize the libtorch library accurately.
Navigate to the root folder of the project and perform the following operations:
git submodule update --initNavigate to the root folder of the project and perform the following operations:
pip install -e .