-
Notifications
You must be signed in to change notification settings - Fork 56
/
sample.jsonnet
43 lines (35 loc) · 1.01 KB
/
sample.jsonnet
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
(import "base.libsonnet") + {
# Comment this out when using bin/create_holdout
initial_state_path:: 'sample/initial_state_20200422_231828.npz',
# Comment this out when using bin/create_holdout
goal_state_paths:: ['sample/goal_state_20200422_232013.npz'],
local mat_wood = (import "../../materials/painted_wood.jsonnet"),
scene_object_configs:: [
{
xml_path: 'chess/chessboard.xml',
pos: [0.5, 0.5, 0.001],
},
],
task_object_configs:: [
{
xml_path: 'object/tests/can.xml',
tag_args: {
mesh: {
# Override mesh scale.
scale: '0.5 0.5 0.5',
},
},
},
{
xml_path: 'object/tests/block.xml',
tag_args: {
geom: {
# Override geom size.
size: '0.025 0.025 0.025',
},
},
material_args: mat_wood,
count: 2,
},
]
}