forked from DLR-RM/BlenderProc
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.yaml
More file actions
99 lines (99 loc) · 1.96 KB
/
config.yaml
File metadata and controls
99 lines (99 loc) · 1.96 KB
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
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
# Args: <obj_file1> <obj_file2> <output_dir>
{
"version": 3,
"setup": {
"blender_install_path": "/home_local/<env:USER>/blender/",
"pip": [
"h5py"
]
},
"modules": [
{
"module": "main.Initializer",
"config": {
"global": {
"output_dir": "<args:2>"
}
}
},
{
"module": "loader.ObjectLoader",
"config": {
"path": "<args:0>",
"add_properties": {
"cp_physics": True
}
}
},
{
"module": "loader.ObjectLoader",
"config": {
"path": "<args:1>",
"add_properties": {
"cp_physics": False
}
}
},
{
"module": "object.ObjectPoseSampler",
"config":{
"objects_to_sample": {
"provider": "getter.Entity",
"conditions": {
"cp_physics": True,
"type": "MESH"
}
},
"pos_sampler":{
"provider":"sampler.Uniform3d",
"max":[5, 5, 8],
"min":[-5, -5, 12]
},
"rot_sampler":{
"provider":"sampler.UniformSO3"
}
}
},
{
"module": "lighting.LightLoader",
"config": {
"lights": [
{
"type": "SUN",
"location": [0, 0, 0],
"rotation": [-0.063, 0.6177, -0.1985],
"energy": 1,
"color": [1, 0.978, 0.407]
}
]
}
},
{
"module": "camera.CameraLoader",
"config": {
"cam_poses": [
{
"location": [0, -47.93, 16.59],
"rotation": {
"value": [1.3, 0, 0]
}
}
]
}
},
{
"module": "object.PhysicsPositioning",
"config": {
"min_simulation_time": 4,
"max_simulation_time": 20,
"check_object_interval": 1
}
},
{
"module": "renderer.RgbRenderer"
},
{
"module": "writer.Hdf5Writer"
}
]
}