Installation¶
Transformer-PhysX is currently a pure Python 3 module, meaning that installation should be universal across all platforms. Depending on your platform, manual installation of PyTorch may be beneficial to ensure cuda version is correct.
Install from Source¶
git clone https://github.com/zabaras/transformer-physx.git
cd transformer-physx/
pip install -e .
If you want to change the module’s source code or want the latest pushed commit.
Dependencies¶
For the most up-to-date list of dependencies, please see the setup.py. The general list is:
- torch >= 1.7.0
- filelock >= 3.0.0
- h5py >= 2.9.0
- numpy >= 1.15.0 (should already be installed with torch)
- matplotlib >= 3.0.0 (for visualizations)
Verify Installation¶
python -c 'import trphysx; print(trphysx.__version__)'