Skip to content

Commit f70bfd1

Browse files
authored
Merge pull request #14 from Tencent/update_doc
Update doc
2 parents a5edc91 + dc7362c commit f70bfd1

File tree

3 files changed

+47
-48
lines changed

3 files changed

+47
-48
lines changed

README.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,9 @@ Windows:
187187

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

190-
190+
# 8. 官网
191+
192+
- 更多资讯,请访问AITest: https://aitest.qq.com/
191193

192194
# 关于WeTest
193195

cfg/task/agent/DQNAction.json

+16-20
Original file line numberDiff line numberDiff line change
@@ -2,36 +2,32 @@
22
"screenHeight": 360,
33
"screenWidth": 640,
44
"actions": [
5-
{
6-
"startRectx": 44,
7-
"startRecty": 262,
8-
"imgpath": "12.png",
9-
"width": 52,
5+
{
6+
7+
"width": 142,
108
"contact": 0,
11-
"y": 285,
12-
"x": 70,
13-
"height": 46,
9+
"y": 304,
10+
"x": 580,
11+
"height": 131,
1412
"type": 3,
15-
"id": 0,
13+
"id": 1,
1614
"durationMS": 50
1715
},
1816
{
19-
"startRectx": 130,
20-
"startRecty": 250,
21-
"imgpath": "13.png",
22-
"width": 45,
17+
18+
19+
"width": 129,
2320
"contact": 0,
24-
"y": 278,
25-
"x": 152,
26-
"height": 55,
21+
"y": 302,
22+
"x": 55,
23+
"height": 138,
2724
"type": 3,
28-
"id": 1,
25+
"id": 0,
2926
"durationMS": 50
3027
},
28+
3129
{
32-
"startRectx": 400,
33-
"startRecty": 233,
34-
"imgpath": "15.png",
30+
3531
"width": 12,
3632
"contact": -1,
3733
"y": 236,

doc/project/ProjectDQNTrain.md

+28-27
Original file line numberDiff line numberDiff line change
@@ -66,45 +66,46 @@ DQN算法支持离散型的动作类型,即每个动作id对应一个动作输
6666

6767
```
6868
{
69-
7069
"screenHeight": 360,
7170
"screenWidth": 640,
7271
"actions": [
73-
{
74-
"startRectx": 120,
75-
"startRecty": 132,
76-
"width": 240,
77-
"height": 428,
78-
"contact": -1,
79-
"type": 0,
80-
"id": 0,
81-
"name": "None"
82-
},
83-
{
84-
"startRectx":1597,
85-
"startRecty":770,
86-
"width":322,
87-
"height":305,
72+
{
73+
74+
"width": 142,
8875
"contact": 0,
76+
"y": 304,
77+
"x": 580,
78+
"height": 131,
8979
"type": 3,
9080
"id": 1,
91-
"name": "jump",
92-
"durationMS": 50
93-
},
81+
"durationMS": 50
82+
},
9483
{
95-
"startRectx":4,
96-
"startRecty":737,
97-
"width":331,
98-
"height":341,
84+
85+
86+
"width": 129,
9987
"contact": 0,
88+
"y": 302,
89+
"x": 55,
90+
"height": 138,
10091
"type": 3,
101-
"id": 2,
102-
"name": "slip",
103-
"durationMS": 50
92+
"id": 0,
93+
"durationMS": 50
94+
},
95+
96+
{
97+
98+
"width": 12,
99+
"contact": -1,
100+
"y": 236,
101+
"x": 405,
102+
"height": 8,
103+
"type": 0,
104+
"id": 2
104105
}
105106
]
106-
107107
}
108+
108109
```
109110

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

0 commit comments

Comments
 (0)