Skip to content

Commit

Permalink
Merge pull request #9 from inverted-ai/first-release
Browse files Browse the repository at this point in the history
First release
  • Loading branch information
adscib authored Apr 26, 2024
2 parents c0487f2 + 3bf732c commit 4a303bd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 10 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,4 @@ RUN pip install jupyter notebook
RUN pip install omegaconf scipy shapely
RUN pip install invertedai
RUN pip install torchdrivesim
RUN pip install "torchdriveenv[baselines] @ git+https://github.com/inverted-ai/torchdriveenv.git"
RUN pip install torchdriveenv[baselines]
11 changes: 2 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,34 +6,27 @@ The basic installation of torchdriveenv uses an OpenCV renderer, which is slower

To install the “torchdriveenv” with opencv rendering:
```
python3 -m venv $PHTHON_VIRTUAL_ENV_PATH
source .venv/bin/activate
pip install "torchdriveenv[baselines] @ git+https://github.com/inverted-ai/torchdriveenv.git"
pip install torchdriveenv
```

To run examples:
Set the `$IAI_API_KEY` and `$WANDB_API_KEY`
```
git clone git@github.com:inverted-ai/torchdriveenv.git
cd torchdriveenv
pip install torchdriveenv[baselines]
cd examples
source $PHTHON_VIRTUAL_ENV_PATH/bin/activate
python rl_training.py
```

## Pytorch3d rendering

To install the “torchdriveenv” with Pytorch3d rendering:
```
git clone git@github.com:inverted-ai/torchdriveenv.git
cd torchdriveenv
docker build --target torchdriveenv-first-release -t torchdriveenv-first-release:latest .
```

To run examples:
Set the `$IAI_API_KEY` and `$WANDB_API_KEY`
```
cd torchdriveenv
cd examples
docker compose up rl-training
```

0 comments on commit 4a303bd

Please sign in to comment.