Yinpei commited on
Commit
8590832
·
1 Parent(s): 1ea8e22

update task hints

Browse files
Files changed (1) hide show
  1. gradio-web/note_content.py +18 -18
gradio-web/note_content.py CHANGED
@@ -36,30 +36,30 @@ def get_task_hint(env_id):
36
  # Order follows solve_3.5_parallel_multi_loop_v4.py DEFAULT_ENVS list
37
  hints = {
38
  "PickXtimes": """\
39
- To pick up red cubes twice, a typical sequence:
40
  1. pick up the cube (click to select the correct color)
41
- 2. place it on the target.
42
  3. pick up the cube (click to select the correct color)
43
- 4. place it on the target.
44
  5. press the button to stop.
45
 
46
  Select "Ground Truth Action" if you need help, then "Execute" it.
47
  """,
48
 
49
  "StopCube": """\
50
- To stop the cube on the target three times, a typical sequence:
51
  1. move above the button to prepare.
52
- 2. remain static for a fixed duration (count how many times the cube passes the target, may select "remain static" multiple times).
53
- 3. when the cube is about to reach the target for the last time, press the button to stop.
54
 
55
  Select "Ground Truth Action" if you need help, then "Execute" it.
56
  """,
57
 
58
  "SwingXtimes": """\
59
- To swing right-to-left twice, a typical sequence:
60
  1. pick up the cube (click to select the correct color).
61
- 2. move above the right target, then the left (click to select each).
62
- 3. move to the right target again, then the left again (click to select each).
63
  4. put the cube on the table and press the button to stop.
64
 
65
  Spatial directions (left, right) follow the robot base frame.
@@ -76,7 +76,7 @@ Select "Ground Truth Action" if you need help, then "Execute" it.
76
  """,
77
 
78
  "VideoUnmaskSwap": """\
79
- Watch the video: cubes are hidden by containers. Memorize each cube's color. Track the swap of containers.
80
  Typical sequence:
81
  1. pick up a container (click to select), then drop it.
82
  Repeat for a second container if the goal is to find two cubes.
@@ -85,9 +85,9 @@ Select "Ground Truth Action" if you need help, then "Execute" it.
85
  """,
86
 
87
  "VideoUnmask": """\
88
- Watch the video: cubes are hidden by containers. Memorize each cube's color.
89
  Typical sequence:
90
- 1. Pick up a container (click to select), then put it down.
91
  Repeat for a second container if the goal is to find two cubes.
92
 
93
  Select "Ground Truth Action" if you need help, then "Execute" it.
@@ -96,7 +96,7 @@ Select "Ground Truth Action" if you need help, then "Execute" it.
96
  "ButtonUnmaskSwap": """\
97
  Press the buttons. While doing so, cubes are hidden in containers. Memorize each cube's color. Track the swap of containers.
98
  Typical sequence:
99
- 1. Press the first button, then the second.
100
  2. pick up a container (click to select), then drop it.
101
  Repeat for a second container if the goal is to find two cubes.
102
 
@@ -118,7 +118,7 @@ Remember which cube was picked in the video, then pick it again. Cube positions
118
  Typical sequence:
119
  1. pick up the correct cube (click to select by color)
120
  2. put it on the table.
121
- 3. repeat step 1 for the required number of times.
122
  4. press the button to stop.
123
 
124
  Select "Ground Truth Action" if you need help, then "Execute" it.
@@ -128,7 +128,7 @@ Select "Ground Truth Action" if you need help, then "Execute" it.
128
  The video shows a robot placing a cube on different targets and pressing the button in sequence. Targets may change positions.
129
  Typical sequence:
130
  1. pick up the correct cube (click to select)
131
- 2. place it on the target (click to select target).
132
 
133
  Select "Ground Truth Action" if you need help, then "Execute" it.
134
  """,
@@ -137,7 +137,7 @@ Select "Ground Truth Action" if you need help, then "Execute" it.
137
  The video shows a robot placing a cube on different targets and pressing the button in sequence. Targets may change positions.
138
  Typical sequence:
139
  1. pick up the correct cube (click to select)
140
- 2. place it on the target (click to select target).
141
 
142
  Select "Ground Truth Action" if you need help, then "Execute" it.
143
  """,
@@ -154,7 +154,7 @@ Select "Ground Truth Action" if you need help, then "Execute" it.
154
  """,
155
 
156
  "InsertPeg": """\
157
- The video shows a robot inserting a peg into a hole. The peg has two colored parts—pick the correct part and insert from the correct side.
158
  Typical sequence:
159
  1. pick up the peg (click to select correct peg and part).
160
  2. insert it into the hole on the left.
@@ -164,7 +164,7 @@ Select "Ground Truth Action" if you need help, then "Execute" it.
164
  """,
165
 
166
  "MoveCube": """\
167
- The video shows a robot moving a cube to a target by (1) pick-and-place, (2) pushing with the gripper, or (3) hooking with a peg.
168
  Remember which method was used and reproduce it.
169
 
170
  Select "Ground Truth Action" if you need help, then "Execute" it.
 
36
  # Order follows solve_3.5_parallel_multi_loop_v4.py DEFAULT_ENVS list
37
  hints = {
38
  "PickXtimes": """\
39
+ For example, to pick up red cubes twice, a typical action sequence is:
40
  1. pick up the cube (click to select the correct color)
41
+ 2. place it onto the target.
42
  3. pick up the cube (click to select the correct color)
43
+ 4. place it onto the target.
44
  5. press the button to stop.
45
 
46
  Select "Ground Truth Action" if you need help, then "Execute" it.
47
  """,
48
 
49
  "StopCube": """\
50
+ For example, to stop the cube on the target on its third visit, a typical action sequence is:
51
  1. move above the button to prepare.
52
+ 2. remain static (count how many times the cube passes the target, may select "remain static" multiple times).
53
+ 3. when the cube is about to reach the target for the third time, press the button to stop. You need to anticipate the time duration of pressing.
54
 
55
  Select "Ground Truth Action" if you need help, then "Execute" it.
56
  """,
57
 
58
  "SwingXtimes": """\
59
+ For example, to swing right-to-left twice, a typical action sequence is:
60
  1. pick up the cube (click to select the correct color).
61
+ 2. move to the right target, then to the left target (click to select each).
62
+ 3. move to the right target again, then to the left target again (click to select each).
63
  4. put the cube on the table and press the button to stop.
64
 
65
  Spatial directions (left, right) follow the robot base frame.
 
76
  """,
77
 
78
  "VideoUnmaskSwap": """\
79
+ Watch the video where the cubes are hidden by containers. Memorize each cube's color. Track the swap of containers.
80
  Typical sequence:
81
  1. pick up a container (click to select), then drop it.
82
  Repeat for a second container if the goal is to find two cubes.
 
85
  """,
86
 
87
  "VideoUnmask": """\
88
+ Watch the video where the cubes are hidden by containers. Memorize each cube's color.
89
  Typical sequence:
90
+ 1. pick up a container (click to select), then put it down.
91
  Repeat for a second container if the goal is to find two cubes.
92
 
93
  Select "Ground Truth Action" if you need help, then "Execute" it.
 
96
  "ButtonUnmaskSwap": """\
97
  Press the buttons. While doing so, cubes are hidden in containers. Memorize each cube's color. Track the swap of containers.
98
  Typical sequence:
99
+ 1. press the first button, then the second.
100
  2. pick up a container (click to select), then drop it.
101
  Repeat for a second container if the goal is to find two cubes.
102
 
 
118
  Typical sequence:
119
  1. pick up the correct cube (click to select by color)
120
  2. put it on the table.
121
+ 3. repeat step 1-2 for the required number of times.
122
  4. press the button to stop.
123
 
124
  Select "Ground Truth Action" if you need help, then "Execute" it.
 
128
  The video shows a robot placing a cube on different targets and pressing the button in sequence. Targets may change positions.
129
  Typical sequence:
130
  1. pick up the correct cube (click to select)
131
+ 2. drop it onto the target (click to select target).
132
 
133
  Select "Ground Truth Action" if you need help, then "Execute" it.
134
  """,
 
137
  The video shows a robot placing a cube on different targets and pressing the button in sequence. Targets may change positions.
138
  Typical sequence:
139
  1. pick up the correct cube (click to select)
140
+ 2. drop it onto the target (click to select target).
141
 
142
  Select "Ground Truth Action" if you need help, then "Execute" it.
143
  """,
 
154
  """,
155
 
156
  "InsertPeg": """\
157
+ The video shows a robot inserting a peg into a hole. The peg has two colored parts. Pick the correct part and insert from the correct side.
158
  Typical sequence:
159
  1. pick up the peg (click to select correct peg and part).
160
  2. insert it into the hole on the left.
 
164
  """,
165
 
166
  "MoveCube": """\
167
+ The video shows a robot moving a cube to a target by either (1) pick-and-place, (2) pushing with the gripper, or (3) hooking with a peg.
168
  Remember which method was used and reproduce it.
169
 
170
  Select "Ground Truth Action" if you need help, then "Execute" it.