瀏覽代碼

Renamed pytorch-rl to pytorch_rl for Python importability

Maxime Chevalier-Boisvert 7 年之前
父節點
當前提交
21c0eaa8c7

+ 6 - 6
README.md

@@ -28,10 +28,10 @@ pip3 install -e .
 ```
 
 Optionally, if you wish use the reinforcement learning code included
-under [/pytorch-rl](/pytorch-rl), you can install its dependencies as follows:
+under [/pytorch_rl](/pytorch_rl), you can install its dependencies as follows:
 
 ```
-cd pytorch-rl
+cd pytorch_rl
 
 # PyTorch
 conda install pytorch torchvision -c soumith
@@ -49,7 +49,7 @@ cd ..
 pip3 install -r requirements.txt
 ```
 
-Note: the pytorch-rl code is a custom fork of [this repository](https://github.com/ikostrikov/pytorch-a2c-ppo-acktr),
+Note: the pytorch_rl code is a custom fork of [this repository](https://github.com/ikostrikov/pytorch-a2c-ppo-acktr),
 which was modified to work with this environment.
 
 ## Basic Usage
@@ -66,17 +66,17 @@ The environment being run can be selected with the `--env-name` option, eg:
 ./standalone.py --env-name MiniGrid-Empty-8x8-v0
 ```
 
-Basic reinforcement learning code is provided in the `pytorch-rl` subdirectory.
+Basic reinforcement learning code is provided in the `pytorch_rl` subdirectory.
 You can perform training using the ACKTR algorithm with:
 
 ```
-python3 pytorch-rl/main.py --env-name MiniGrid-Empty-6x6-v0 --no-vis --num-processes 32 --algo acktr
+python3 pytorch_rl/main.py --env-name MiniGrid-Empty-6x6-v0 --no-vis --num-processes 32 --algo acktr
 ```
 
 You can view the result of training using the `enjoy.py` script:
 
 ```
-python3 pytorch-rl/enjoy.py --env-name MiniGrid-Empty-6x6-v0 --load-dir ./trained_models/acktr
+python3 pytorch_rl/enjoy.py --env-name MiniGrid-Empty-6x6-v0 --load-dir ./trained_models/acktr
 ```
 
 ## Design

pytorch-rl/LICENSE → pytorch_rl/LICENSE


pytorch-rl/README.md → pytorch_rl/README.md


pytorch-rl/arguments.py → pytorch_rl/arguments.py


pytorch-rl/distributions.py → pytorch_rl/distributions.py


pytorch-rl/enjoy.py → pytorch_rl/enjoy.py


pytorch-rl/envs.py → pytorch_rl/envs.py


pytorch-rl/imgs/a2c_beamrider.png → pytorch_rl/imgs/a2c_beamrider.png


pytorch-rl/imgs/a2c_breakout.png → pytorch_rl/imgs/a2c_breakout.png


pytorch-rl/imgs/a2c_qbert.png → pytorch_rl/imgs/a2c_qbert.png


pytorch-rl/imgs/a2c_seaquest.png → pytorch_rl/imgs/a2c_seaquest.png


pytorch-rl/imgs/acktr_beamrider.png → pytorch_rl/imgs/acktr_beamrider.png


pytorch-rl/imgs/acktr_breakout.png → pytorch_rl/imgs/acktr_breakout.png


pytorch-rl/imgs/acktr_qbert.png → pytorch_rl/imgs/acktr_qbert.png


pytorch-rl/imgs/acktr_seaquest.png → pytorch_rl/imgs/acktr_seaquest.png


pytorch-rl/imgs/ppo_halfcheetah.png → pytorch_rl/imgs/ppo_halfcheetah.png


pytorch-rl/imgs/ppo_hopper.png → pytorch_rl/imgs/ppo_hopper.png


pytorch-rl/imgs/ppo_reacher.png → pytorch_rl/imgs/ppo_reacher.png


pytorch-rl/imgs/ppo_walker.png → pytorch_rl/imgs/ppo_walker.png


pytorch-rl/kfac.py → pytorch_rl/kfac.py


pytorch-rl/main.py → pytorch_rl/main.py


pytorch-rl/model.py → pytorch_rl/model.py


pytorch-rl/requirements.txt → pytorch_rl/requirements.txt


pytorch-rl/storage.py → pytorch_rl/storage.py


pytorch-rl/utils.py → pytorch_rl/utils.py


pytorch-rl/visualize.py → pytorch_rl/visualize.py