-
Notifications
You must be signed in to change notification settings - Fork 76
Installing Unity ml agents on Windows
pz1004 edited this page Aug 17, 2018
·
3 revisions
OS: Windows 10 / x86_64
python version: 3.6
pytorch : 0.4.0
cuda : 9.0
cudnn : 7.0.5 for cuda 9.0
- Links to the official homepage
- Execute
Anaconda Prompt
- replace pg_travel with your favor name.
conda create -y -n pg_travel python=3.6
conda activate pg_travel
git clone https://github.com/Unity-Technologies/ml-agents
cd ml-agents/python
pip install .
- Link to the official homepage for cuda 9.0
- Link to the official homepage for cudnn 7.0.5
- You need Nvidia account for downloading cudnn
- https://developer.nvidia.com/rdp/cudnn-archive
pip install http://download.pytorch.org/whl/cu90/torch-0.4.0-cp36-cp36m-win_amd64.whl
pip install torchvision
pip install http://download.pytorch.org/whl/cpu/torch-0.4.0-cp36-cp36m-win_amd64.whl
pip install torchvision
Refer installation manual for other platforms from the pytorch official homepage
Note that the prerequisites other than tensorboardX are installed when installing Unity ml-agents
git clone https://github.com/reinforcement-learning-kr/pg_travel
pip install tensorboardX