Installation
The basic installation of torchdriveenv uses an OpenCV renderer, which is slower but easy to install. PyTorch3D renderer can be faster, but it requires specific versions of CUDA and PyTorch, so it is best installed in Docker.
Opencv rendering
To install the “torchdriveenv” with opencv rendering:
pip install torchdriveenv
To run examples:
Set the $IAI_API_KEY and $WANDB_API_KEY
pip install torchdriveenv[baselines]
cd examples
python rl_training.py
Pytorch3d rendering
To install the “torchdriveenv” with Pytorch3d rendering:
docker build --target torchdriveenv-first-release -t torchdriveenv-first-release:latest .
To run examples:
Set the $IAI_API_KEY and $WANDB_API_KEY
cd examples
docker compose up rl-training
Metadata
Release files for torchdriveenv 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| torchdriveenv-0.1.1.tar.gz | 5.7 MB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| torchdriveenv-0.1.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 11.5 MB
Release files / torchdriveenv-0.1.1.tar.gz
| Download URL | torchdriveenv-0.1.1.tar.gz |
|---|---|
| Size | 5.7 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ea00be0e073e479320a5ecaea4908851ab1686942c7d7a04ff0c6c00b5c19058
|
|
BLAKE2b-256 checksum How to use checksums |
181430a006da240b3d7c1df1f349de2665d1d0ae39534ada7979dcc4a9430911
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.12.3
|
Release files / torchdriveenv-0.1.1-py3-none-any.whl
| Download URL | torchdriveenv-0.1.1-py3-none-any.whl |
|---|---|
| Size | 5.8 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
19219d8ee5db11fa2a72630c0cf1ba439da4d14e76f0e6308566126846e21d8f
|
|
BLAKE2b-256 checksum How to use checksums |
118c1c00f43c2e689704a85b1099859ef7b46c27c4b5a1a5d631f2c3c9992215
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.12.3
|