forked from DLR-RM/BlenderProc
-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.yaml
77 lines (77 loc) · 1.58 KB
/
config.yaml
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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
# Args: <obj_file> <output_dir>
{
"version": 3,
"setup": {
"blender_install_path": "/home_local/<env:USER>/blender/",
"pip": [
"h5py"
]
},
"modules": [
{
"module": "main.Initializer",
"config": {
"global": {
"output_dir": "<args:1>"
}
}
},
{
"module": "loader.SuncgLoader",
"config": {
"path": "<args:0>"
}
},
{
"module": "camera.SuncgCameraSampler",
"config": {
"cam_poses": [{
"number_of_samples": 10,
"proximity_checks": {
"min": 1.0
},
"min_interest_score": 0.4,
"location": {
"provider":"sampler.Uniform3d",
"max":[0, 0, 2],
"min":[0, 0, 0.5]
},
"rotation": {
"value": {
"provider":"sampler.Uniform3d",
"max":[1.2217, 0, 6.283185307],
"min":[1.2217, 0, 0]
}
},
}]
}
},
{
"module": "lighting.SuncgLighting",
"config": {}
},
{
"module": "writer.CameraStateWriter",
"config": {
"attributes_to_write": ["location", "rotation_euler", "fov_x", "fov_y", "customprop_room_id"]
}
},
{
"module": "renderer.SegMapRenderer",
"config": {
"use_alpha": True
}
},
{
"module": "renderer.RgbRenderer",
"config": {
"render_distance": True,
"render_normals": True,
"use_alpha": True
}
},
{
"module": "writer.Hdf5Writer",
}
]
}