2
1

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.

Unity mlagents v5 環境構築 for YAD2U

Last updated at Posted at 2019-02-13

※あくまでもメモ程度です・・・・

ここからAnacondaをダウンロード
https://www.anaconda.com/distribution/

Anaconda.PNG

python 3.7のVersionと書いてあるが,3.5 ~3.7まで対応しているので,気にせずDownload
Mac版も同様

任意のdirectoryにインストールして開くとこんな感じになっているはず.
navogator.PNG

このEnvironmentを開いてcreateを開くと
create.PNG

こんな感じになっているので,pythonはver3.6 Nameは適当にmlagentsv5などとして作成

pip install mlagents==0.5.0
ですべてインストールされる.

Tesnorflowsharpのリンク
https://github.com/Unity-Technologies/ml-agents/blob/master/docs/Using-TensorFlow-Sharp-in-Unity.md
Unity TensorFlow Plugin (Download here) のDownloadからtensorflow sharp packageをとってくる

player settingのConfigから以下のように設定

tensorflow sharp packageをimportする.
ENABLE_TENSORFLOWを書き込む
config.PNG

学習済みのByteファイルをBrainに取り付けて実行すると
walking.PNG

実行できる.

Deepmimic追実装に続く

YAD2U流行らないかなぁ

2
1
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
2
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?