-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.yaml
128 lines (128 loc) · 2.83 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
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
# Args: <bop_dataset_path> <output_dir>
{
"version": 2,
"setup": {
"blender_install_path": "/home_local/<env:USER>/blender/",
"pip": [
"h5py",
"scikit-image",
"pypng==0.0.20",
"scipy==1.2.2"
]
},
"global": {
"all": {
"output_dir": "<args:1>",
"sys_paths": ["/path/to/bop_toolkit"]
},
},
"modules": [
{
"module": "main.Initializer",
"config": {}
},
{
"module": "loader.BopLoader",
"config": {
"bop_dataset_path": "<args:0>",
"mm2m": True,
"split": "val",
"obj_ids": [1,1,3],
"model_type": ""
}
},
{
"module": "lighting.LightSampler",
"config": {
"lights": [
{
"location": {
"provider": "sampler.Shell",
"center": [0, 0, -0.8],
"radius_min": 1,
"radius_max": 4,
"elevation_min": 40,
"elevation_max": 89
},
"type": "POINT",
"energy": 1000
}
]
}
},
{
"module": "composite.CameraObjectSampler",
"config": {
"total_noof_cams": 10,
"noof_cams_per_scene": 5,
"object_pose_sampler": {
"module": "object.ObjectPoseSampler",
"config": {
"max_iterations": 1000,
"pos_sampler": {
"provider": "sampler.Uniform3d",
"max": [0.5, 0.5, 0.5],
"min": [-0.5, -0.5, -0.5]
},
"rot_sampler": {
"provider": "sampler.Uniform3d",
"max": [0, 0, 0],
"min": [6.28, 6.28, 6.28]
}
}
},
"camera_pose_sampler": {
"module": "camera.CameraSampler",
"config": {
"cam_poses": [
{
"location": {
"provider": "sampler.Shell",
"center": [0, 0, 0],
"radius_min": 0.8,
"radius_max": 1.2,
"elevation_min": 1,
"elevation_max": 89
},
"rotation": {
"format": "look_at",
"value": {
"provider": "getter.POI",
"parameters": {}
}
}
}
]
}
}
}
},
{
"module": "renderer.RgbRenderer",
"config": {
"samples": 150
}
},
{
"module": "renderer.SegMapRenderer",
"config": {
"map_by": "instance"
}
},
{
"module": "writer.CocoAnnotationsWriter",
"config": {
}
},
{
"module": "writer.ObjectStateWriter",
"config": {
}
},
{
"module": "writer.Hdf5Writer",
"config": {
}
}
]
}