Solutions of assignments of Deep Reinforcement Learning course presented by the University of California, Berkeley (CS285) in Pytorch framework
Pytorch Version of homework assignments of Deep Reinforcement Learning Course
Presented by Dr. Sergey Levin at University of California, Berkeley
Report Bug
In this project, we aim to create a Pytorch version of CS285 course whose Tensorflow 1 version is already available at here.
Currently, this project is under development, and the same libraries that have been employed in the Tensorflow version of these assignments plus Pytorch are required for running the assignments of this project. However, we are eager to use the versions of these libraries that are presented in the prerequisites section for the future release of this project.
The libraries that we want to use in the future are as follows.
The instructions for execution of all of these assignments are given in the Readme documents that are located in each of the homework directories.
See the open issues for a list of known issues.
Unfortunately, the current version of this repository is not compatible with the latest versions of libraries, such as Tensorflow and Mojocu-py. As a result, installing the proper versions of these libraries, which can enable you to contribute to this repo, could be a hard challenge. However, since I have been faced with this problem before, I designed a certain number of steps that you can take to install the right versions of these libraries.
conda create -n cs285_env python=3.5 matplotlib ipython pytorch=1.5.0
source activate cs285_env
mkdir ~/.mujoco/
cd <location_of_your_license_key>
cp mjkey.txt ~/.mujoco/
cd <this_repo>/mujoco
cp -r mjpro150 ~/.mujoco/
export LD_LIBRARY_PATH=~/.mujoco/mjpro150/bin/
tar -xzf mujoco-py-1.50.1.1.tar.gz
cd mujoco-py-1.50.1.1
python setup.py install
pip install --user --requirement contribution_requirements.txt
cd <path_to_hw>
pip install -e .
Distributed under the MIT License. See LICENSE
file for more information.
Erfan Miahi - @erfan_mhi - [email protected]
Project Link: https://github.com/erfanMhi/Deep-Reinforcement-Learning-CS285-Pytorch