0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

Note : unity ml-agents

Last updated at Posted at 2018-07-13

Note (13/Jul/2018)

windows10
unity 2018.1.0f2
python 3.6.5
conda 4.5.8

  1. download zip - https://github.com/Unity-Technologies/ml-agents
    image.png

  2. extract as my-ml-agents

  3. run unity 2018.1.0f2

  4. open project
    image.png

  5. select the folder my-ml-agents\unity-environment

  6. open scene 3DBall
    image.png

  7. check it works by play
    image.png

  8. select Ball3DBrain
    image.png

  9. change Brain Type External
    image.png

  10. check all balls falls by play + see the error on Console
    image.png
    image.png

  11. run Anaconda prompt
    image.png

  12. update conda in case by ``
    image.png

  13. conda create -n my-ml-agents python=3.6.5
    image.png

  14. conda activate my-ml-agents
    image.png
    image.png

  15. change directory to python folder
    image.png

  16. launch jupyter notebook
    image.png

  17. open Basics.ipynb then repeat run unless Error occurred
    image.png
    image.png

  18. [trouble shoot 1] ModuleNotFoundError: No module named 'google'
    (cause & solution) forgot image.png

  19. [trouble shoot 2] UnityEnvironmentException: Couldn't launch the 3DBall environment. Provided filename does not match any environments.
    (cause 1) no build yet

  20. (solution step1)Build 3DBall (need to create a folder 3DBall manually)
    image.png

image.png

21.(solutin step2) path should match the folder structure (3DBall/3DBall.exe)
image.png

22.(solution step3) build folder should be under python
image.png

23.see Ball3DAcademy started successfully
image.png

  1. continue Run to see the fast random play then game close at the end of the notebook
    image.png

image.png

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?