Skip to content

Commit

Permalink
update: setup and dependency installation
Browse files Browse the repository at this point in the history
  • Loading branch information
typoverflow committed Mar 8, 2024
1 parent 1febe6f commit f0c8c33
Show file tree
Hide file tree
Showing 4 changed files with 27 additions and 2 deletions.
20 changes: 20 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,23 @@ WiseRL provides unofficial and banchmarked PyTorch implementations for Offline P
- BT Model + IQL/AWAC (BT-IQL/AWAC)
- Contrastive Prefereing Learning (CPL)
- Inverse Preference Learning + IQL/AWAC (IPL-IQL/AWAC)

# Installation
+ clone this repo and install the dependencies
```bash
git clone git@github.com:typoverflow/WiseRL
cd WiseRL && pip install -e .
```
+ install environment or dataset dependencies
+ for D4RL experiments:
```bash
git clone https://github.com/Farama-Foundation/d4rl.git
cd d4rl
pip install -e .
```
+ for metaworld experiments:
```bash
git clone git@github.com:Farama-Foundation/Metaworld
cd Metaworld && git checkout 04be337a
pip install -e .
```
Binary file modified assets/banner.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
7 changes: 6 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,13 @@ def get_install_requires():
return [
"gym>=0.23.1,<=0.24.1",
"tqdm",
"h5py",
"Cython==0.29.36"
"imageio",
"numpy",
"torch",
"pandas",
"tensorboard",
"wandb",
"UtilsRL"
]

Expand All @@ -44,6 +48,7 @@ def get_extras_require():
"tqdm",
"numpy",
"torch",
"torchvision"
"pandas",
"UtilsRL"
]
Expand Down
2 changes: 1 addition & 1 deletion wiserl/__init__.py
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@

__version__ = "0.0.1"
__version__ = "0.0.2"

0 comments on commit f0c8c33

Please sign in to comment.