Skip to content

Commit

Permalink
Merge pull request #14 from Tencent/update_doc
Browse files Browse the repository at this point in the history
Update doc
  • Loading branch information
web-aaron authored Jan 21, 2021
2 parents a5edc91 + dc7362c commit f70bfd1
Show file tree
Hide file tree
Showing 3 changed files with 47 additions and 48 deletions.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,9 @@ Windows:

欢迎加入QQ群 1095989343 进行交流。


# 8. 官网

- 更多资讯,请访问AITest: https://aitest.qq.com/

# 关于WeTest

Expand Down
36 changes: 16 additions & 20 deletions cfg/task/agent/DQNAction.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,36 +2,32 @@
"screenHeight": 360,
"screenWidth": 640,
"actions": [
{
"startRectx": 44,
"startRecty": 262,
"imgpath": "12.png",
"width": 52,
{

"width": 142,
"contact": 0,
"y": 285,
"x": 70,
"height": 46,
"y": 304,
"x": 580,
"height": 131,
"type": 3,
"id": 0,
"id": 1,
"durationMS": 50
},
{
"startRectx": 130,
"startRecty": 250,
"imgpath": "13.png",
"width": 45,


"width": 129,
"contact": 0,
"y": 278,
"x": 152,
"height": 55,
"y": 302,
"x": 55,
"height": 138,
"type": 3,
"id": 1,
"id": 0,
"durationMS": 50
},

{
"startRectx": 400,
"startRecty": 233,
"imgpath": "15.png",

"width": 12,
"contact": -1,
"y": 236,
Expand Down
55 changes: 28 additions & 27 deletions doc/project/ProjectDQNTrain.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,45 +66,46 @@ DQN算法支持离散型的动作类型,即每个动作id对应一个动作输

```
{
"screenHeight": 360,
"screenWidth": 640,
"actions": [
{
"startRectx": 120,
"startRecty": 132,
"width": 240,
"height": 428,
"contact": -1,
"type": 0,
"id": 0,
"name": "None"
},
{
"startRectx":1597,
"startRecty":770,
"width":322,
"height":305,
{
"width": 142,
"contact": 0,
"y": 304,
"x": 580,
"height": 131,
"type": 3,
"id": 1,
"name": "jump",
"durationMS": 50
},
"durationMS": 50
},
{
"startRectx":4,
"startRecty":737,
"width":331,
"height":341,
"width": 129,
"contact": 0,
"y": 302,
"x": 55,
"height": 138,
"type": 3,
"id": 2,
"name": "slip",
"durationMS": 50
"id": 0,
"durationMS": 50
},
{
"width": 12,
"contact": -1,
"y": 236,
"x": 405,
"height": 8,
"type": 0,
"id": 2
}
]
}
```

上述json文件共定义了三个动作:
Expand Down

0 comments on commit f70bfd1

Please sign in to comment.