Skip to content

Commit

Permalink
readme
Browse files Browse the repository at this point in the history
  • Loading branch information
huailiang committed Dec 3, 2018
1 parent 11ae7b7 commit 9c2d896
Show file tree
Hide file tree
Showing 4 changed files with 39 additions and 0 deletions.
Binary file added image/1.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added image/2.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added image/3.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
39 changes: 39 additions & 0 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@
4. <a href="https://huailiang.github.io/2018/11/10/ppo//">使用Policy Gradient & PPO神经经网络训练游戏AI </a>


## Shell

你可以查看此工程可以通过在ternimal输入下面命令:

```shell
Expand All @@ -44,4 +46,41 @@ client:
- unity >=2018.2.7
- <a href="https://s3.amazonaws.com/unity-agents/TFSharpPlugin.unitypackage">TFSharpPlugin</a>


## Mode

- train in python

GameManager(c#) set External

![](/image/2.jpg)

environment(python) set Train = True

![](/image/3.jpg)

- test in python

as opration like train in python and set Train = False


- test in unity


GameManager(c#) set Internal and drag tensorflow output to Graph model

![](/image/1.jpg)


## Train

- Ensure Env as requirement

- Start with python main.py

- Unity Gamemanager mode set external

- Start Unity


欢迎关注作者博客:https://huailiang.github.io

0 comments on commit 9c2d896

Please sign in to comment.