Add files using upload-large-folder tool
Browse files- eval/respace/dataset-ssr3dfront_stage1_with_doors_windows/0921caa2-9234-4ab4-b7f3-2c70b113704e-f30ec63f-e860-4c8f-97df-a539bb8e26b3.json +265 -0
- eval/respace/dataset-ssr3dfront_stage1_with_doors_windows/2ce51e58-c45f-424d-b333-5b56d1641f68-a0562d28-675e-44af-a6c4-32157693d586.json +265 -0
- eval/respace/dataset-ssr3dfront_stage1_with_doors_windows/44e71749-8396-4f0a-8b75-0b9d58a00666-c0460b34-c704-43cd-b3bf-356be5c9ec17.json +332 -0
- eval/respace/dataset-ssr3dfront_stage1_with_doors_windows/583eba18-07cb-439d-a095-3118a9281de8-3445be40-21c8-41f1-9a6f-1ae5ad88aabd.json +776 -0
- eval/respace/dataset-ssr3dfront_stage1_with_doors_windows/5ed691b6-9633-47ca-a0f0-5069079b2852-30bb8c25-aa5d-48df-8103-6b14fcceab64.json +706 -0
- eval/respace/dataset-ssr3dfront_stage1_with_doors_windows/836eac3f-e90a-4cc0-8b70-eb56947c9bde-1eda1b86-b78f-4ea4-9a2d-99ab02734602.json +196 -0
- eval/respace/dataset-ssr3dfront_stage1_with_doors_windows/85cb63d9-ee2b-4177-9b0e-fb2e88f8258d-6dd3ae84-62a1-43c1-ab52-0e212881f2b1.json +525 -0
- eval/respace/dataset-ssr3dfront_stage1_with_doors_windows/a169bc10-8221-4121-9815-5ae46a4d3d8e-7932f894-8bdb-40e3-bcbf-1efbf79560e9.json +196 -0
- eval/respace/dataset-ssr3dfront_stage1_with_doors_windows/a35c271d-20fd-4579-a702-e41478c2d24e-ccfe5f4b-2935-472f-af8d-5b019d52d86a.json +219 -0
- tools/__pycache__/asset_description_manager.cpython-311.pyc +0 -0
- tools/__pycache__/asset_description_manager.cpython-313.pyc +0 -0
- tools/__pycache__/asset_finder.cpython-311.pyc +0 -0
- tools/__pycache__/extract_room_boundary.cpython-310.pyc +0 -0
- tools/__pycache__/gpt_description_generator.cpython-311.pyc +0 -0
- tools/__pycache__/process_asset_descriptions_mp.cpython-311.pyc +0 -0
- tools/data_gen/__init__.py +1 -0
- tools/data_gen/build_finetune_data.py +736 -0
- tools/data_gen/canonicalize_2d_obb.py +605 -0
- tools/data_gen/compose_baked_scene.py +100 -0
- tools/data_gen/test_render_compare.py +204 -0
eval/respace/dataset-ssr3dfront_stage1_with_doors_windows/0921caa2-9234-4ab4-b7f3-2c70b113704e-f30ec63f-e860-4c8f-97df-a539bb8e26b3.json
ADDED
|
@@ -0,0 +1,265 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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 9 |
+
1.9
|
| 10 |
+
],
|
| 11 |
+
[
|
| 12 |
+
1.85,
|
| 13 |
+
2.6,
|
| 14 |
+
1.9
|
| 15 |
+
],
|
| 16 |
+
[
|
| 17 |
+
1.85,
|
| 18 |
+
2.6,
|
| 19 |
+
-1.9
|
| 20 |
+
],
|
| 21 |
+
[
|
| 22 |
+
-1.85,
|
| 23 |
+
2.6,
|
| 24 |
+
-1.9
|
| 25 |
+
]
|
| 26 |
+
],
|
| 27 |
+
"bounds_bottom": [
|
| 28 |
+
[
|
| 29 |
+
-1.85,
|
| 30 |
+
0.0,
|
| 31 |
+
1.9
|
| 32 |
+
],
|
| 33 |
+
[
|
| 34 |
+
1.85,
|
| 35 |
+
0.0,
|
| 36 |
+
1.9
|
| 37 |
+
],
|
| 38 |
+
[
|
| 39 |
+
1.85,
|
| 40 |
+
0.0,
|
| 41 |
+
-1.9
|
| 42 |
+
],
|
| 43 |
+
[
|
| 44 |
+
-1.85,
|
| 45 |
+
0.0,
|
| 46 |
+
-1.9
|
| 47 |
+
]
|
| 48 |
+
],
|
| 49 |
+
"objects": [
|
| 50 |
+
{
|
| 51 |
+
"uid": "4999/model",
|
| 52 |
+
"jid": "56b1b9fd-78a1-40d7-b20b-97b5c70f289e",
|
| 53 |
+
"size": [
|
| 54 |
+
1.95,
|
| 55 |
+
1.05,
|
| 56 |
+
2.39
|
| 57 |
+
],
|
| 58 |
+
"desc": "Minimalist modern single bed featuring a teal fabric upholstered frame, tufted headboard, and neutral light gray bedding.",
|
| 59 |
+
"is_scaled": false,
|
| 60 |
+
"rot": [
|
| 61 |
+
0,
|
| 62 |
+
0.70711,
|
| 63 |
+
0,
|
| 64 |
+
0.70711
|
| 65 |
+
],
|
| 66 |
+
"pos": [
|
| 67 |
+
-0.64,
|
| 68 |
+
0.0,
|
| 69 |
+
0.41
|
| 70 |
+
],
|
| 71 |
+
"instance_id": "furniture/337"
|
| 72 |
+
},
|
| 73 |
+
{
|
| 74 |
+
"uid": "5000/model",
|
| 75 |
+
"jid": "05101287-941c-4442-af2e-0eef69f136b6",
|
| 76 |
+
"size": [
|
| 77 |
+
1.2,
|
| 78 |
+
0.76,
|
| 79 |
+
0.42
|
| 80 |
+
],
|
| 81 |
+
"desc": "Modern minimalist sage green nightstand with a smooth lacquer finish, rounded edges, and a rectangular shape.",
|
| 82 |
+
"is_scaled": false,
|
| 83 |
+
"rot": [
|
| 84 |
+
0,
|
| 85 |
+
0.70711,
|
| 86 |
+
0,
|
| 87 |
+
0.70711
|
| 88 |
+
],
|
| 89 |
+
"pos": [
|
| 90 |
+
-1.71,
|
| 91 |
+
0.0,
|
| 92 |
+
1.33
|
| 93 |
+
],
|
| 94 |
+
"instance_id": "furniture/338"
|
| 95 |
+
},
|
| 96 |
+
{
|
| 97 |
+
"uid": "5000/model",
|
| 98 |
+
"jid": "05101287-941c-4442-af2e-0eef69f136b6",
|
| 99 |
+
"size": [
|
| 100 |
+
1.2,
|
| 101 |
+
0.76,
|
| 102 |
+
0.42
|
| 103 |
+
],
|
| 104 |
+
"desc": "Modern minimalist sage green nightstand with a smooth lacquer finish, rounded edges, and a rectangular shape.",
|
| 105 |
+
"is_scaled": false,
|
| 106 |
+
"rot": [
|
| 107 |
+
0,
|
| 108 |
+
0.70711,
|
| 109 |
+
0,
|
| 110 |
+
0.70711
|
| 111 |
+
],
|
| 112 |
+
"pos": [
|
| 113 |
+
-1.68,
|
| 114 |
+
0.0,
|
| 115 |
+
-0.84
|
| 116 |
+
],
|
| 117 |
+
"instance_id": "furniture/339"
|
| 118 |
+
},
|
| 119 |
+
{
|
| 120 |
+
"uid": "5002/model",
|
| 121 |
+
"jid": "6f9f4aee-dc7b-4749-a98a-67fd52cd55b6",
|
| 122 |
+
"size": [
|
| 123 |
+
3.29,
|
| 124 |
+
2.32,
|
| 125 |
+
0.61
|
| 126 |
+
],
|
| 127 |
+
"desc": "A contemporary minimalist white wardrobe with a distinctive grid pattern and dark brown built-in shelves, offering a unique blend of style and functionality.",
|
| 128 |
+
"is_scaled": false,
|
| 129 |
+
"rot": [
|
| 130 |
+
0,
|
| 131 |
+
0,
|
| 132 |
+
0,
|
| 133 |
+
1
|
| 134 |
+
],
|
| 135 |
+
"pos": [
|
| 136 |
+
-0.15,
|
| 137 |
+
0.0,
|
| 138 |
+
-1.58
|
| 139 |
+
],
|
| 140 |
+
"instance_id": "furniture/340"
|
| 141 |
+
},
|
| 142 |
+
{
|
| 143 |
+
"uid": "5018/model",
|
| 144 |
+
"jid": "7bf590ba-7f4f-4f13-8be7-92eeef002c3c",
|
| 145 |
+
"size": [
|
| 146 |
+
2.03,
|
| 147 |
+
0.44,
|
| 148 |
+
0.4
|
| 149 |
+
],
|
| 150 |
+
"desc": "A modern, white and brown, dual-level TV stand with a minimalist design featuring angled legs and a sleek, wooden construction.",
|
| 151 |
+
"is_scaled": false,
|
| 152 |
+
"rot": [
|
| 153 |
+
0,
|
| 154 |
+
-0.70711,
|
| 155 |
+
0,
|
| 156 |
+
0.70711
|
| 157 |
+
],
|
| 158 |
+
"pos": [
|
| 159 |
+
1.63,
|
| 160 |
+
0.0,
|
| 161 |
+
0.5
|
| 162 |
+
],
|
| 163 |
+
"instance_id": "furniture/349"
|
| 164 |
+
},
|
| 165 |
+
{
|
| 166 |
+
"uid": "5019/model",
|
| 167 |
+
"jid": "f3d56c09-fb27-4ae9-a9ec-f75be5a893bb-(0.57)-(0.57)-(0.57)",
|
| 168 |
+
"size": [
|
| 169 |
+
0.53,
|
| 170 |
+
1.3,
|
| 171 |
+
0.52
|
| 172 |
+
],
|
| 173 |
+
"desc": "Modern minimalist planter with white ceramic pot and wooden stand, featuring a sleek elevated design.",
|
| 174 |
+
"is_scaled": true,
|
| 175 |
+
"rot": [
|
| 176 |
+
0,
|
| 177 |
+
0,
|
| 178 |
+
0,
|
| 179 |
+
1
|
| 180 |
+
],
|
| 181 |
+
"pos": [
|
| 182 |
+
1.57,
|
| 183 |
+
0.0,
|
| 184 |
+
1.57
|
| 185 |
+
],
|
| 186 |
+
"instance_id": "furniture/350"
|
| 187 |
+
},
|
| 188 |
+
{
|
| 189 |
+
"uid": "5020/model",
|
| 190 |
+
"jid": "daf40b43-40bd-4e53-9acc-119fa93f4b77",
|
| 191 |
+
"size": [
|
| 192 |
+
0.77,
|
| 193 |
+
1.25,
|
| 194 |
+
0.53
|
| 195 |
+
],
|
| 196 |
+
"desc": "A classic dark brown wooden suit valet stand featuring a suit hanger, pants bar, metal hooks, and a top tray for compact organization and elegance.",
|
| 197 |
+
"is_scaled": false,
|
| 198 |
+
"rot": [
|
| 199 |
+
0,
|
| 200 |
+
0,
|
| 201 |
+
0,
|
| 202 |
+
1
|
| 203 |
+
],
|
| 204 |
+
"pos": [
|
| 205 |
+
0.58,
|
| 206 |
+
0.0,
|
| 207 |
+
-1.59
|
| 208 |
+
],
|
| 209 |
+
"instance_id": "furniture/351"
|
| 210 |
+
},
|
| 211 |
+
{
|
| 212 |
+
"uid": "5027/model",
|
| 213 |
+
"jid": "1a4f65d9-b743-47e9-bc5f-74e5af9b1d68",
|
| 214 |
+
"size": [
|
| 215 |
+
1.3,
|
| 216 |
+
0.6,
|
| 217 |
+
0.21
|
| 218 |
+
],
|
| 219 |
+
"desc": "A modern, minimalist black metal bookcase with an asymmetrical, angular design and open shelves.",
|
| 220 |
+
"is_scaled": false,
|
| 221 |
+
"rot": [
|
| 222 |
+
0,
|
| 223 |
+
-0.70711,
|
| 224 |
+
0,
|
| 225 |
+
0.70711
|
| 226 |
+
],
|
| 227 |
+
"pos": [
|
| 228 |
+
1.67,
|
| 229 |
+
0.0,
|
| 230 |
+
-0.85
|
| 231 |
+
],
|
| 232 |
+
"instance_id": "furniture/356"
|
| 233 |
+
},
|
| 234 |
+
{
|
| 235 |
+
"uid": "7387/model",
|
| 236 |
+
"jid": "925a2ab4-6002-45fe-847e-68db1ffed28b",
|
| 237 |
+
"size": [
|
| 238 |
+
0.93,
|
| 239 |
+
0.28,
|
| 240 |
+
1.03
|
| 241 |
+
],
|
| 242 |
+
"desc": "A modern industrial pendant lamp with adjustable arms, black metal finish, and minimalist dome-shaped shades.",
|
| 243 |
+
"is_scaled": false,
|
| 244 |
+
"rot": [
|
| 245 |
+
0,
|
| 246 |
+
0,
|
| 247 |
+
0,
|
| 248 |
+
1
|
| 249 |
+
],
|
| 250 |
+
"pos": [
|
| 251 |
+
0.01,
|
| 252 |
+
2.54,
|
| 253 |
+
0.22
|
| 254 |
+
],
|
| 255 |
+
"instance_id": "furniture/358"
|
| 256 |
+
}
|
| 257 |
+
],
|
| 258 |
+
"doors": [],
|
| 259 |
+
"windows": [],
|
| 260 |
+
"floor_material": {
|
| 261 |
+
"jid": "c8065b81-b5ce-4e8f-8f67-f05dadb5e12b",
|
| 262 |
+
"material_type": "flooring - reinforced",
|
| 263 |
+
"texture_path": "3D-FRONT-texture/c8065b81-b5ce-4e8f-8f67-f05dadb5e12b/texture.png"
|
| 264 |
+
}
|
| 265 |
+
}
|
eval/respace/dataset-ssr3dfront_stage1_with_doors_windows/2ce51e58-c45f-424d-b333-5b56d1641f68-a0562d28-675e-44af-a6c4-32157693d586.json
ADDED
|
@@ -0,0 +1,265 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"orig_scene_uid": "2ce51e58-c45f-424d-b333-5b56d1641f68",
|
| 3 |
+
"uid": "a0562d28-675e-44af-a6c4-32157693d586",
|
| 4 |
+
"room_id": "MasterBedroom-26907",
|
| 5 |
+
"bounds_top": [
|
| 6 |
+
[
|
| 7 |
+
-1.65,
|
| 8 |
+
2.8,
|
| 9 |
+
2.6
|
| 10 |
+
],
|
| 11 |
+
[
|
| 12 |
+
1.65,
|
| 13 |
+
2.8,
|
| 14 |
+
2.6
|
| 15 |
+
],
|
| 16 |
+
[
|
| 17 |
+
1.65,
|
| 18 |
+
2.8,
|
| 19 |
+
-1.8
|
| 20 |
+
],
|
| 21 |
+
[
|
| 22 |
+
-0.55,
|
| 23 |
+
2.8,
|
| 24 |
+
-1.8
|
| 25 |
+
],
|
| 26 |
+
[
|
| 27 |
+
-0.55,
|
| 28 |
+
2.8,
|
| 29 |
+
-2.6
|
| 30 |
+
],
|
| 31 |
+
[
|
| 32 |
+
-1.65,
|
| 33 |
+
2.8,
|
| 34 |
+
-2.6
|
| 35 |
+
]
|
| 36 |
+
],
|
| 37 |
+
"bounds_bottom": [
|
| 38 |
+
[
|
| 39 |
+
-1.65,
|
| 40 |
+
0.0,
|
| 41 |
+
2.6
|
| 42 |
+
],
|
| 43 |
+
[
|
| 44 |
+
1.65,
|
| 45 |
+
0.0,
|
| 46 |
+
2.6
|
| 47 |
+
],
|
| 48 |
+
[
|
| 49 |
+
1.65,
|
| 50 |
+
0.0,
|
| 51 |
+
-1.8
|
| 52 |
+
],
|
| 53 |
+
[
|
| 54 |
+
-0.55,
|
| 55 |
+
0.0,
|
| 56 |
+
-1.8
|
| 57 |
+
],
|
| 58 |
+
[
|
| 59 |
+
-0.55,
|
| 60 |
+
0.0,
|
| 61 |
+
-2.6
|
| 62 |
+
],
|
| 63 |
+
[
|
| 64 |
+
-1.65,
|
| 65 |
+
0.0,
|
| 66 |
+
-2.6
|
| 67 |
+
]
|
| 68 |
+
],
|
| 69 |
+
"objects": [
|
| 70 |
+
{
|
| 71 |
+
"uid": "2021159374470746192096/model",
|
| 72 |
+
"jid": "f43310eb-270b-49ec-aef9-11103921b224-(1.08)-(1.0)-(1.05)",
|
| 73 |
+
"size": [
|
| 74 |
+
2.41,
|
| 75 |
+
2.26,
|
| 76 |
+
2.3
|
| 77 |
+
],
|
| 78 |
+
"desc": "Modern classic king-size canopy bed with sheer white curtains, brown wooden frame, and decorative pink pillows for a cozy, elegant aesthetic.",
|
| 79 |
+
"is_scaled": true,
|
| 80 |
+
"rot": [
|
| 81 |
+
0,
|
| 82 |
+
-0.70711,
|
| 83 |
+
0,
|
| 84 |
+
0.70711
|
| 85 |
+
],
|
| 86 |
+
"pos": [
|
| 87 |
+
0.49,
|
| 88 |
+
0.0,
|
| 89 |
+
0.43
|
| 90 |
+
],
|
| 91 |
+
"instance_id": "furniture/732"
|
| 92 |
+
},
|
| 93 |
+
{
|
| 94 |
+
"uid": "2021159374470746335328/model",
|
| 95 |
+
"jid": "de5d2f45-3cb5-4835-92e1-73e171558979-(0.69)-(1.0)-(1.26)",
|
| 96 |
+
"size": [
|
| 97 |
+
0.44,
|
| 98 |
+
0.55,
|
| 99 |
+
0.56
|
| 100 |
+
],
|
| 101 |
+
"desc": "A modern transitional nightstand in black and white with a double-door design, gold circular handle, and slim legs.",
|
| 102 |
+
"is_scaled": true,
|
| 103 |
+
"rot": [
|
| 104 |
+
0,
|
| 105 |
+
0.99999,
|
| 106 |
+
0,
|
| 107 |
+
0.00542
|
| 108 |
+
],
|
| 109 |
+
"pos": [
|
| 110 |
+
1.42,
|
| 111 |
+
0.0,
|
| 112 |
+
-0.92
|
| 113 |
+
],
|
| 114 |
+
"instance_id": "furniture/733"
|
| 115 |
+
},
|
| 116 |
+
{
|
| 117 |
+
"uid": "2021159374470746335328/model",
|
| 118 |
+
"jid": "de5d2f45-3cb5-4835-92e1-73e171558979-(0.69)-(1.0)-(1.26)",
|
| 119 |
+
"size": [
|
| 120 |
+
0.44,
|
| 121 |
+
0.55,
|
| 122 |
+
0.56
|
| 123 |
+
],
|
| 124 |
+
"desc": "A modern transitional nightstand in black and white with a double-door design, gold circular handle, and slim legs.",
|
| 125 |
+
"is_scaled": true,
|
| 126 |
+
"rot": [
|
| 127 |
+
0,
|
| 128 |
+
0.99999,
|
| 129 |
+
0,
|
| 130 |
+
0.00542
|
| 131 |
+
],
|
| 132 |
+
"pos": [
|
| 133 |
+
1.42,
|
| 134 |
+
0.0,
|
| 135 |
+
1.79
|
| 136 |
+
],
|
| 137 |
+
"instance_id": "furniture/734"
|
| 138 |
+
},
|
| 139 |
+
{
|
| 140 |
+
"uid": "2021159374470746517888/model",
|
| 141 |
+
"jid": "20ae6ca9-6eb4-4f2c-9606-82c7ad1074b0-(1.24)-(1.0)-(1.28)",
|
| 142 |
+
"size": [
|
| 143 |
+
2.29,
|
| 144 |
+
2.19,
|
| 145 |
+
0.6
|
| 146 |
+
],
|
| 147 |
+
"desc": "A rustic-industrial wardrobe featuring a dark wood frame with black metal sliding doors, open shelving, and bottom storage compartments.",
|
| 148 |
+
"is_scaled": true,
|
| 149 |
+
"rot": [
|
| 150 |
+
0,
|
| 151 |
+
0,
|
| 152 |
+
0,
|
| 153 |
+
1
|
| 154 |
+
],
|
| 155 |
+
"pos": [
|
| 156 |
+
0.5,
|
| 157 |
+
0.0,
|
| 158 |
+
-1.49
|
| 159 |
+
],
|
| 160 |
+
"instance_id": "furniture/737"
|
| 161 |
+
},
|
| 162 |
+
{
|
| 163 |
+
"uid": "2021159374470746571808/model",
|
| 164 |
+
"jid": "6e759989-7f12-4dc1-abb0-21509b653712-(2.57)-(1.0)-(0.84)",
|
| 165 |
+
"size": [
|
| 166 |
+
1.4,
|
| 167 |
+
0.47,
|
| 168 |
+
0.42
|
| 169 |
+
],
|
| 170 |
+
"desc": "A modern industrial footstool with a black metal frame and gold X-brace design, featuring sleek lines and a rectangular shape.",
|
| 171 |
+
"is_scaled": true,
|
| 172 |
+
"rot": [
|
| 173 |
+
0,
|
| 174 |
+
-0.70711,
|
| 175 |
+
0,
|
| 176 |
+
0.70711
|
| 177 |
+
],
|
| 178 |
+
"pos": [
|
| 179 |
+
-0.88,
|
| 180 |
+
0.0,
|
| 181 |
+
0.41
|
| 182 |
+
],
|
| 183 |
+
"instance_id": "furniture/739"
|
| 184 |
+
},
|
| 185 |
+
{
|
| 186 |
+
"uid": "2021159374470746632704/model",
|
| 187 |
+
"jid": "92678333-6047-45ef-88e3-dacea1bb04a4-(0.77)-(1.0)-(0.73)",
|
| 188 |
+
"size": [
|
| 189 |
+
0.61,
|
| 190 |
+
0.69,
|
| 191 |
+
0.61
|
| 192 |
+
],
|
| 193 |
+
"desc": "Elegant contemporary ceiling lamp with cascading teardrop design and flush mount for stylish modern interiors.",
|
| 194 |
+
"is_scaled": true,
|
| 195 |
+
"rot": [
|
| 196 |
+
0,
|
| 197 |
+
0,
|
| 198 |
+
0,
|
| 199 |
+
1
|
| 200 |
+
],
|
| 201 |
+
"pos": [
|
| 202 |
+
0.11,
|
| 203 |
+
2.72,
|
| 204 |
+
0.16
|
| 205 |
+
],
|
| 206 |
+
"instance_id": "furniture/741"
|
| 207 |
+
}
|
| 208 |
+
],
|
| 209 |
+
"doors": [
|
| 210 |
+
{
|
| 211 |
+
"uid": "294031593661411312/0",
|
| 212 |
+
"type": "door",
|
| 213 |
+
"pos": [
|
| 214 |
+
-1.17,
|
| 215 |
+
1.01,
|
| 216 |
+
-2.65
|
| 217 |
+
],
|
| 218 |
+
"size": [
|
| 219 |
+
0.75,
|
| 220 |
+
2.02,
|
| 221 |
+
0.12
|
| 222 |
+
],
|
| 223 |
+
"min_bounds": [
|
| 224 |
+
-1.54,
|
| 225 |
+
0.0,
|
| 226 |
+
-2.71
|
| 227 |
+
],
|
| 228 |
+
"max_bounds": [
|
| 229 |
+
-0.79,
|
| 230 |
+
2.02,
|
| 231 |
+
-2.59
|
| 232 |
+
]
|
| 233 |
+
},
|
| 234 |
+
{
|
| 235 |
+
"uid": "295491593661411335/0",
|
| 236 |
+
"type": "door",
|
| 237 |
+
"pos": [
|
| 238 |
+
-0.54,
|
| 239 |
+
1.07,
|
| 240 |
+
-2.23
|
| 241 |
+
],
|
| 242 |
+
"size": [
|
| 243 |
+
0.12,
|
| 244 |
+
2.15,
|
| 245 |
+
0.51
|
| 246 |
+
],
|
| 247 |
+
"min_bounds": [
|
| 248 |
+
-0.6,
|
| 249 |
+
0.0,
|
| 250 |
+
-2.49
|
| 251 |
+
],
|
| 252 |
+
"max_bounds": [
|
| 253 |
+
-0.48,
|
| 254 |
+
2.15,
|
| 255 |
+
-1.98
|
| 256 |
+
]
|
| 257 |
+
}
|
| 258 |
+
],
|
| 259 |
+
"windows": [],
|
| 260 |
+
"floor_material": {
|
| 261 |
+
"jid": "aa54ec25-96f3-4c93-b867-5c7822fc43eb",
|
| 262 |
+
"material_type": "flooring - hardwood",
|
| 263 |
+
"texture_path": "3D-FRONT-texture/aa54ec25-96f3-4c93-b867-5c7822fc43eb/texture.png"
|
| 264 |
+
}
|
| 265 |
+
}
|
eval/respace/dataset-ssr3dfront_stage1_with_doors_windows/44e71749-8396-4f0a-8b75-0b9d58a00666-c0460b34-c704-43cd-b3bf-356be5c9ec17.json
ADDED
|
@@ -0,0 +1,332 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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|
| 16 |
+
[
|
| 17 |
+
-2.7,
|
| 18 |
+
2.6,
|
| 19 |
+
1.95
|
| 20 |
+
],
|
| 21 |
+
[
|
| 22 |
+
3.0,
|
| 23 |
+
2.6,
|
| 24 |
+
1.95
|
| 25 |
+
],
|
| 26 |
+
[
|
| 27 |
+
3.0,
|
| 28 |
+
2.6,
|
| 29 |
+
-1.95
|
| 30 |
+
],
|
| 31 |
+
[
|
| 32 |
+
-2.7,
|
| 33 |
+
2.6,
|
| 34 |
+
-1.95
|
| 35 |
+
],
|
| 36 |
+
[
|
| 37 |
+
-2.7,
|
| 38 |
+
2.6,
|
| 39 |
+
-1.25
|
| 40 |
+
],
|
| 41 |
+
[
|
| 42 |
+
-3.0,
|
| 43 |
+
2.6,
|
| 44 |
+
-1.25
|
| 45 |
+
]
|
| 46 |
+
],
|
| 47 |
+
"bounds_bottom": [
|
| 48 |
+
[
|
| 49 |
+
-3.0,
|
| 50 |
+
0.0,
|
| 51 |
+
1.45
|
| 52 |
+
],
|
| 53 |
+
[
|
| 54 |
+
-2.7,
|
| 55 |
+
0.0,
|
| 56 |
+
1.45
|
| 57 |
+
],
|
| 58 |
+
[
|
| 59 |
+
-2.7,
|
| 60 |
+
0.0,
|
| 61 |
+
1.95
|
| 62 |
+
],
|
| 63 |
+
[
|
| 64 |
+
3.0,
|
| 65 |
+
0.0,
|
| 66 |
+
1.95
|
| 67 |
+
],
|
| 68 |
+
[
|
| 69 |
+
3.0,
|
| 70 |
+
0.0,
|
| 71 |
+
-1.95
|
| 72 |
+
],
|
| 73 |
+
[
|
| 74 |
+
-2.7,
|
| 75 |
+
0.0,
|
| 76 |
+
-1.95
|
| 77 |
+
],
|
| 78 |
+
[
|
| 79 |
+
-2.7,
|
| 80 |
+
0.0,
|
| 81 |
+
-1.25
|
| 82 |
+
],
|
| 83 |
+
[
|
| 84 |
+
-3.0,
|
| 85 |
+
0.0,
|
| 86 |
+
-1.25
|
| 87 |
+
]
|
| 88 |
+
],
|
| 89 |
+
"objects": [
|
| 90 |
+
{
|
| 91 |
+
"uid": "89020/model1",
|
| 92 |
+
"jid": "5199c579-cf1a-4fb4-8c00-51e4bd2b2b70",
|
| 93 |
+
"size": [
|
| 94 |
+
0.78,
|
| 95 |
+
1.16,
|
| 96 |
+
0.44
|
| 97 |
+
],
|
| 98 |
+
"desc": "Contemporary Art Deco chest with ornate border, gold handles, and four spacious drawers.",
|
| 99 |
+
"is_scaled": false,
|
| 100 |
+
"rot": [
|
| 101 |
+
0,
|
| 102 |
+
0.70711,
|
| 103 |
+
0,
|
| 104 |
+
0.70711
|
| 105 |
+
],
|
| 106 |
+
"pos": [
|
| 107 |
+
1.55,
|
| 108 |
+
0.0,
|
| 109 |
+
1.53
|
| 110 |
+
],
|
| 111 |
+
"instance_id": "furniture/417"
|
| 112 |
+
},
|
| 113 |
+
{
|
| 114 |
+
"uid": "149523/model",
|
| 115 |
+
"jid": "0830dd10-29a7-4471-a2fc-434d042d8c32",
|
| 116 |
+
"size": [
|
| 117 |
+
0.57,
|
| 118 |
+
1.18,
|
| 119 |
+
0.51
|
| 120 |
+
],
|
| 121 |
+
"desc": "A round, dark brown end table with three drawers, tapered legs, and classic contemporary design, elegantly blending functionality and style.",
|
| 122 |
+
"is_scaled": false,
|
| 123 |
+
"rot": [
|
| 124 |
+
0,
|
| 125 |
+
0,
|
| 126 |
+
0,
|
| 127 |
+
1
|
| 128 |
+
],
|
| 129 |
+
"pos": [
|
| 130 |
+
-2.38,
|
| 131 |
+
0.0,
|
| 132 |
+
-1.68
|
| 133 |
+
],
|
| 134 |
+
"instance_id": "furniture/430"
|
| 135 |
+
},
|
| 136 |
+
{
|
| 137 |
+
"uid": "153268/model",
|
| 138 |
+
"jid": "b8049a96-1941-4f46-a788-347f425a21f2",
|
| 139 |
+
"size": [
|
| 140 |
+
1.2,
|
| 141 |
+
0.46,
|
| 142 |
+
0.8
|
| 143 |
+
],
|
| 144 |
+
"desc": "Modern minimalist coffee table with a white lacquer top, a geometric wood base, and clean lines for a sleek and functional design.",
|
| 145 |
+
"is_scaled": false,
|
| 146 |
+
"rot": [
|
| 147 |
+
0,
|
| 148 |
+
0,
|
| 149 |
+
0,
|
| 150 |
+
1
|
| 151 |
+
],
|
| 152 |
+
"pos": [
|
| 153 |
+
-0.69,
|
| 154 |
+
0.0,
|
| 155 |
+
-0.09
|
| 156 |
+
],
|
| 157 |
+
"instance_id": "furniture/431"
|
| 158 |
+
},
|
| 159 |
+
{
|
| 160 |
+
"uid": "153274/model",
|
| 161 |
+
"jid": "98bd39e2-1e03-4140-b223-0637679ceab3",
|
| 162 |
+
"size": [
|
| 163 |
+
2.21,
|
| 164 |
+
0.89,
|
| 165 |
+
0.86
|
| 166 |
+
],
|
| 167 |
+
"desc": "Modern classic three-seat sofa with glossy brown leather and minimalist wooden frame.",
|
| 168 |
+
"is_scaled": false,
|
| 169 |
+
"rot": [
|
| 170 |
+
0,
|
| 171 |
+
1,
|
| 172 |
+
0,
|
| 173 |
+
0
|
| 174 |
+
],
|
| 175 |
+
"pos": [
|
| 176 |
+
-0.52,
|
| 177 |
+
0.0,
|
| 178 |
+
1.47
|
| 179 |
+
],
|
| 180 |
+
"instance_id": "furniture/432"
|
| 181 |
+
},
|
| 182 |
+
{
|
| 183 |
+
"uid": "153277/model",
|
| 184 |
+
"jid": "c9102930-de4b-475b-9df9-e3b2385a14d4",
|
| 185 |
+
"size": [
|
| 186 |
+
0.7,
|
| 187 |
+
0.83,
|
| 188 |
+
0.73
|
| 189 |
+
],
|
| 190 |
+
"desc": "Modern minimalist brown fabric armchair with geometric black and white cushion, high backrest, angular armrests, and tapered wooden legs.",
|
| 191 |
+
"is_scaled": false,
|
| 192 |
+
"rot": [
|
| 193 |
+
0,
|
| 194 |
+
-0.80344,
|
| 195 |
+
0,
|
| 196 |
+
0.59538
|
| 197 |
+
],
|
| 198 |
+
"pos": [
|
| 199 |
+
1.19,
|
| 200 |
+
0.0,
|
| 201 |
+
0.25
|
| 202 |
+
],
|
| 203 |
+
"instance_id": "furniture/433"
|
| 204 |
+
},
|
| 205 |
+
{
|
| 206 |
+
"uid": "153286/model",
|
| 207 |
+
"jid": "2210ca84-730a-463d-9ed0-b34477a428b1",
|
| 208 |
+
"size": [
|
| 209 |
+
0.45,
|
| 210 |
+
0.6,
|
| 211 |
+
0.45
|
| 212 |
+
],
|
| 213 |
+
"desc": "Mid-century modern corner table with tapered wooden legs and a yellow dish-shaped top.",
|
| 214 |
+
"is_scaled": false,
|
| 215 |
+
"rot": [
|
| 216 |
+
0,
|
| 217 |
+
0,
|
| 218 |
+
0,
|
| 219 |
+
1
|
| 220 |
+
],
|
| 221 |
+
"pos": [
|
| 222 |
+
0.91,
|
| 223 |
+
0.0,
|
| 224 |
+
1.23
|
| 225 |
+
],
|
| 226 |
+
"instance_id": "furniture/434"
|
| 227 |
+
},
|
| 228 |
+
{
|
| 229 |
+
"uid": "153294/model",
|
| 230 |
+
"jid": "9cc6d87d-e891-4930-b8f2-ab463777b5bd",
|
| 231 |
+
"size": [
|
| 232 |
+
0.79,
|
| 233 |
+
1.8,
|
| 234 |
+
0.84
|
| 235 |
+
],
|
| 236 |
+
"desc": "Modern minimalist potted plant featuring a white cylindrical ceramic pot with vibrant green tall slender foliage.",
|
| 237 |
+
"is_scaled": false,
|
| 238 |
+
"rot": [
|
| 239 |
+
0,
|
| 240 |
+
0,
|
| 241 |
+
0,
|
| 242 |
+
1
|
| 243 |
+
],
|
| 244 |
+
"pos": [
|
| 245 |
+
-2.14,
|
| 246 |
+
0.0,
|
| 247 |
+
1.56
|
| 248 |
+
],
|
| 249 |
+
"instance_id": "furniture/435"
|
| 250 |
+
}
|
| 251 |
+
],
|
| 252 |
+
"doors": [
|
| 253 |
+
{
|
| 254 |
+
"uid": "809281593415530123/0",
|
| 255 |
+
"type": "door",
|
| 256 |
+
"pos": [
|
| 257 |
+
2.43,
|
| 258 |
+
1.05,
|
| 259 |
+
2.13
|
| 260 |
+
],
|
| 261 |
+
"size": [
|
| 262 |
+
1.13,
|
| 263 |
+
2.1,
|
| 264 |
+
0.3
|
| 265 |
+
],
|
| 266 |
+
"min_bounds": [
|
| 267 |
+
1.86,
|
| 268 |
+
0.0,
|
| 269 |
+
1.98
|
| 270 |
+
],
|
| 271 |
+
"max_bounds": [
|
| 272 |
+
2.99,
|
| 273 |
+
2.1,
|
| 274 |
+
2.28
|
| 275 |
+
]
|
| 276 |
+
},
|
| 277 |
+
{
|
| 278 |
+
"uid": "809541593415530127/0",
|
| 279 |
+
"type": "door",
|
| 280 |
+
"pos": [
|
| 281 |
+
2.43,
|
| 282 |
+
0.0,
|
| 283 |
+
2.13
|
| 284 |
+
],
|
| 285 |
+
"size": [
|
| 286 |
+
1.13,
|
| 287 |
+
0.0,
|
| 288 |
+
0.3
|
| 289 |
+
],
|
| 290 |
+
"min_bounds": [
|
| 291 |
+
1.86,
|
| 292 |
+
0.0,
|
| 293 |
+
1.98
|
| 294 |
+
],
|
| 295 |
+
"max_bounds": [
|
| 296 |
+
2.99,
|
| 297 |
+
0.0,
|
| 298 |
+
2.28
|
| 299 |
+
]
|
| 300 |
+
},
|
| 301 |
+
{
|
| 302 |
+
"uid": "809541593415530127/1",
|
| 303 |
+
"type": "door",
|
| 304 |
+
"pos": [
|
| 305 |
+
2.43,
|
| 306 |
+
0.0,
|
| 307 |
+
2.13
|
| 308 |
+
],
|
| 309 |
+
"size": [
|
| 310 |
+
1.13,
|
| 311 |
+
0.0,
|
| 312 |
+
0.3
|
| 313 |
+
],
|
| 314 |
+
"min_bounds": [
|
| 315 |
+
1.86,
|
| 316 |
+
0.0,
|
| 317 |
+
1.98
|
| 318 |
+
],
|
| 319 |
+
"max_bounds": [
|
| 320 |
+
2.99,
|
| 321 |
+
0.0,
|
| 322 |
+
2.28
|
| 323 |
+
]
|
| 324 |
+
}
|
| 325 |
+
],
|
| 326 |
+
"windows": [],
|
| 327 |
+
"floor_material": {
|
| 328 |
+
"jid": "c29597d7-dd62-48a4-bb1c-154f949cecd8",
|
| 329 |
+
"material_type": "flooring - hardwood",
|
| 330 |
+
"texture_path": "3D-FRONT-texture/c29597d7-dd62-48a4-bb1c-154f949cecd8/texture.png"
|
| 331 |
+
}
|
| 332 |
+
}
|
eval/respace/dataset-ssr3dfront_stage1_with_doors_windows/583eba18-07cb-439d-a095-3118a9281de8-3445be40-21c8-41f1-9a6f-1ae5ad88aabd.json
ADDED
|
@@ -0,0 +1,776 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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
| 88 |
+
2.6,
|
| 89 |
+
-6.0
|
| 90 |
+
],
|
| 91 |
+
[
|
| 92 |
+
-2.6,
|
| 93 |
+
2.6,
|
| 94 |
+
-6.0
|
| 95 |
+
],
|
| 96 |
+
[
|
| 97 |
+
-2.6,
|
| 98 |
+
2.6,
|
| 99 |
+
-5.8
|
| 100 |
+
],
|
| 101 |
+
[
|
| 102 |
+
-3.3,
|
| 103 |
+
2.6,
|
| 104 |
+
-5.8
|
| 105 |
+
]
|
| 106 |
+
],
|
| 107 |
+
"bounds_bottom": [
|
| 108 |
+
[
|
| 109 |
+
-3.3,
|
| 110 |
+
0.0,
|
| 111 |
+
6.0
|
| 112 |
+
],
|
| 113 |
+
[
|
| 114 |
+
1.2,
|
| 115 |
+
0.0,
|
| 116 |
+
6.0
|
| 117 |
+
],
|
| 118 |
+
[
|
| 119 |
+
1.2,
|
| 120 |
+
0.0,
|
| 121 |
+
0.4
|
| 122 |
+
],
|
| 123 |
+
[
|
| 124 |
+
1.6,
|
| 125 |
+
0.0,
|
| 126 |
+
0.4
|
| 127 |
+
],
|
| 128 |
+
[
|
| 129 |
+
1.6,
|
| 130 |
+
0.0,
|
| 131 |
+
0.7
|
| 132 |
+
],
|
| 133 |
+
[
|
| 134 |
+
2.4,
|
| 135 |
+
0.0,
|
| 136 |
+
0.7
|
| 137 |
+
],
|
| 138 |
+
[
|
| 139 |
+
2.4,
|
| 140 |
+
0.0,
|
| 141 |
+
0.4
|
| 142 |
+
],
|
| 143 |
+
[
|
| 144 |
+
3.1,
|
| 145 |
+
0.0,
|
| 146 |
+
0.4
|
| 147 |
+
],
|
| 148 |
+
[
|
| 149 |
+
3.1,
|
| 150 |
+
0.0,
|
| 151 |
+
0.2
|
| 152 |
+
],
|
| 153 |
+
[
|
| 154 |
+
3.3,
|
| 155 |
+
0.0,
|
| 156 |
+
0.2
|
| 157 |
+
],
|
| 158 |
+
[
|
| 159 |
+
3.3,
|
| 160 |
+
0.0,
|
| 161 |
+
-1.1
|
| 162 |
+
],
|
| 163 |
+
[
|
| 164 |
+
3.1,
|
| 165 |
+
0.0,
|
| 166 |
+
-1.1
|
| 167 |
+
],
|
| 168 |
+
[
|
| 169 |
+
3.1,
|
| 170 |
+
0.0,
|
| 171 |
+
-2.1
|
| 172 |
+
],
|
| 173 |
+
[
|
| 174 |
+
0.0,
|
| 175 |
+
0.0,
|
| 176 |
+
-2.1
|
| 177 |
+
],
|
| 178 |
+
[
|
| 179 |
+
0.0,
|
| 180 |
+
0.0,
|
| 181 |
+
-5.8
|
| 182 |
+
],
|
| 183 |
+
[
|
| 184 |
+
-0.3,
|
| 185 |
+
0.0,
|
| 186 |
+
-5.8
|
| 187 |
+
],
|
| 188 |
+
[
|
| 189 |
+
-0.3,
|
| 190 |
+
0.0,
|
| 191 |
+
-6.0
|
| 192 |
+
],
|
| 193 |
+
[
|
| 194 |
+
-2.6,
|
| 195 |
+
0.0,
|
| 196 |
+
-6.0
|
| 197 |
+
],
|
| 198 |
+
[
|
| 199 |
+
-2.6,
|
| 200 |
+
0.0,
|
| 201 |
+
-5.8
|
| 202 |
+
],
|
| 203 |
+
[
|
| 204 |
+
-3.3,
|
| 205 |
+
0.0,
|
| 206 |
+
-5.8
|
| 207 |
+
]
|
| 208 |
+
],
|
| 209 |
+
"objects": [
|
| 210 |
+
{
|
| 211 |
+
"uid": "194786/model1",
|
| 212 |
+
"jid": "9df43bc8-7d25-4ea0-a1da-46e5d73e9080",
|
| 213 |
+
"size": [
|
| 214 |
+
0.77,
|
| 215 |
+
1.2,
|
| 216 |
+
0.16
|
| 217 |
+
],
|
| 218 |
+
"desc": "A modern, minimalist gray wooden wine cabinet with geometric shelving and decorative accents, featuring multi-tiered storage and lower cabinets.",
|
| 219 |
+
"is_scaled": false,
|
| 220 |
+
"rot": [
|
| 221 |
+
0,
|
| 222 |
+
0.70711,
|
| 223 |
+
0,
|
| 224 |
+
0.70711
|
| 225 |
+
],
|
| 226 |
+
"pos": [
|
| 227 |
+
-3.18,
|
| 228 |
+
0.0,
|
| 229 |
+
-3.93
|
| 230 |
+
],
|
| 231 |
+
"instance_id": "furniture/103"
|
| 232 |
+
},
|
| 233 |
+
{
|
| 234 |
+
"uid": "186429/model",
|
| 235 |
+
"jid": "57f2a1f3-ea70-4960-9445-24042158a0a7",
|
| 236 |
+
"size": [
|
| 237 |
+
3.35,
|
| 238 |
+
0.87,
|
| 239 |
+
1.47
|
| 240 |
+
],
|
| 241 |
+
"desc": "A contemporary L-shaped modular sofa in neutral gray tones with fabric upholstery, low backrest, and minimalist design.",
|
| 242 |
+
"is_scaled": false,
|
| 243 |
+
"rot": [
|
| 244 |
+
0,
|
| 245 |
+
-0.70711,
|
| 246 |
+
0,
|
| 247 |
+
0.70711
|
| 248 |
+
],
|
| 249 |
+
"pos": [
|
| 250 |
+
0.33,
|
| 251 |
+
0.0,
|
| 252 |
+
3.33
|
| 253 |
+
],
|
| 254 |
+
"instance_id": "furniture/106"
|
| 255 |
+
},
|
| 256 |
+
{
|
| 257 |
+
"uid": "186434/model",
|
| 258 |
+
"jid": "1456d6b1-e19f-485a-be95-a0f79ecf2051",
|
| 259 |
+
"size": [
|
| 260 |
+
1.6,
|
| 261 |
+
0.75,
|
| 262 |
+
1.6
|
| 263 |
+
],
|
| 264 |
+
"desc": "A modern minimalist dining table with a round glass top and elegant curved marble base.",
|
| 265 |
+
"is_scaled": false,
|
| 266 |
+
"rot": [
|
| 267 |
+
0,
|
| 268 |
+
0.70711,
|
| 269 |
+
0,
|
| 270 |
+
0.70711
|
| 271 |
+
],
|
| 272 |
+
"pos": [
|
| 273 |
+
-1.46,
|
| 274 |
+
0.0,
|
| 275 |
+
-3.96
|
| 276 |
+
],
|
| 277 |
+
"instance_id": "furniture/107"
|
| 278 |
+
},
|
| 279 |
+
{
|
| 280 |
+
"uid": "186435/model",
|
| 281 |
+
"jid": "6d5abfe5-e8e6-46e4-a59a-77e4c8230c21",
|
| 282 |
+
"size": [
|
| 283 |
+
0.53,
|
| 284 |
+
0.92,
|
| 285 |
+
0.52
|
| 286 |
+
],
|
| 287 |
+
"desc": "Modern, high-back, grey leather upholstered dining chair with black tapered wooden legs and sleek design elements.",
|
| 288 |
+
"is_scaled": false,
|
| 289 |
+
"rot": [
|
| 290 |
+
0,
|
| 291 |
+
0.70711,
|
| 292 |
+
0,
|
| 293 |
+
0.70711
|
| 294 |
+
],
|
| 295 |
+
"pos": [
|
| 296 |
+
-2.14,
|
| 297 |
+
0.0,
|
| 298 |
+
-4.23
|
| 299 |
+
],
|
| 300 |
+
"instance_id": "furniture/108"
|
| 301 |
+
},
|
| 302 |
+
{
|
| 303 |
+
"uid": "186435/model",
|
| 304 |
+
"jid": "6d5abfe5-e8e6-46e4-a59a-77e4c8230c21",
|
| 305 |
+
"size": [
|
| 306 |
+
0.53,
|
| 307 |
+
0.92,
|
| 308 |
+
0.52
|
| 309 |
+
],
|
| 310 |
+
"desc": "Modern, high-back, grey leather upholstered dining chair with black tapered wooden legs and sleek design elements.",
|
| 311 |
+
"is_scaled": false,
|
| 312 |
+
"rot": [
|
| 313 |
+
0,
|
| 314 |
+
0.70711,
|
| 315 |
+
0,
|
| 316 |
+
0.70711
|
| 317 |
+
],
|
| 318 |
+
"pos": [
|
| 319 |
+
-2.14,
|
| 320 |
+
0.0,
|
| 321 |
+
-3.65
|
| 322 |
+
],
|
| 323 |
+
"instance_id": "furniture/109"
|
| 324 |
+
},
|
| 325 |
+
{
|
| 326 |
+
"uid": "186435/model",
|
| 327 |
+
"jid": "6d5abfe5-e8e6-46e4-a59a-77e4c8230c21",
|
| 328 |
+
"size": [
|
| 329 |
+
0.53,
|
| 330 |
+
0.92,
|
| 331 |
+
0.52
|
| 332 |
+
],
|
| 333 |
+
"desc": "Modern, high-back, grey leather upholstered dining chair with black tapered wooden legs and sleek design elements.",
|
| 334 |
+
"is_scaled": false,
|
| 335 |
+
"rot": [
|
| 336 |
+
0,
|
| 337 |
+
-0.70711,
|
| 338 |
+
0,
|
| 339 |
+
0.70711
|
| 340 |
+
],
|
| 341 |
+
"pos": [
|
| 342 |
+
-0.8,
|
| 343 |
+
0.0,
|
| 344 |
+
-4.22
|
| 345 |
+
],
|
| 346 |
+
"instance_id": "furniture/110"
|
| 347 |
+
},
|
| 348 |
+
{
|
| 349 |
+
"uid": "186435/model",
|
| 350 |
+
"jid": "6d5abfe5-e8e6-46e4-a59a-77e4c8230c21",
|
| 351 |
+
"size": [
|
| 352 |
+
0.53,
|
| 353 |
+
0.92,
|
| 354 |
+
0.52
|
| 355 |
+
],
|
| 356 |
+
"desc": "Modern, high-back, grey leather upholstered dining chair with black tapered wooden legs and sleek design elements.",
|
| 357 |
+
"is_scaled": false,
|
| 358 |
+
"rot": [
|
| 359 |
+
0,
|
| 360 |
+
-0.70711,
|
| 361 |
+
0,
|
| 362 |
+
0.70711
|
| 363 |
+
],
|
| 364 |
+
"pos": [
|
| 365 |
+
-0.79,
|
| 366 |
+
0.0,
|
| 367 |
+
-3.64
|
| 368 |
+
],
|
| 369 |
+
"instance_id": "furniture/111"
|
| 370 |
+
},
|
| 371 |
+
{
|
| 372 |
+
"uid": "188786/model",
|
| 373 |
+
"jid": "123532da-e5e4-4d3a-b2a6-12e13ddc910e",
|
| 374 |
+
"size": [
|
| 375 |
+
0.43,
|
| 376 |
+
1.71,
|
| 377 |
+
0.62
|
| 378 |
+
],
|
| 379 |
+
"desc": "Contemporary floor lamp with a minimalist tripod base, slender metal legs, and a white cylindrical fabric shade.",
|
| 380 |
+
"is_scaled": false,
|
| 381 |
+
"rot": [
|
| 382 |
+
0,
|
| 383 |
+
0,
|
| 384 |
+
0,
|
| 385 |
+
1
|
| 386 |
+
],
|
| 387 |
+
"pos": [
|
| 388 |
+
0.75,
|
| 389 |
+
0.0,
|
| 390 |
+
0.97
|
| 391 |
+
],
|
| 392 |
+
"instance_id": "furniture/112"
|
| 393 |
+
},
|
| 394 |
+
{
|
| 395 |
+
"uid": "188893/model",
|
| 396 |
+
"jid": "165a843d-1726-43a9-b6f7-931a71bfde10",
|
| 397 |
+
"size": [
|
| 398 |
+
0.83,
|
| 399 |
+
1.8,
|
| 400 |
+
0.8
|
| 401 |
+
],
|
| 402 |
+
"desc": "A modern, minimalist potted artificial topiary with a sleek ceramic pot and realistic dark green leaves.",
|
| 403 |
+
"is_scaled": false,
|
| 404 |
+
"rot": [
|
| 405 |
+
0,
|
| 406 |
+
0,
|
| 407 |
+
0,
|
| 408 |
+
1
|
| 409 |
+
],
|
| 410 |
+
"pos": [
|
| 411 |
+
-2.9,
|
| 412 |
+
0.0,
|
| 413 |
+
0.6
|
| 414 |
+
],
|
| 415 |
+
"instance_id": "furniture/128"
|
| 416 |
+
},
|
| 417 |
+
{
|
| 418 |
+
"uid": "188897/model",
|
| 419 |
+
"jid": "c5b6b7c1-55f8-470a-9fb8-83e5f5bec1a7",
|
| 420 |
+
"size": [
|
| 421 |
+
0.42,
|
| 422 |
+
1.99,
|
| 423 |
+
0.42
|
| 424 |
+
],
|
| 425 |
+
"desc": "A sleek, modern, champagne gold cylindrical air purifier with a minimalistic design, digital display, and compact footprint.",
|
| 426 |
+
"is_scaled": false,
|
| 427 |
+
"rot": [
|
| 428 |
+
0,
|
| 429 |
+
0.88855,
|
| 430 |
+
0,
|
| 431 |
+
0.45878
|
| 432 |
+
],
|
| 433 |
+
"pos": [
|
| 434 |
+
-2.99,
|
| 435 |
+
0.0,
|
| 436 |
+
5.35
|
| 437 |
+
],
|
| 438 |
+
"instance_id": "furniture/129"
|
| 439 |
+
},
|
| 440 |
+
{
|
| 441 |
+
"uid": "188957/model",
|
| 442 |
+
"jid": "3f80a5f1-0c85-4b36-8ef5-0a020b6bd18c",
|
| 443 |
+
"size": [
|
| 444 |
+
1.37,
|
| 445 |
+
1.0,
|
| 446 |
+
0.49
|
| 447 |
+
],
|
| 448 |
+
"desc": "Ornately carved Baroque-Rococo sideboard with antique white finish and gold accents, featuring three drawers, two side cabinets, floral motifs, and curved legs.",
|
| 449 |
+
"is_scaled": false,
|
| 450 |
+
"rot": [
|
| 451 |
+
0,
|
| 452 |
+
0,
|
| 453 |
+
0,
|
| 454 |
+
1
|
| 455 |
+
],
|
| 456 |
+
"pos": [
|
| 457 |
+
2.23,
|
| 458 |
+
0.0,
|
| 459 |
+
-1.83
|
| 460 |
+
],
|
| 461 |
+
"instance_id": "furniture/131"
|
| 462 |
+
},
|
| 463 |
+
{
|
| 464 |
+
"uid": "190780/model",
|
| 465 |
+
"jid": "529ef555-71af-4a18-9c5a-a6a831e6d319",
|
| 466 |
+
"size": [
|
| 467 |
+
0.16,
|
| 468 |
+
0.53,
|
| 469 |
+
0.16
|
| 470 |
+
],
|
| 471 |
+
"desc": "A modern minimalist pendant lamp featuring a polished metal conical shade and a wooden top, blending contemporary and natural design elements.",
|
| 472 |
+
"is_scaled": false,
|
| 473 |
+
"rot": [
|
| 474 |
+
0,
|
| 475 |
+
-0.70711,
|
| 476 |
+
0,
|
| 477 |
+
0.70711
|
| 478 |
+
],
|
| 479 |
+
"pos": [
|
| 480 |
+
-1.5,
|
| 481 |
+
2.07,
|
| 482 |
+
-3.94
|
| 483 |
+
],
|
| 484 |
+
"instance_id": "furniture/150"
|
| 485 |
+
},
|
| 486 |
+
{
|
| 487 |
+
"uid": "190782/model",
|
| 488 |
+
"jid": "b0e7e16a-35fe-402c-864f-5c96d6889cde",
|
| 489 |
+
"size": [
|
| 490 |
+
1.03,
|
| 491 |
+
0.77,
|
| 492 |
+
1.0
|
| 493 |
+
],
|
| 494 |
+
"desc": "A modern industrial pendant lamp with a circular shape, gray crisscross pattern, and two distinctive gold bands, offering a unique blend of metallic textures and contemporary design.",
|
| 495 |
+
"is_scaled": false,
|
| 496 |
+
"rot": [
|
| 497 |
+
0,
|
| 498 |
+
0,
|
| 499 |
+
0,
|
| 500 |
+
1
|
| 501 |
+
],
|
| 502 |
+
"pos": [
|
| 503 |
+
-1.06,
|
| 504 |
+
1.83,
|
| 505 |
+
2.96
|
| 506 |
+
],
|
| 507 |
+
"instance_id": "furniture/151"
|
| 508 |
+
},
|
| 509 |
+
{
|
| 510 |
+
"uid": "193184/model",
|
| 511 |
+
"jid": "9e5e579d-95bc-41fc-98f9-8b02c4bca4f2",
|
| 512 |
+
"size": [
|
| 513 |
+
0.93,
|
| 514 |
+
0.38,
|
| 515 |
+
0.81
|
| 516 |
+
],
|
| 517 |
+
"desc": "A modern, minimalist light gray rectangular footstool with smooth fabric upholstery and a low-profile wooden base.",
|
| 518 |
+
"is_scaled": false,
|
| 519 |
+
"rot": [
|
| 520 |
+
0,
|
| 521 |
+
0,
|
| 522 |
+
0,
|
| 523 |
+
1
|
| 524 |
+
],
|
| 525 |
+
"pos": [
|
| 526 |
+
-0.89,
|
| 527 |
+
0.0,
|
| 528 |
+
1.03
|
| 529 |
+
],
|
| 530 |
+
"instance_id": "furniture/152"
|
| 531 |
+
},
|
| 532 |
+
{
|
| 533 |
+
"uid": "193185/model",
|
| 534 |
+
"jid": "de9d6511-cfcc-4894-82f9-8fe2f6d062d3",
|
| 535 |
+
"size": [
|
| 536 |
+
1.99,
|
| 537 |
+
0.93,
|
| 538 |
+
1.12
|
| 539 |
+
],
|
| 540 |
+
"desc": "A modern, minimalist coffee table featuring a tiered rectangular design, white marble and wood surfaces, and integrated storage, blending functionality with a clean geometric aesthetic.",
|
| 541 |
+
"is_scaled": false,
|
| 542 |
+
"rot": [
|
| 543 |
+
0,
|
| 544 |
+
-0.70711,
|
| 545 |
+
0,
|
| 546 |
+
0.70711
|
| 547 |
+
],
|
| 548 |
+
"pos": [
|
| 549 |
+
-1.39,
|
| 550 |
+
0.0,
|
| 551 |
+
3.33
|
| 552 |
+
],
|
| 553 |
+
"instance_id": "furniture/153"
|
| 554 |
+
},
|
| 555 |
+
{
|
| 556 |
+
"uid": "193186/model",
|
| 557 |
+
"jid": "2e644b55-8538-463b-98c2-8172678362f9",
|
| 558 |
+
"size": [
|
| 559 |
+
2.6,
|
| 560 |
+
0.55,
|
| 561 |
+
0.5
|
| 562 |
+
],
|
| 563 |
+
"desc": "Modern minimalist TV stand with light wood finish, white accents, clean lines, and both open shelving and closed cabinets for versatile storage.",
|
| 564 |
+
"is_scaled": false,
|
| 565 |
+
"rot": [
|
| 566 |
+
0,
|
| 567 |
+
0.70711,
|
| 568 |
+
0,
|
| 569 |
+
0.70711
|
| 570 |
+
],
|
| 571 |
+
"pos": [
|
| 572 |
+
-3.03,
|
| 573 |
+
0.0,
|
| 574 |
+
2.94
|
| 575 |
+
],
|
| 576 |
+
"instance_id": "furniture/154"
|
| 577 |
+
},
|
| 578 |
+
{
|
| 579 |
+
"uid": "195014/model",
|
| 580 |
+
"jid": "8164e0ef-5dba-4ca0-888b-54706c212df0",
|
| 581 |
+
"size": [
|
| 582 |
+
0.4,
|
| 583 |
+
0.39,
|
| 584 |
+
0.4
|
| 585 |
+
],
|
| 586 |
+
"desc": "A modern gray metal corner/side table with a minimalist design, square top with rounded corners, and a distinctive triangular three-legged base.",
|
| 587 |
+
"is_scaled": false,
|
| 588 |
+
"rot": [
|
| 589 |
+
0,
|
| 590 |
+
0,
|
| 591 |
+
0,
|
| 592 |
+
1
|
| 593 |
+
],
|
| 594 |
+
"pos": [
|
| 595 |
+
0.75,
|
| 596 |
+
0.0,
|
| 597 |
+
1.43
|
| 598 |
+
],
|
| 599 |
+
"instance_id": "furniture/157"
|
| 600 |
+
},
|
| 601 |
+
{
|
| 602 |
+
"uid": "195424/model",
|
| 603 |
+
"jid": "6de640e5-78f3-4653-8764-36445e75b923-(1.17)-(1.0)-(0.97)",
|
| 604 |
+
"size": [
|
| 605 |
+
0.25,
|
| 606 |
+
0.25,
|
| 607 |
+
0.21
|
| 608 |
+
],
|
| 609 |
+
"desc": "A modern minimalist table lamp with a black cylindrical metal base and a clear spherical glass shade featuring an exposed bulb, creating a sleek and reflective design.",
|
| 610 |
+
"is_scaled": true,
|
| 611 |
+
"rot": [
|
| 612 |
+
0,
|
| 613 |
+
0,
|
| 614 |
+
0,
|
| 615 |
+
1
|
| 616 |
+
],
|
| 617 |
+
"pos": [
|
| 618 |
+
-2.92,
|
| 619 |
+
0.0,
|
| 620 |
+
1.06
|
| 621 |
+
],
|
| 622 |
+
"instance_id": "furniture/159"
|
| 623 |
+
},
|
| 624 |
+
{
|
| 625 |
+
"uid": "195424/model",
|
| 626 |
+
"jid": "6de640e5-78f3-4653-8764-36445e75b923-(1.17)-(1.0)-(0.97)",
|
| 627 |
+
"size": [
|
| 628 |
+
0.25,
|
| 629 |
+
0.25,
|
| 630 |
+
0.21
|
| 631 |
+
],
|
| 632 |
+
"desc": "A modern minimalist table lamp with a black cylindrical metal base and a clear spherical glass shade featuring an exposed bulb, creating a sleek and reflective design.",
|
| 633 |
+
"is_scaled": true,
|
| 634 |
+
"rot": [
|
| 635 |
+
0,
|
| 636 |
+
0,
|
| 637 |
+
0,
|
| 638 |
+
1
|
| 639 |
+
],
|
| 640 |
+
"pos": [
|
| 641 |
+
-2.99,
|
| 642 |
+
0.0,
|
| 643 |
+
4.52
|
| 644 |
+
],
|
| 645 |
+
"instance_id": "furniture/160"
|
| 646 |
+
},
|
| 647 |
+
{
|
| 648 |
+
"uid": "188957/model",
|
| 649 |
+
"jid": "3f80a5f1-0c85-4b36-8ef5-0a020b6bd18c",
|
| 650 |
+
"size": [
|
| 651 |
+
1.37,
|
| 652 |
+
1.0,
|
| 653 |
+
0.49
|
| 654 |
+
],
|
| 655 |
+
"desc": "Ornately carved Baroque-Rococo sideboard with antique white finish and gold accents, featuring three drawers, two side cabinets, floral motifs, and curved legs.",
|
| 656 |
+
"is_scaled": false,
|
| 657 |
+
"rot": [
|
| 658 |
+
0,
|
| 659 |
+
0,
|
| 660 |
+
0,
|
| 661 |
+
1
|
| 662 |
+
],
|
| 663 |
+
"pos": [
|
| 664 |
+
0.82,
|
| 665 |
+
0.0,
|
| 666 |
+
-1.83
|
| 667 |
+
],
|
| 668 |
+
"instance_id": "furniture/161"
|
| 669 |
+
}
|
| 670 |
+
],
|
| 671 |
+
"doors": [
|
| 672 |
+
{
|
| 673 |
+
"uid": "1866751589511341705/0",
|
| 674 |
+
"type": "door",
|
| 675 |
+
"pos": [
|
| 676 |
+
-1.46,
|
| 677 |
+
1.1,
|
| 678 |
+
-5.92
|
| 679 |
+
],
|
| 680 |
+
"size": [
|
| 681 |
+
2.3,
|
| 682 |
+
2.2,
|
| 683 |
+
0.24
|
| 684 |
+
],
|
| 685 |
+
"min_bounds": [
|
| 686 |
+
-2.61,
|
| 687 |
+
-0.0,
|
| 688 |
+
-6.04
|
| 689 |
+
],
|
| 690 |
+
"max_bounds": [
|
| 691 |
+
-0.31,
|
| 692 |
+
2.2,
|
| 693 |
+
-5.8
|
| 694 |
+
]
|
| 695 |
+
},
|
| 696 |
+
{
|
| 697 |
+
"uid": "1869711589511341723/0",
|
| 698 |
+
"type": "door",
|
| 699 |
+
"pos": [
|
| 700 |
+
1.95,
|
| 701 |
+
1.02,
|
| 702 |
+
0.54
|
| 703 |
+
],
|
| 704 |
+
"size": [
|
| 705 |
+
0.8,
|
| 706 |
+
2.04,
|
| 707 |
+
0.24
|
| 708 |
+
],
|
| 709 |
+
"min_bounds": [
|
| 710 |
+
1.55,
|
| 711 |
+
0.0,
|
| 712 |
+
0.42
|
| 713 |
+
],
|
| 714 |
+
"max_bounds": [
|
| 715 |
+
2.36,
|
| 716 |
+
2.04,
|
| 717 |
+
0.66
|
| 718 |
+
]
|
| 719 |
+
},
|
| 720 |
+
{
|
| 721 |
+
"uid": "1879621589511341839/0",
|
| 722 |
+
"type": "door",
|
| 723 |
+
"pos": [
|
| 724 |
+
3.19,
|
| 725 |
+
1.02,
|
| 726 |
+
-0.47
|
| 727 |
+
],
|
| 728 |
+
"size": [
|
| 729 |
+
0.24,
|
| 730 |
+
2.04,
|
| 731 |
+
1.3
|
| 732 |
+
],
|
| 733 |
+
"min_bounds": [
|
| 734 |
+
3.07,
|
| 735 |
+
0.0,
|
| 736 |
+
-1.12
|
| 737 |
+
],
|
| 738 |
+
"max_bounds": [
|
| 739 |
+
3.31,
|
| 740 |
+
2.04,
|
| 741 |
+
0.18
|
| 742 |
+
]
|
| 743 |
+
}
|
| 744 |
+
],
|
| 745 |
+
"windows": [
|
| 746 |
+
{
|
| 747 |
+
"uid": "1783421589511341565/0",
|
| 748 |
+
"type": "window",
|
| 749 |
+
"pos": [
|
| 750 |
+
-1.03,
|
| 751 |
+
1.28,
|
| 752 |
+
6.07
|
| 753 |
+
],
|
| 754 |
+
"size": [
|
| 755 |
+
3.21,
|
| 756 |
+
2.17,
|
| 757 |
+
0.24
|
| 758 |
+
],
|
| 759 |
+
"min_bounds": [
|
| 760 |
+
-2.64,
|
| 761 |
+
0.2,
|
| 762 |
+
5.95
|
| 763 |
+
],
|
| 764 |
+
"max_bounds": [
|
| 765 |
+
0.57,
|
| 766 |
+
2.37,
|
| 767 |
+
6.19
|
| 768 |
+
]
|
| 769 |
+
}
|
| 770 |
+
],
|
| 771 |
+
"floor_material": {
|
| 772 |
+
"jid": "fdf34bee-e33d-4059-95ea-93e8db75d552",
|
| 773 |
+
"material_type": "flooring - hardwood",
|
| 774 |
+
"texture_path": "3D-FRONT-texture/fdf34bee-e33d-4059-95ea-93e8db75d552/texture.png"
|
| 775 |
+
}
|
| 776 |
+
}
|
eval/respace/dataset-ssr3dfront_stage1_with_doors_windows/5ed691b6-9633-47ca-a0f0-5069079b2852-30bb8c25-aa5d-48df-8103-6b14fcceab64.json
ADDED
|
@@ -0,0 +1,706 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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| 7 |
+
-4.45,
|
| 8 |
+
2.8,
|
| 9 |
+
2.2
|
| 10 |
+
],
|
| 11 |
+
[
|
| 12 |
+
-2.25,
|
| 13 |
+
2.8,
|
| 14 |
+
2.2
|
| 15 |
+
],
|
| 16 |
+
[
|
| 17 |
+
-2.25,
|
| 18 |
+
2.8,
|
| 19 |
+
1.2
|
| 20 |
+
],
|
| 21 |
+
[
|
| 22 |
+
3.75,
|
| 23 |
+
2.8,
|
| 24 |
+
1.2
|
| 25 |
+
],
|
| 26 |
+
[
|
| 27 |
+
3.75,
|
| 28 |
+
2.8,
|
| 29 |
+
0.7
|
| 30 |
+
],
|
| 31 |
+
[
|
| 32 |
+
4.45,
|
| 33 |
+
2.8,
|
| 34 |
+
0.7
|
| 35 |
+
],
|
| 36 |
+
[
|
| 37 |
+
4.45,
|
| 38 |
+
2.8,
|
| 39 |
+
-2.2
|
| 40 |
+
],
|
| 41 |
+
[
|
| 42 |
+
-0.95,
|
| 43 |
+
2.8,
|
| 44 |
+
-2.2
|
| 45 |
+
],
|
| 46 |
+
[
|
| 47 |
+
-0.95,
|
| 48 |
+
2.8,
|
| 49 |
+
-0.3
|
| 50 |
+
],
|
| 51 |
+
[
|
| 52 |
+
-4.45,
|
| 53 |
+
2.8,
|
| 54 |
+
-0.3
|
| 55 |
+
]
|
| 56 |
+
],
|
| 57 |
+
"bounds_bottom": [
|
| 58 |
+
[
|
| 59 |
+
-4.45,
|
| 60 |
+
0.0,
|
| 61 |
+
2.2
|
| 62 |
+
],
|
| 63 |
+
[
|
| 64 |
+
-2.25,
|
| 65 |
+
0.0,
|
| 66 |
+
2.2
|
| 67 |
+
],
|
| 68 |
+
[
|
| 69 |
+
-2.25,
|
| 70 |
+
0.0,
|
| 71 |
+
1.2
|
| 72 |
+
],
|
| 73 |
+
[
|
| 74 |
+
3.75,
|
| 75 |
+
0.0,
|
| 76 |
+
1.2
|
| 77 |
+
],
|
| 78 |
+
[
|
| 79 |
+
3.75,
|
| 80 |
+
0.0,
|
| 81 |
+
0.7
|
| 82 |
+
],
|
| 83 |
+
[
|
| 84 |
+
4.45,
|
| 85 |
+
0.0,
|
| 86 |
+
0.7
|
| 87 |
+
],
|
| 88 |
+
[
|
| 89 |
+
4.45,
|
| 90 |
+
0.0,
|
| 91 |
+
-2.2
|
| 92 |
+
],
|
| 93 |
+
[
|
| 94 |
+
-0.95,
|
| 95 |
+
0.0,
|
| 96 |
+
-2.2
|
| 97 |
+
],
|
| 98 |
+
[
|
| 99 |
+
-0.95,
|
| 100 |
+
0.0,
|
| 101 |
+
-0.3
|
| 102 |
+
],
|
| 103 |
+
[
|
| 104 |
+
-4.45,
|
| 105 |
+
0.0,
|
| 106 |
+
-0.3
|
| 107 |
+
]
|
| 108 |
+
],
|
| 109 |
+
"objects": [
|
| 110 |
+
{
|
| 111 |
+
"uid": "5533/model",
|
| 112 |
+
"jid": "2d22eef5-ddbd-47f9-9125-69d4678bfeb5",
|
| 113 |
+
"size": [
|
| 114 |
+
2.2,
|
| 115 |
+
0.73,
|
| 116 |
+
0.92
|
| 117 |
+
],
|
| 118 |
+
"desc": "A contemporary industrial dining table featuring a blend of gray metal and natural wood, with a rectangular shape, wooden-edged top, and distinctive curved metal legs.",
|
| 119 |
+
"is_scaled": false,
|
| 120 |
+
"rot": [
|
| 121 |
+
0,
|
| 122 |
+
0.70711,
|
| 123 |
+
0,
|
| 124 |
+
0.70711
|
| 125 |
+
],
|
| 126 |
+
"pos": [
|
| 127 |
+
0.21,
|
| 128 |
+
0.0,
|
| 129 |
+
-1.08
|
| 130 |
+
],
|
| 131 |
+
"instance_id": "furniture/119"
|
| 132 |
+
},
|
| 133 |
+
{
|
| 134 |
+
"uid": "5534/model",
|
| 135 |
+
"jid": "81b888c5-1b37-4ed3-abec-e67cc3b03156",
|
| 136 |
+
"size": [
|
| 137 |
+
0.51,
|
| 138 |
+
0.88,
|
| 139 |
+
0.62
|
| 140 |
+
],
|
| 141 |
+
"desc": "A contemporary dining chair with a diamond-tufted high backrest and armrests, featuring beige-brown striped fabric and sleek wooden legs.",
|
| 142 |
+
"is_scaled": false,
|
| 143 |
+
"rot": [
|
| 144 |
+
0,
|
| 145 |
+
0.70612,
|
| 146 |
+
0,
|
| 147 |
+
0.70809
|
| 148 |
+
],
|
| 149 |
+
"pos": [
|
| 150 |
+
-0.49,
|
| 151 |
+
0.0,
|
| 152 |
+
-1.8
|
| 153 |
+
],
|
| 154 |
+
"instance_id": "furniture/120"
|
| 155 |
+
},
|
| 156 |
+
{
|
| 157 |
+
"uid": "5534/model",
|
| 158 |
+
"jid": "81b888c5-1b37-4ed3-abec-e67cc3b03156",
|
| 159 |
+
"size": [
|
| 160 |
+
0.51,
|
| 161 |
+
0.88,
|
| 162 |
+
0.62
|
| 163 |
+
],
|
| 164 |
+
"desc": "A contemporary dining chair with a diamond-tufted high backrest and armrests, featuring beige-brown striped fabric and sleek wooden legs.",
|
| 165 |
+
"is_scaled": false,
|
| 166 |
+
"rot": [
|
| 167 |
+
0,
|
| 168 |
+
0.70612,
|
| 169 |
+
0,
|
| 170 |
+
0.70809
|
| 171 |
+
],
|
| 172 |
+
"pos": [
|
| 173 |
+
-0.49,
|
| 174 |
+
0.0,
|
| 175 |
+
-1.16
|
| 176 |
+
],
|
| 177 |
+
"instance_id": "furniture/121"
|
| 178 |
+
},
|
| 179 |
+
{
|
| 180 |
+
"uid": "5534/model",
|
| 181 |
+
"jid": "81b888c5-1b37-4ed3-abec-e67cc3b03156",
|
| 182 |
+
"size": [
|
| 183 |
+
0.51,
|
| 184 |
+
0.88,
|
| 185 |
+
0.62
|
| 186 |
+
],
|
| 187 |
+
"desc": "A contemporary dining chair with a diamond-tufted high backrest and armrests, featuring beige-brown striped fabric and sleek wooden legs.",
|
| 188 |
+
"is_scaled": false,
|
| 189 |
+
"rot": [
|
| 190 |
+
0,
|
| 191 |
+
-0.70395,
|
| 192 |
+
0,
|
| 193 |
+
0.71025
|
| 194 |
+
],
|
| 195 |
+
"pos": [
|
| 196 |
+
0.92,
|
| 197 |
+
0.0,
|
| 198 |
+
-1.15
|
| 199 |
+
],
|
| 200 |
+
"instance_id": "furniture/122"
|
| 201 |
+
},
|
| 202 |
+
{
|
| 203 |
+
"uid": "5534/model",
|
| 204 |
+
"jid": "81b888c5-1b37-4ed3-abec-e67cc3b03156",
|
| 205 |
+
"size": [
|
| 206 |
+
0.51,
|
| 207 |
+
0.88,
|
| 208 |
+
0.62
|
| 209 |
+
],
|
| 210 |
+
"desc": "A contemporary dining chair with a diamond-tufted high backrest and armrests, featuring beige-brown striped fabric and sleek wooden legs.",
|
| 211 |
+
"is_scaled": false,
|
| 212 |
+
"rot": [
|
| 213 |
+
0,
|
| 214 |
+
-0.70395,
|
| 215 |
+
0,
|
| 216 |
+
0.71025
|
| 217 |
+
],
|
| 218 |
+
"pos": [
|
| 219 |
+
0.92,
|
| 220 |
+
0.0,
|
| 221 |
+
-1.8
|
| 222 |
+
],
|
| 223 |
+
"instance_id": "furniture/123"
|
| 224 |
+
},
|
| 225 |
+
{
|
| 226 |
+
"uid": "5552/model",
|
| 227 |
+
"jid": "6d9b2c0d-0aab-4a55-9ca5-24b8f6d87eda",
|
| 228 |
+
"size": [
|
| 229 |
+
2.12,
|
| 230 |
+
0.84,
|
| 231 |
+
0.93
|
| 232 |
+
],
|
| 233 |
+
"desc": "Charming Chesterfield loveseat with tufted beige velvet upholstery, dark brown cushions, and tapered wood legs.",
|
| 234 |
+
"is_scaled": false,
|
| 235 |
+
"rot": [
|
| 236 |
+
0,
|
| 237 |
+
0,
|
| 238 |
+
0,
|
| 239 |
+
1
|
| 240 |
+
],
|
| 241 |
+
"pos": [
|
| 242 |
+
2.97,
|
| 243 |
+
0.0,
|
| 244 |
+
-1.67
|
| 245 |
+
],
|
| 246 |
+
"instance_id": "furniture/124"
|
| 247 |
+
},
|
| 248 |
+
{
|
| 249 |
+
"uid": "5798/model",
|
| 250 |
+
"jid": "411a9753-038b-43c9-96fe-d580ee23e23c",
|
| 251 |
+
"size": [
|
| 252 |
+
0.65,
|
| 253 |
+
0.48,
|
| 254 |
+
0.65
|
| 255 |
+
],
|
| 256 |
+
"desc": "Traditional oriental-style dark brown wooden coffee table with intricate gold scrollwork, a sturdy base, and an inset glass top.",
|
| 257 |
+
"is_scaled": false,
|
| 258 |
+
"rot": [
|
| 259 |
+
0,
|
| 260 |
+
0.70711,
|
| 261 |
+
0,
|
| 262 |
+
-0.70711
|
| 263 |
+
],
|
| 264 |
+
"pos": [
|
| 265 |
+
3.0,
|
| 266 |
+
0.0,
|
| 267 |
+
-0.45
|
| 268 |
+
],
|
| 269 |
+
"instance_id": "furniture/125"
|
| 270 |
+
},
|
| 271 |
+
{
|
| 272 |
+
"uid": "5799/model",
|
| 273 |
+
"jid": "c390f121-819e-4405-896a-1e60a357edcb",
|
| 274 |
+
"size": [
|
| 275 |
+
2.23,
|
| 276 |
+
0.99,
|
| 277 |
+
0.51
|
| 278 |
+
],
|
| 279 |
+
"desc": "A dark gray wooden TV stand combining modern and classic styles with ornate legs and decorative accents, featuring a rectangular shape and smooth finish.",
|
| 280 |
+
"is_scaled": false,
|
| 281 |
+
"rot": [
|
| 282 |
+
0,
|
| 283 |
+
-1,
|
| 284 |
+
0,
|
| 285 |
+
0
|
| 286 |
+
],
|
| 287 |
+
"pos": [
|
| 288 |
+
2.54,
|
| 289 |
+
0.0,
|
| 290 |
+
0.94
|
| 291 |
+
],
|
| 292 |
+
"instance_id": "furniture/126"
|
| 293 |
+
},
|
| 294 |
+
{
|
| 295 |
+
"uid": "5802/model",
|
| 296 |
+
"jid": "ed3217e9-adaa-4e05-b7cb-d1e2a9b7bbf1",
|
| 297 |
+
"size": [
|
| 298 |
+
0.53,
|
| 299 |
+
0.47,
|
| 300 |
+
0.52
|
| 301 |
+
],
|
| 302 |
+
"desc": "Neoclassical-inspired modern side table with silver frame and glass shelf, featuring curved legs and decorative accents.",
|
| 303 |
+
"is_scaled": false,
|
| 304 |
+
"rot": [
|
| 305 |
+
0,
|
| 306 |
+
0,
|
| 307 |
+
0,
|
| 308 |
+
1
|
| 309 |
+
],
|
| 310 |
+
"pos": [
|
| 311 |
+
1.66,
|
| 312 |
+
0.0,
|
| 313 |
+
-1.72
|
| 314 |
+
],
|
| 315 |
+
"instance_id": "furniture/128"
|
| 316 |
+
},
|
| 317 |
+
{
|
| 318 |
+
"uid": "5810/model",
|
| 319 |
+
"jid": "28d2dfc7-6f31-4eae-9a5c-ea61533004ee",
|
| 320 |
+
"size": [
|
| 321 |
+
0.44,
|
| 322 |
+
0.69,
|
| 323 |
+
0.41
|
| 324 |
+
],
|
| 325 |
+
"desc": "Modern decorative artificial plant with dense green foliage in a minimalist white cylindrical ceramic pot.",
|
| 326 |
+
"is_scaled": false,
|
| 327 |
+
"rot": [
|
| 328 |
+
0,
|
| 329 |
+
0,
|
| 330 |
+
0,
|
| 331 |
+
1
|
| 332 |
+
],
|
| 333 |
+
"pos": [
|
| 334 |
+
3.67,
|
| 335 |
+
0.0,
|
| 336 |
+
1.02
|
| 337 |
+
],
|
| 338 |
+
"instance_id": "furniture/134"
|
| 339 |
+
},
|
| 340 |
+
{
|
| 341 |
+
"uid": "5830/model",
|
| 342 |
+
"jid": "f9f48d60-7095-45e9-b8e6-bbae308ea40d",
|
| 343 |
+
"size": [
|
| 344 |
+
0.69,
|
| 345 |
+
2.47,
|
| 346 |
+
0.36
|
| 347 |
+
],
|
| 348 |
+
"desc": "Transitional tall white wooden bookcase with shelves and lower cabinet featuring panel doors.",
|
| 349 |
+
"is_scaled": false,
|
| 350 |
+
"rot": [
|
| 351 |
+
0,
|
| 352 |
+
1,
|
| 353 |
+
0,
|
| 354 |
+
0
|
| 355 |
+
],
|
| 356 |
+
"pos": [
|
| 357 |
+
-2.78,
|
| 358 |
+
0.0,
|
| 359 |
+
1.96
|
| 360 |
+
],
|
| 361 |
+
"instance_id": "furniture/139"
|
| 362 |
+
},
|
| 363 |
+
{
|
| 364 |
+
"uid": "6085/model",
|
| 365 |
+
"jid": "c2455922-3285-443f-886c-73a06874423d",
|
| 366 |
+
"size": [
|
| 367 |
+
0.4,
|
| 368 |
+
0.45,
|
| 369 |
+
0.39
|
| 370 |
+
],
|
| 371 |
+
"desc": "Elegant Art Nouveau pendant lamp with ornate stained glass dome and bronze accents.",
|
| 372 |
+
"is_scaled": false,
|
| 373 |
+
"rot": [
|
| 374 |
+
0,
|
| 375 |
+
0,
|
| 376 |
+
0,
|
| 377 |
+
1
|
| 378 |
+
],
|
| 379 |
+
"pos": [
|
| 380 |
+
2.16,
|
| 381 |
+
2.75,
|
| 382 |
+
-0.46
|
| 383 |
+
],
|
| 384 |
+
"instance_id": "furniture/141"
|
| 385 |
+
},
|
| 386 |
+
{
|
| 387 |
+
"uid": "6091/model",
|
| 388 |
+
"jid": "2bc40317-96e2-4832-bc95-e8b706d92ddc",
|
| 389 |
+
"size": [
|
| 390 |
+
0.78,
|
| 391 |
+
0.99,
|
| 392 |
+
0.87
|
| 393 |
+
],
|
| 394 |
+
"desc": "Mid-Century Modern pendant lamp with six cylindrical white fabric shades on a sleek gold metal frame.",
|
| 395 |
+
"is_scaled": false,
|
| 396 |
+
"rot": [
|
| 397 |
+
0,
|
| 398 |
+
0,
|
| 399 |
+
0,
|
| 400 |
+
1
|
| 401 |
+
],
|
| 402 |
+
"pos": [
|
| 403 |
+
-3.31,
|
| 404 |
+
1.81,
|
| 405 |
+
0.96
|
| 406 |
+
],
|
| 407 |
+
"instance_id": "furniture/142"
|
| 408 |
+
},
|
| 409 |
+
{
|
| 410 |
+
"uid": "6092/model",
|
| 411 |
+
"jid": "2bc40317-96e2-4832-bc95-e8b706d92ddc",
|
| 412 |
+
"size": [
|
| 413 |
+
0.78,
|
| 414 |
+
0.99,
|
| 415 |
+
0.87
|
| 416 |
+
],
|
| 417 |
+
"desc": "Mid-Century Modern pendant lamp with six cylindrical white fabric shades on a sleek gold metal frame.",
|
| 418 |
+
"is_scaled": false,
|
| 419 |
+
"rot": [
|
| 420 |
+
0,
|
| 421 |
+
0.70711,
|
| 422 |
+
0,
|
| 423 |
+
0.70711
|
| 424 |
+
],
|
| 425 |
+
"pos": [
|
| 426 |
+
0.35,
|
| 427 |
+
1.77,
|
| 428 |
+
-0.46
|
| 429 |
+
],
|
| 430 |
+
"instance_id": "furniture/143"
|
| 431 |
+
}
|
| 432 |
+
],
|
| 433 |
+
"doors": [
|
| 434 |
+
{
|
| 435 |
+
"uid": "40539230-d472-4b2e-b710-35a618f11b9c/57880053",
|
| 436 |
+
"type": "door",
|
| 437 |
+
"pos": [
|
| 438 |
+
-2.43,
|
| 439 |
+
1.05,
|
| 440 |
+
-0.39
|
| 441 |
+
],
|
| 442 |
+
"size": [
|
| 443 |
+
0.78,
|
| 444 |
+
2.1,
|
| 445 |
+
0.24
|
| 446 |
+
],
|
| 447 |
+
"min_bounds": [
|
| 448 |
+
-2.82,
|
| 449 |
+
0.0,
|
| 450 |
+
-0.51
|
| 451 |
+
],
|
| 452 |
+
"max_bounds": [
|
| 453 |
+
-2.04,
|
| 454 |
+
2.1,
|
| 455 |
+
-0.27
|
| 456 |
+
]
|
| 457 |
+
},
|
| 458 |
+
{
|
| 459 |
+
"uid": "40539230-d472-4b2e-b710-35a618f11b9c/57880056",
|
| 460 |
+
"type": "door",
|
| 461 |
+
"pos": [
|
| 462 |
+
-2.43,
|
| 463 |
+
0.0,
|
| 464 |
+
-0.39
|
| 465 |
+
],
|
| 466 |
+
"size": [
|
| 467 |
+
0.78,
|
| 468 |
+
0.0,
|
| 469 |
+
0.24
|
| 470 |
+
],
|
| 471 |
+
"min_bounds": [
|
| 472 |
+
-2.82,
|
| 473 |
+
0.0,
|
| 474 |
+
-0.51
|
| 475 |
+
],
|
| 476 |
+
"max_bounds": [
|
| 477 |
+
-2.04,
|
| 478 |
+
0.0,
|
| 479 |
+
-0.27
|
| 480 |
+
]
|
| 481 |
+
},
|
| 482 |
+
{
|
| 483 |
+
"uid": "ce661a7e-fbf4-4861-8b36-8ab4abd3be4b/57880475",
|
| 484 |
+
"type": "door",
|
| 485 |
+
"pos": [
|
| 486 |
+
0.82,
|
| 487 |
+
1.05,
|
| 488 |
+
1.26
|
| 489 |
+
],
|
| 490 |
+
"size": [
|
| 491 |
+
0.8,
|
| 492 |
+
2.1,
|
| 493 |
+
0.12
|
| 494 |
+
],
|
| 495 |
+
"min_bounds": [
|
| 496 |
+
0.42,
|
| 497 |
+
0.0,
|
| 498 |
+
1.2
|
| 499 |
+
],
|
| 500 |
+
"max_bounds": [
|
| 501 |
+
1.22,
|
| 502 |
+
2.1,
|
| 503 |
+
1.32
|
| 504 |
+
]
|
| 505 |
+
},
|
| 506 |
+
{
|
| 507 |
+
"uid": "ce661a7e-fbf4-4861-8b36-8ab4abd3be4b/57880478",
|
| 508 |
+
"type": "door",
|
| 509 |
+
"pos": [
|
| 510 |
+
0.82,
|
| 511 |
+
0.0,
|
| 512 |
+
1.26
|
| 513 |
+
],
|
| 514 |
+
"size": [
|
| 515 |
+
0.8,
|
| 516 |
+
0.0,
|
| 517 |
+
0.12
|
| 518 |
+
],
|
| 519 |
+
"min_bounds": [
|
| 520 |
+
0.42,
|
| 521 |
+
0.0,
|
| 522 |
+
1.2
|
| 523 |
+
],
|
| 524 |
+
"max_bounds": [
|
| 525 |
+
1.22,
|
| 526 |
+
0.0,
|
| 527 |
+
1.32
|
| 528 |
+
]
|
| 529 |
+
},
|
| 530 |
+
{
|
| 531 |
+
"uid": "6e588c51-c2c2-4742-85a2-5caf69038a02/57880617",
|
| 532 |
+
"type": "door",
|
| 533 |
+
"pos": [
|
| 534 |
+
-0.9,
|
| 535 |
+
1.05,
|
| 536 |
+
1.26
|
| 537 |
+
],
|
| 538 |
+
"size": [
|
| 539 |
+
0.8,
|
| 540 |
+
2.1,
|
| 541 |
+
0.12
|
| 542 |
+
],
|
| 543 |
+
"min_bounds": [
|
| 544 |
+
-1.3,
|
| 545 |
+
0.0,
|
| 546 |
+
1.2
|
| 547 |
+
],
|
| 548 |
+
"max_bounds": [
|
| 549 |
+
-0.5,
|
| 550 |
+
2.1,
|
| 551 |
+
1.32
|
| 552 |
+
]
|
| 553 |
+
},
|
| 554 |
+
{
|
| 555 |
+
"uid": "6e588c51-c2c2-4742-85a2-5caf69038a02/57880620",
|
| 556 |
+
"type": "door",
|
| 557 |
+
"pos": [
|
| 558 |
+
-0.9,
|
| 559 |
+
0.0,
|
| 560 |
+
1.26
|
| 561 |
+
],
|
| 562 |
+
"size": [
|
| 563 |
+
0.8,
|
| 564 |
+
0.0,
|
| 565 |
+
0.12
|
| 566 |
+
],
|
| 567 |
+
"min_bounds": [
|
| 568 |
+
-1.3,
|
| 569 |
+
0.0,
|
| 570 |
+
1.2
|
| 571 |
+
],
|
| 572 |
+
"max_bounds": [
|
| 573 |
+
-0.5,
|
| 574 |
+
0.0,
|
| 575 |
+
1.32
|
| 576 |
+
]
|
| 577 |
+
},
|
| 578 |
+
{
|
| 579 |
+
"uid": "eaa9cca9-828f-48fa-b551-30ff9dd8dfbf/57880759",
|
| 580 |
+
"type": "door",
|
| 581 |
+
"pos": [
|
| 582 |
+
-3.88,
|
| 583 |
+
1.05,
|
| 584 |
+
2.31
|
| 585 |
+
],
|
| 586 |
+
"size": [
|
| 587 |
+
0.78,
|
| 588 |
+
2.1,
|
| 589 |
+
0.24
|
| 590 |
+
],
|
| 591 |
+
"min_bounds": [
|
| 592 |
+
-4.27,
|
| 593 |
+
0.0,
|
| 594 |
+
2.19
|
| 595 |
+
],
|
| 596 |
+
"max_bounds": [
|
| 597 |
+
-3.49,
|
| 598 |
+
2.1,
|
| 599 |
+
2.43
|
| 600 |
+
]
|
| 601 |
+
},
|
| 602 |
+
{
|
| 603 |
+
"uid": "eaa9cca9-828f-48fa-b551-30ff9dd8dfbf/57880762",
|
| 604 |
+
"type": "door",
|
| 605 |
+
"pos": [
|
| 606 |
+
-3.88,
|
| 607 |
+
0.0,
|
| 608 |
+
2.31
|
| 609 |
+
],
|
| 610 |
+
"size": [
|
| 611 |
+
0.78,
|
| 612 |
+
0.0,
|
| 613 |
+
0.24
|
| 614 |
+
],
|
| 615 |
+
"min_bounds": [
|
| 616 |
+
-4.27,
|
| 617 |
+
0.0,
|
| 618 |
+
2.19
|
| 619 |
+
],
|
| 620 |
+
"max_bounds": [
|
| 621 |
+
-3.49,
|
| 622 |
+
0.0,
|
| 623 |
+
2.43
|
| 624 |
+
]
|
| 625 |
+
},
|
| 626 |
+
{
|
| 627 |
+
"uid": "a7bfe6df-8a2b-46a2-8e79-1a0bbccf36ed/57880901",
|
| 628 |
+
"type": "door",
|
| 629 |
+
"pos": [
|
| 630 |
+
-4.53,
|
| 631 |
+
1.05,
|
| 632 |
+
0.39
|
| 633 |
+
],
|
| 634 |
+
"size": [
|
| 635 |
+
0.24,
|
| 636 |
+
2.1,
|
| 637 |
+
0.92
|
| 638 |
+
],
|
| 639 |
+
"min_bounds": [
|
| 640 |
+
-4.65,
|
| 641 |
+
0.0,
|
| 642 |
+
-0.07
|
| 643 |
+
],
|
| 644 |
+
"max_bounds": [
|
| 645 |
+
-4.41,
|
| 646 |
+
2.1,
|
| 647 |
+
0.85
|
| 648 |
+
]
|
| 649 |
+
},
|
| 650 |
+
{
|
| 651 |
+
"uid": "a7bfe6df-8a2b-46a2-8e79-1a0bbccf36ed/57880904",
|
| 652 |
+
"type": "door",
|
| 653 |
+
"pos": [
|
| 654 |
+
-4.53,
|
| 655 |
+
0.0,
|
| 656 |
+
0.39
|
| 657 |
+
],
|
| 658 |
+
"size": [
|
| 659 |
+
0.24,
|
| 660 |
+
0.0,
|
| 661 |
+
0.92
|
| 662 |
+
],
|
| 663 |
+
"min_bounds": [
|
| 664 |
+
-4.65,
|
| 665 |
+
0.0,
|
| 666 |
+
-0.07
|
| 667 |
+
],
|
| 668 |
+
"max_bounds": [
|
| 669 |
+
-4.41,
|
| 670 |
+
0.0,
|
| 671 |
+
0.85
|
| 672 |
+
]
|
| 673 |
+
}
|
| 674 |
+
],
|
| 675 |
+
"windows": [
|
| 676 |
+
{
|
| 677 |
+
"uid": "ebdf26b3-fcb4-416c-8db5-acfa02c25c52/57879959",
|
| 678 |
+
"type": "window",
|
| 679 |
+
"pos": [
|
| 680 |
+
4.6,
|
| 681 |
+
1.28,
|
| 682 |
+
-0.76
|
| 683 |
+
],
|
| 684 |
+
"size": [
|
| 685 |
+
0.24,
|
| 686 |
+
2.17,
|
| 687 |
+
2.27
|
| 688 |
+
],
|
| 689 |
+
"min_bounds": [
|
| 690 |
+
4.48,
|
| 691 |
+
0.2,
|
| 692 |
+
-1.89
|
| 693 |
+
],
|
| 694 |
+
"max_bounds": [
|
| 695 |
+
4.72,
|
| 696 |
+
2.37,
|
| 697 |
+
0.38
|
| 698 |
+
]
|
| 699 |
+
}
|
| 700 |
+
],
|
| 701 |
+
"floor_material": {
|
| 702 |
+
"jid": "c8065b81-b5ce-4e8f-8f67-f05dadb5e12b",
|
| 703 |
+
"material_type": "flooring - reinforced",
|
| 704 |
+
"texture_path": "3D-FRONT-texture/c8065b81-b5ce-4e8f-8f67-f05dadb5e12b/texture.png"
|
| 705 |
+
}
|
| 706 |
+
}
|
eval/respace/dataset-ssr3dfront_stage1_with_doors_windows/836eac3f-e90a-4cc0-8b70-eb56947c9bde-1eda1b86-b78f-4ea4-9a2d-99ab02734602.json
ADDED
|
@@ -0,0 +1,196 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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 |
+
[
|
| 12 |
+
1.8,
|
| 13 |
+
2.6,
|
| 14 |
+
1.25
|
| 15 |
+
],
|
| 16 |
+
[
|
| 17 |
+
1.8,
|
| 18 |
+
2.6,
|
| 19 |
+
-1.25
|
| 20 |
+
],
|
| 21 |
+
[
|
| 22 |
+
-1.8,
|
| 23 |
+
2.6,
|
| 24 |
+
-1.25
|
| 25 |
+
]
|
| 26 |
+
],
|
| 27 |
+
"bounds_bottom": [
|
| 28 |
+
[
|
| 29 |
+
-1.8,
|
| 30 |
+
0.0,
|
| 31 |
+
1.25
|
| 32 |
+
],
|
| 33 |
+
[
|
| 34 |
+
1.8,
|
| 35 |
+
0.0,
|
| 36 |
+
1.25
|
| 37 |
+
],
|
| 38 |
+
[
|
| 39 |
+
1.8,
|
| 40 |
+
0.0,
|
| 41 |
+
-1.25
|
| 42 |
+
],
|
| 43 |
+
[
|
| 44 |
+
-1.8,
|
| 45 |
+
0.0,
|
| 46 |
+
-1.25
|
| 47 |
+
]
|
| 48 |
+
],
|
| 49 |
+
"objects": [
|
| 50 |
+
{
|
| 51 |
+
"uid": "24154/model",
|
| 52 |
+
"jid": "b31cc2af-6549-4422-8f96-ec5cd8f0f92c",
|
| 53 |
+
"size": [
|
| 54 |
+
1.9,
|
| 55 |
+
0.73,
|
| 56 |
+
0.7
|
| 57 |
+
],
|
| 58 |
+
"desc": "A white, rectangular traditional wooden desk with turned legs and minimalist design featuring decorative leg accents.",
|
| 59 |
+
"is_scaled": false,
|
| 60 |
+
"rot": [
|
| 61 |
+
0,
|
| 62 |
+
1,
|
| 63 |
+
0,
|
| 64 |
+
0
|
| 65 |
+
],
|
| 66 |
+
"pos": [
|
| 67 |
+
0.26,
|
| 68 |
+
0.0,
|
| 69 |
+
0.13
|
| 70 |
+
],
|
| 71 |
+
"instance_id": "furniture/240"
|
| 72 |
+
},
|
| 73 |
+
{
|
| 74 |
+
"uid": "24191/model",
|
| 75 |
+
"jid": "f9f48d60-7095-45e9-b8e6-bbae308ea40d",
|
| 76 |
+
"size": [
|
| 77 |
+
0.69,
|
| 78 |
+
2.47,
|
| 79 |
+
0.36
|
| 80 |
+
],
|
| 81 |
+
"desc": "Transitional tall white wooden bookcase with shelves and lower cabinet featuring panel doors.",
|
| 82 |
+
"is_scaled": false,
|
| 83 |
+
"rot": [
|
| 84 |
+
0,
|
| 85 |
+
0,
|
| 86 |
+
0,
|
| 87 |
+
1
|
| 88 |
+
],
|
| 89 |
+
"pos": [
|
| 90 |
+
-0.05,
|
| 91 |
+
0.0,
|
| 92 |
+
-1.05
|
| 93 |
+
],
|
| 94 |
+
"instance_id": "furniture/247"
|
| 95 |
+
},
|
| 96 |
+
{
|
| 97 |
+
"uid": "24191/model",
|
| 98 |
+
"jid": "f9f48d60-7095-45e9-b8e6-bbae308ea40d",
|
| 99 |
+
"size": [
|
| 100 |
+
0.69,
|
| 101 |
+
2.47,
|
| 102 |
+
0.36
|
| 103 |
+
],
|
| 104 |
+
"desc": "Transitional tall white wooden bookcase with shelves and lower cabinet featuring panel doors.",
|
| 105 |
+
"is_scaled": false,
|
| 106 |
+
"rot": [
|
| 107 |
+
0,
|
| 108 |
+
0,
|
| 109 |
+
0,
|
| 110 |
+
1
|
| 111 |
+
],
|
| 112 |
+
"pos": [
|
| 113 |
+
1.14,
|
| 114 |
+
0.0,
|
| 115 |
+
-1.05
|
| 116 |
+
],
|
| 117 |
+
"instance_id": "furniture/249"
|
| 118 |
+
},
|
| 119 |
+
{
|
| 120 |
+
"uid": "25322/model",
|
| 121 |
+
"jid": "818ff115-688a-4b02-ad78-9a30539eb018",
|
| 122 |
+
"size": [
|
| 123 |
+
0.73,
|
| 124 |
+
0.97,
|
| 125 |
+
0.79
|
| 126 |
+
],
|
| 127 |
+
"desc": "Elegantly crafted French Provincial wingback chair with green upholstery, carved wood legs, and gold accent details, perfect for adding a touch of classic sophistication.",
|
| 128 |
+
"is_scaled": false,
|
| 129 |
+
"rot": [
|
| 130 |
+
0,
|
| 131 |
+
-0.52779,
|
| 132 |
+
0,
|
| 133 |
+
0.84938
|
| 134 |
+
],
|
| 135 |
+
"pos": [
|
| 136 |
+
-1.01,
|
| 137 |
+
0.0,
|
| 138 |
+
-0.53
|
| 139 |
+
],
|
| 140 |
+
"instance_id": "furniture/252"
|
| 141 |
+
},
|
| 142 |
+
{
|
| 143 |
+
"uid": "25324/model",
|
| 144 |
+
"jid": "006cb2b3-e9e3-34e3-9a0e-f93fa04f344b",
|
| 145 |
+
"size": [
|
| 146 |
+
1.17,
|
| 147 |
+
0.86,
|
| 148 |
+
1.17
|
| 149 |
+
],
|
| 150 |
+
"desc": "A round wooden dining table with a central pedestal base, blending traditional and rustic styles for a sturdy, decorative centerpiece.",
|
| 151 |
+
"is_scaled": false,
|
| 152 |
+
"rot": [
|
| 153 |
+
0,
|
| 154 |
+
0,
|
| 155 |
+
0,
|
| 156 |
+
1
|
| 157 |
+
],
|
| 158 |
+
"pos": [
|
| 159 |
+
-1.27,
|
| 160 |
+
0.0,
|
| 161 |
+
0.46
|
| 162 |
+
],
|
| 163 |
+
"instance_id": "furniture/253"
|
| 164 |
+
},
|
| 165 |
+
{
|
| 166 |
+
"uid": "25328/model",
|
| 167 |
+
"jid": "50e050e8-ba69-4eef-b76f-120369aca884-(0.57)-(0.57)-(0.57)",
|
| 168 |
+
"size": [
|
| 169 |
+
0.41,
|
| 170 |
+
0.83,
|
| 171 |
+
0.37
|
| 172 |
+
],
|
| 173 |
+
"desc": "A modern minimalist tall white ceramic pot with a braided trunk plant and lush green foliage, perfect for contemporary interiors.",
|
| 174 |
+
"is_scaled": true,
|
| 175 |
+
"rot": [
|
| 176 |
+
0,
|
| 177 |
+
0,
|
| 178 |
+
0,
|
| 179 |
+
1
|
| 180 |
+
],
|
| 181 |
+
"pos": [
|
| 182 |
+
1.54,
|
| 183 |
+
0.0,
|
| 184 |
+
-0.47
|
| 185 |
+
],
|
| 186 |
+
"instance_id": "furniture/255"
|
| 187 |
+
}
|
| 188 |
+
],
|
| 189 |
+
"doors": [],
|
| 190 |
+
"windows": [],
|
| 191 |
+
"floor_material": {
|
| 192 |
+
"jid": "a900f6ea-f48e-48ba-a9a0-739ed4db18f6",
|
| 193 |
+
"material_type": "matt tiles",
|
| 194 |
+
"texture_path": "3D-FRONT-texture/a900f6ea-f48e-48ba-a9a0-739ed4db18f6/texture.png"
|
| 195 |
+
}
|
| 196 |
+
}
|
eval/respace/dataset-ssr3dfront_stage1_with_doors_windows/85cb63d9-ee2b-4177-9b0e-fb2e88f8258d-6dd3ae84-62a1-43c1-ab52-0e212881f2b1.json
ADDED
|
@@ -0,0 +1,525 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"orig_scene_uid": "85cb63d9-ee2b-4177-9b0e-fb2e88f8258d",
|
| 3 |
+
"uid": "6dd3ae84-62a1-43c1-ab52-0e212881f2b1",
|
| 4 |
+
"room_id": "LivingDiningRoom-27589",
|
| 5 |
+
"bounds_top": [
|
| 6 |
+
[
|
| 7 |
+
-1.55,
|
| 8 |
+
2.9,
|
| 9 |
+
3.85
|
| 10 |
+
],
|
| 11 |
+
[
|
| 12 |
+
1.55,
|
| 13 |
+
2.9,
|
| 14 |
+
3.85
|
| 15 |
+
],
|
| 16 |
+
[
|
| 17 |
+
1.55,
|
| 18 |
+
2.9,
|
| 19 |
+
-3.85
|
| 20 |
+
],
|
| 21 |
+
[
|
| 22 |
+
-1.55,
|
| 23 |
+
2.9,
|
| 24 |
+
-3.85
|
| 25 |
+
]
|
| 26 |
+
],
|
| 27 |
+
"bounds_bottom": [
|
| 28 |
+
[
|
| 29 |
+
-1.55,
|
| 30 |
+
0.0,
|
| 31 |
+
3.85
|
| 32 |
+
],
|
| 33 |
+
[
|
| 34 |
+
1.55,
|
| 35 |
+
0.0,
|
| 36 |
+
3.85
|
| 37 |
+
],
|
| 38 |
+
[
|
| 39 |
+
1.55,
|
| 40 |
+
0.0,
|
| 41 |
+
-3.85
|
| 42 |
+
],
|
| 43 |
+
[
|
| 44 |
+
-1.55,
|
| 45 |
+
0.0,
|
| 46 |
+
-3.85
|
| 47 |
+
]
|
| 48 |
+
],
|
| 49 |
+
"objects": [
|
| 50 |
+
{
|
| 51 |
+
"uid": "29985/model",
|
| 52 |
+
"jid": "abacccd6-abbf-4001-8323-0d8a9cb3cdc1",
|
| 53 |
+
"size": [
|
| 54 |
+
3.53,
|
| 55 |
+
0.94,
|
| 56 |
+
3.02
|
| 57 |
+
],
|
| 58 |
+
"desc": "Modern L-shaped brown fabric sectional sofa with metal legs and grey decorative pillows.",
|
| 59 |
+
"is_scaled": false,
|
| 60 |
+
"rot": [
|
| 61 |
+
0,
|
| 62 |
+
0.70711,
|
| 63 |
+
0,
|
| 64 |
+
0.70711
|
| 65 |
+
],
|
| 66 |
+
"pos": [
|
| 67 |
+
0.02,
|
| 68 |
+
0.0,
|
| 69 |
+
1.25
|
| 70 |
+
],
|
| 71 |
+
"instance_id": "furniture/103"
|
| 72 |
+
},
|
| 73 |
+
{
|
| 74 |
+
"uid": "29986/model",
|
| 75 |
+
"jid": "cdb92528-cf52-4fdd-b3cd-1c368f7d9284",
|
| 76 |
+
"size": [
|
| 77 |
+
0.6,
|
| 78 |
+
0.6,
|
| 79 |
+
0.59
|
| 80 |
+
],
|
| 81 |
+
"desc": "Traditional brown wooden corner table with a rectangular shape, smooth tabletop, and elegantly curved legs.",
|
| 82 |
+
"is_scaled": false,
|
| 83 |
+
"rot": [
|
| 84 |
+
0,
|
| 85 |
+
0.70711,
|
| 86 |
+
0,
|
| 87 |
+
0.70711
|
| 88 |
+
],
|
| 89 |
+
"pos": [
|
| 90 |
+
-1.14,
|
| 91 |
+
0.0,
|
| 92 |
+
3.05
|
| 93 |
+
],
|
| 94 |
+
"instance_id": "furniture/104"
|
| 95 |
+
},
|
| 96 |
+
{
|
| 97 |
+
"uid": "29987/model",
|
| 98 |
+
"jid": "0ddbb652-14e3-4e01-8fd5-aae213910ac2",
|
| 99 |
+
"size": [
|
| 100 |
+
1.33,
|
| 101 |
+
0.45,
|
| 102 |
+
1.34
|
| 103 |
+
],
|
| 104 |
+
"desc": "Rustic brown wooden coffee table with two spacious drawers and round metal knobs, perfect for cozy interiors.",
|
| 105 |
+
"is_scaled": false,
|
| 106 |
+
"rot": [
|
| 107 |
+
0,
|
| 108 |
+
0.70711,
|
| 109 |
+
0,
|
| 110 |
+
0.70711
|
| 111 |
+
],
|
| 112 |
+
"pos": [
|
| 113 |
+
0.53,
|
| 114 |
+
0.0,
|
| 115 |
+
2.04
|
| 116 |
+
],
|
| 117 |
+
"instance_id": "furniture/105"
|
| 118 |
+
},
|
| 119 |
+
{
|
| 120 |
+
"uid": "29988/model",
|
| 121 |
+
"jid": "c9102930-de4b-475b-9df9-e3b2385a14d4",
|
| 122 |
+
"size": [
|
| 123 |
+
0.7,
|
| 124 |
+
0.83,
|
| 125 |
+
0.73
|
| 126 |
+
],
|
| 127 |
+
"desc": "Modern minimalist brown fabric armchair with geometric black and white cushion, high backrest, angular armrests, and tapered wooden legs.",
|
| 128 |
+
"is_scaled": false,
|
| 129 |
+
"rot": [
|
| 130 |
+
0,
|
| 131 |
+
0.96929,
|
| 132 |
+
0,
|
| 133 |
+
0.2459
|
| 134 |
+
],
|
| 135 |
+
"pos": [
|
| 136 |
+
-0.26,
|
| 137 |
+
0.0,
|
| 138 |
+
3.48
|
| 139 |
+
],
|
| 140 |
+
"instance_id": "furniture/106"
|
| 141 |
+
},
|
| 142 |
+
{
|
| 143 |
+
"uid": "30083/model",
|
| 144 |
+
"jid": "b0537ad1-162e-4887-b638-c0c2302035ae",
|
| 145 |
+
"size": [
|
| 146 |
+
2.5,
|
| 147 |
+
0.74,
|
| 148 |
+
1.0
|
| 149 |
+
],
|
| 150 |
+
"desc": "Minimalist modern dining table with a smooth rectangular wooden top and light wood trestle legs.",
|
| 151 |
+
"is_scaled": false,
|
| 152 |
+
"rot": [
|
| 153 |
+
0,
|
| 154 |
+
0,
|
| 155 |
+
0,
|
| 156 |
+
1
|
| 157 |
+
],
|
| 158 |
+
"pos": [
|
| 159 |
+
-0.26,
|
| 160 |
+
0.0,
|
| 161 |
+
-2.77
|
| 162 |
+
],
|
| 163 |
+
"instance_id": "furniture/114"
|
| 164 |
+
},
|
| 165 |
+
{
|
| 166 |
+
"uid": "30084/model",
|
| 167 |
+
"jid": "3992f9cf-b6ab-4f2f-b678-c980391f2689",
|
| 168 |
+
"size": [
|
| 169 |
+
0.53,
|
| 170 |
+
1.12,
|
| 171 |
+
0.62
|
| 172 |
+
],
|
| 173 |
+
"desc": "Traditional dark brown wood dining chair with a slatted back, upholstered swivel seat, and metal footrest.",
|
| 174 |
+
"is_scaled": false,
|
| 175 |
+
"rot": [
|
| 176 |
+
0,
|
| 177 |
+
0,
|
| 178 |
+
0,
|
| 179 |
+
1
|
| 180 |
+
],
|
| 181 |
+
"pos": [
|
| 182 |
+
-1.16,
|
| 183 |
+
0.0,
|
| 184 |
+
-3.49
|
| 185 |
+
],
|
| 186 |
+
"instance_id": "furniture/115"
|
| 187 |
+
},
|
| 188 |
+
{
|
| 189 |
+
"uid": "30084/model",
|
| 190 |
+
"jid": "3992f9cf-b6ab-4f2f-b678-c980391f2689",
|
| 191 |
+
"size": [
|
| 192 |
+
0.53,
|
| 193 |
+
1.12,
|
| 194 |
+
0.62
|
| 195 |
+
],
|
| 196 |
+
"desc": "Traditional dark brown wood dining chair with a slatted back, upholstered swivel seat, and metal footrest.",
|
| 197 |
+
"is_scaled": false,
|
| 198 |
+
"rot": [
|
| 199 |
+
0,
|
| 200 |
+
0,
|
| 201 |
+
0,
|
| 202 |
+
1
|
| 203 |
+
],
|
| 204 |
+
"pos": [
|
| 205 |
+
-0.44,
|
| 206 |
+
0.0,
|
| 207 |
+
-3.55
|
| 208 |
+
],
|
| 209 |
+
"instance_id": "furniture/116"
|
| 210 |
+
},
|
| 211 |
+
{
|
| 212 |
+
"uid": "30084/model",
|
| 213 |
+
"jid": "3992f9cf-b6ab-4f2f-b678-c980391f2689",
|
| 214 |
+
"size": [
|
| 215 |
+
0.53,
|
| 216 |
+
1.12,
|
| 217 |
+
0.62
|
| 218 |
+
],
|
| 219 |
+
"desc": "Traditional dark brown wood dining chair with a slatted back, upholstered swivel seat, and metal footrest.",
|
| 220 |
+
"is_scaled": false,
|
| 221 |
+
"rot": [
|
| 222 |
+
0,
|
| 223 |
+
-1,
|
| 224 |
+
0,
|
| 225 |
+
0
|
| 226 |
+
],
|
| 227 |
+
"pos": [
|
| 228 |
+
-1.17,
|
| 229 |
+
0.0,
|
| 230 |
+
-2.07
|
| 231 |
+
],
|
| 232 |
+
"instance_id": "furniture/117"
|
| 233 |
+
},
|
| 234 |
+
{
|
| 235 |
+
"uid": "30084/model",
|
| 236 |
+
"jid": "3992f9cf-b6ab-4f2f-b678-c980391f2689",
|
| 237 |
+
"size": [
|
| 238 |
+
0.53,
|
| 239 |
+
1.12,
|
| 240 |
+
0.62
|
| 241 |
+
],
|
| 242 |
+
"desc": "Traditional dark brown wood dining chair with a slatted back, upholstered swivel seat, and metal footrest.",
|
| 243 |
+
"is_scaled": false,
|
| 244 |
+
"rot": [
|
| 245 |
+
0,
|
| 246 |
+
-1,
|
| 247 |
+
0,
|
| 248 |
+
0
|
| 249 |
+
],
|
| 250 |
+
"pos": [
|
| 251 |
+
-0.46,
|
| 252 |
+
0.0,
|
| 253 |
+
-1.97
|
| 254 |
+
],
|
| 255 |
+
"instance_id": "furniture/118"
|
| 256 |
+
},
|
| 257 |
+
{
|
| 258 |
+
"uid": "30402/model",
|
| 259 |
+
"jid": "28d2dfc7-6f31-4eae-9a5c-ea61533004ee",
|
| 260 |
+
"size": [
|
| 261 |
+
0.44,
|
| 262 |
+
0.69,
|
| 263 |
+
0.41
|
| 264 |
+
],
|
| 265 |
+
"desc": "Modern decorative artificial plant with dense green foliage in a minimalist white cylindrical ceramic pot.",
|
| 266 |
+
"is_scaled": false,
|
| 267 |
+
"rot": [
|
| 268 |
+
0,
|
| 269 |
+
0,
|
| 270 |
+
0,
|
| 271 |
+
1
|
| 272 |
+
],
|
| 273 |
+
"pos": [
|
| 274 |
+
1.34,
|
| 275 |
+
0.0,
|
| 276 |
+
3.67
|
| 277 |
+
],
|
| 278 |
+
"instance_id": "furniture/121"
|
| 279 |
+
},
|
| 280 |
+
{
|
| 281 |
+
"uid": "30414/model",
|
| 282 |
+
"jid": "7f218a39-77e5-4b59-a050-02f6d22ca224",
|
| 283 |
+
"size": [
|
| 284 |
+
1.5,
|
| 285 |
+
1.9,
|
| 286 |
+
0.44
|
| 287 |
+
],
|
| 288 |
+
"desc": "Mid-century modern dark brown wooden dresser with six drawers, brass knobs, and splayed legs.",
|
| 289 |
+
"is_scaled": false,
|
| 290 |
+
"rot": [
|
| 291 |
+
0,
|
| 292 |
+
0,
|
| 293 |
+
0,
|
| 294 |
+
1
|
| 295 |
+
],
|
| 296 |
+
"pos": [
|
| 297 |
+
-0.8,
|
| 298 |
+
0.0,
|
| 299 |
+
-1.47
|
| 300 |
+
],
|
| 301 |
+
"instance_id": "furniture/122"
|
| 302 |
+
},
|
| 303 |
+
{
|
| 304 |
+
"uid": "30775/model",
|
| 305 |
+
"jid": "0827d723-3b66-4db4-954f-f586aa59fba7",
|
| 306 |
+
"size": [
|
| 307 |
+
2.93,
|
| 308 |
+
2.46,
|
| 309 |
+
0.42
|
| 310 |
+
],
|
| 311 |
+
"desc": "A whimsical, house-shaped children's cabinet with multicolor pastel and natural wood tones, featuring playful patterns, ample shelves, and decorative accents for toy storage.",
|
| 312 |
+
"is_scaled": false,
|
| 313 |
+
"rot": [
|
| 314 |
+
0,
|
| 315 |
+
-0.70711,
|
| 316 |
+
0,
|
| 317 |
+
0.70711
|
| 318 |
+
],
|
| 319 |
+
"pos": [
|
| 320 |
+
1.3,
|
| 321 |
+
0.0,
|
| 322 |
+
-2.36
|
| 323 |
+
],
|
| 324 |
+
"instance_id": "furniture/126"
|
| 325 |
+
},
|
| 326 |
+
{
|
| 327 |
+
"uid": "30780/model",
|
| 328 |
+
"jid": "6e8af18c-b56f-4c9c-94e7-bc876f8372d5",
|
| 329 |
+
"size": [
|
| 330 |
+
0.56,
|
| 331 |
+
0.85,
|
| 332 |
+
0.49
|
| 333 |
+
],
|
| 334 |
+
"desc": "Modern minimalist white pendant lamp with a sleek Y-shaped design and integrated LED strips, perfect for contemporary spaces.",
|
| 335 |
+
"is_scaled": false,
|
| 336 |
+
"rot": [
|
| 337 |
+
0,
|
| 338 |
+
0,
|
| 339 |
+
0,
|
| 340 |
+
1
|
| 341 |
+
],
|
| 342 |
+
"pos": [
|
| 343 |
+
-0.05,
|
| 344 |
+
2.56,
|
| 345 |
+
1.76
|
| 346 |
+
],
|
| 347 |
+
"instance_id": "furniture/128"
|
| 348 |
+
},
|
| 349 |
+
{
|
| 350 |
+
"uid": "30796/model",
|
| 351 |
+
"jid": "25606e3d-1684-42f6-95d2-d0b7f0cdba5a",
|
| 352 |
+
"size": [
|
| 353 |
+
0.95,
|
| 354 |
+
0.88,
|
| 355 |
+
0.95
|
| 356 |
+
],
|
| 357 |
+
"desc": "This modern glamorous ceiling lamp features a multi-tiered geometric design with clear glass rods and a chrome finish.",
|
| 358 |
+
"is_scaled": false,
|
| 359 |
+
"rot": [
|
| 360 |
+
0,
|
| 361 |
+
0,
|
| 362 |
+
0,
|
| 363 |
+
1
|
| 364 |
+
],
|
| 365 |
+
"pos": [
|
| 366 |
+
-0.03,
|
| 367 |
+
1.87,
|
| 368 |
+
-2.04
|
| 369 |
+
],
|
| 370 |
+
"instance_id": "furniture/141"
|
| 371 |
+
}
|
| 372 |
+
],
|
| 373 |
+
"doors": [
|
| 374 |
+
{
|
| 375 |
+
"uid": "935741ce-4853-4041-b732-8628ed7713da/43295944",
|
| 376 |
+
"type": "door",
|
| 377 |
+
"pos": [
|
| 378 |
+
-1.69,
|
| 379 |
+
1.05,
|
| 380 |
+
-0.76
|
| 381 |
+
],
|
| 382 |
+
"size": [
|
| 383 |
+
0.24,
|
| 384 |
+
2.09,
|
| 385 |
+
0.9
|
| 386 |
+
],
|
| 387 |
+
"min_bounds": [
|
| 388 |
+
-1.81,
|
| 389 |
+
0.0,
|
| 390 |
+
-1.21
|
| 391 |
+
],
|
| 392 |
+
"max_bounds": [
|
| 393 |
+
-1.57,
|
| 394 |
+
2.09,
|
| 395 |
+
-0.31
|
| 396 |
+
]
|
| 397 |
+
},
|
| 398 |
+
{
|
| 399 |
+
"uid": "935741ce-4853-4041-b732-8628ed7713da/43295947",
|
| 400 |
+
"type": "door",
|
| 401 |
+
"pos": [
|
| 402 |
+
-1.69,
|
| 403 |
+
0.0,
|
| 404 |
+
-0.76
|
| 405 |
+
],
|
| 406 |
+
"size": [
|
| 407 |
+
0.24,
|
| 408 |
+
0.0,
|
| 409 |
+
0.9
|
| 410 |
+
],
|
| 411 |
+
"min_bounds": [
|
| 412 |
+
-1.81,
|
| 413 |
+
0.0,
|
| 414 |
+
-1.21
|
| 415 |
+
],
|
| 416 |
+
"max_bounds": [
|
| 417 |
+
-1.57,
|
| 418 |
+
0.0,
|
| 419 |
+
-0.31
|
| 420 |
+
]
|
| 421 |
+
},
|
| 422 |
+
{
|
| 423 |
+
"uid": "44f51038-79e3-4590-85b8-bfd5687d6142/43296911",
|
| 424 |
+
"type": "door",
|
| 425 |
+
"pos": [
|
| 426 |
+
0.63,
|
| 427 |
+
1.05,
|
| 428 |
+
-3.98
|
| 429 |
+
],
|
| 430 |
+
"size": [
|
| 431 |
+
1.7,
|
| 432 |
+
2.1,
|
| 433 |
+
0.24
|
| 434 |
+
],
|
| 435 |
+
"min_bounds": [
|
| 436 |
+
-0.22,
|
| 437 |
+
0.0,
|
| 438 |
+
-4.1
|
| 439 |
+
],
|
| 440 |
+
"max_bounds": [
|
| 441 |
+
1.48,
|
| 442 |
+
2.1,
|
| 443 |
+
-3.86
|
| 444 |
+
]
|
| 445 |
+
},
|
| 446 |
+
{
|
| 447 |
+
"uid": "44f51038-79e3-4590-85b8-bfd5687d6142/43296914",
|
| 448 |
+
"type": "door",
|
| 449 |
+
"pos": [
|
| 450 |
+
0.63,
|
| 451 |
+
0.0,
|
| 452 |
+
-3.98
|
| 453 |
+
],
|
| 454 |
+
"size": [
|
| 455 |
+
1.7,
|
| 456 |
+
0.0,
|
| 457 |
+
0.24
|
| 458 |
+
],
|
| 459 |
+
"min_bounds": [
|
| 460 |
+
-0.22,
|
| 461 |
+
0.0,
|
| 462 |
+
-4.1
|
| 463 |
+
],
|
| 464 |
+
"max_bounds": [
|
| 465 |
+
1.48,
|
| 466 |
+
0.0,
|
| 467 |
+
-3.86
|
| 468 |
+
]
|
| 469 |
+
},
|
| 470 |
+
{
|
| 471 |
+
"uid": "cc60d7b4-f3ee-474f-a153-0b8825adb624/43296919",
|
| 472 |
+
"type": "door",
|
| 473 |
+
"pos": [
|
| 474 |
+
-0.01,
|
| 475 |
+
0.99,
|
| 476 |
+
3.98
|
| 477 |
+
],
|
| 478 |
+
"size": [
|
| 479 |
+
2.3,
|
| 480 |
+
1.99,
|
| 481 |
+
0.24
|
| 482 |
+
],
|
| 483 |
+
"min_bounds": [
|
| 484 |
+
-1.16,
|
| 485 |
+
0.0,
|
| 486 |
+
3.86
|
| 487 |
+
],
|
| 488 |
+
"max_bounds": [
|
| 489 |
+
1.14,
|
| 490 |
+
1.99,
|
| 491 |
+
4.1
|
| 492 |
+
]
|
| 493 |
+
},
|
| 494 |
+
{
|
| 495 |
+
"uid": "cc60d7b4-f3ee-474f-a153-0b8825adb624/43296922",
|
| 496 |
+
"type": "door",
|
| 497 |
+
"pos": [
|
| 498 |
+
-0.01,
|
| 499 |
+
0.0,
|
| 500 |
+
3.98
|
| 501 |
+
],
|
| 502 |
+
"size": [
|
| 503 |
+
2.3,
|
| 504 |
+
0.0,
|
| 505 |
+
0.24
|
| 506 |
+
],
|
| 507 |
+
"min_bounds": [
|
| 508 |
+
-1.16,
|
| 509 |
+
0.0,
|
| 510 |
+
3.86
|
| 511 |
+
],
|
| 512 |
+
"max_bounds": [
|
| 513 |
+
1.14,
|
| 514 |
+
0.0,
|
| 515 |
+
4.1
|
| 516 |
+
]
|
| 517 |
+
}
|
| 518 |
+
],
|
| 519 |
+
"windows": [],
|
| 520 |
+
"floor_material": {
|
| 521 |
+
"jid": "560f5437-7386-404a-a8be-997509c9cf31",
|
| 522 |
+
"material_type": "tiles",
|
| 523 |
+
"texture_path": "3D-FRONT-texture/560f5437-7386-404a-a8be-997509c9cf31/texture.png"
|
| 524 |
+
}
|
| 525 |
+
}
|
eval/respace/dataset-ssr3dfront_stage1_with_doors_windows/a169bc10-8221-4121-9815-5ae46a4d3d8e-7932f894-8bdb-40e3-bcbf-1efbf79560e9.json
ADDED
|
@@ -0,0 +1,196 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
+
-1.9,
|
| 30 |
+
0.0,
|
| 31 |
+
1.55
|
| 32 |
+
],
|
| 33 |
+
[
|
| 34 |
+
1.9,
|
| 35 |
+
0.0,
|
| 36 |
+
1.55
|
| 37 |
+
],
|
| 38 |
+
[
|
| 39 |
+
1.9,
|
| 40 |
+
0.0,
|
| 41 |
+
-1.55
|
| 42 |
+
],
|
| 43 |
+
[
|
| 44 |
+
-1.9,
|
| 45 |
+
0.0,
|
| 46 |
+
-1.55
|
| 47 |
+
]
|
| 48 |
+
],
|
| 49 |
+
"objects": [
|
| 50 |
+
{
|
| 51 |
+
"uid": "1263/model",
|
| 52 |
+
"jid": "343dad12-3fba-4f75-8fa3-19f7aa3d5871-(0.98)-(1.0)-(0.97)",
|
| 53 |
+
"size": [
|
| 54 |
+
0.64,
|
| 55 |
+
0.4,
|
| 56 |
+
0.45
|
| 57 |
+
],
|
| 58 |
+
"desc": "Mint green contemporary desk with a minimalist wooden construction, rectangular top, and round tapered legs featuring soft edges.",
|
| 59 |
+
"is_scaled": true,
|
| 60 |
+
"rot": [
|
| 61 |
+
0,
|
| 62 |
+
0.88662,
|
| 63 |
+
0,
|
| 64 |
+
0.4625
|
| 65 |
+
],
|
| 66 |
+
"pos": [
|
| 67 |
+
-1.22,
|
| 68 |
+
0.0,
|
| 69 |
+
-0.03
|
| 70 |
+
],
|
| 71 |
+
"instance_id": "furniture/345"
|
| 72 |
+
},
|
| 73 |
+
{
|
| 74 |
+
"uid": "1524/model",
|
| 75 |
+
"jid": "dfb24fa9-8ca1-4e22-bf56-286e6b4d4f1a",
|
| 76 |
+
"size": [
|
| 77 |
+
2.7,
|
| 78 |
+
2.23,
|
| 79 |
+
2.58
|
| 80 |
+
],
|
| 81 |
+
"desc": "Modern whimsical blue and white wooden bunk bed with built-in staircase, heart-shaped cutout, and shutter design details.",
|
| 82 |
+
"is_scaled": false,
|
| 83 |
+
"rot": [
|
| 84 |
+
0,
|
| 85 |
+
0.70711,
|
| 86 |
+
0,
|
| 87 |
+
0.70711
|
| 88 |
+
],
|
| 89 |
+
"pos": [
|
| 90 |
+
0.6,
|
| 91 |
+
0.0,
|
| 92 |
+
-0.12
|
| 93 |
+
],
|
| 94 |
+
"instance_id": "furniture/347"
|
| 95 |
+
},
|
| 96 |
+
{
|
| 97 |
+
"uid": "1526/model",
|
| 98 |
+
"jid": "9556a5c9-6d6a-4500-851f-571a5a0494aa",
|
| 99 |
+
"size": [
|
| 100 |
+
1.33,
|
| 101 |
+
1.87,
|
| 102 |
+
0.57
|
| 103 |
+
],
|
| 104 |
+
"desc": "A minimalist modern desk featuring a pastel pink tabletop and white frame with two drawers.",
|
| 105 |
+
"is_scaled": false,
|
| 106 |
+
"rot": [
|
| 107 |
+
0,
|
| 108 |
+
1,
|
| 109 |
+
0,
|
| 110 |
+
0
|
| 111 |
+
],
|
| 112 |
+
"pos": [
|
| 113 |
+
-1.07,
|
| 114 |
+
0.0,
|
| 115 |
+
1.25
|
| 116 |
+
],
|
| 117 |
+
"instance_id": "furniture/348"
|
| 118 |
+
},
|
| 119 |
+
{
|
| 120 |
+
"uid": "1527/model",
|
| 121 |
+
"jid": "343dad12-3fba-4f75-8fa3-19f7aa3d5871-(0.98)-(1.0)-(0.97)",
|
| 122 |
+
"size": [
|
| 123 |
+
0.64,
|
| 124 |
+
0.4,
|
| 125 |
+
0.45
|
| 126 |
+
],
|
| 127 |
+
"desc": "Mint green contemporary desk with a minimalist wooden construction, rectangular top, and round tapered legs featuring soft edges.",
|
| 128 |
+
"is_scaled": true,
|
| 129 |
+
"rot": [
|
| 130 |
+
0,
|
| 131 |
+
0,
|
| 132 |
+
0,
|
| 133 |
+
1
|
| 134 |
+
],
|
| 135 |
+
"pos": [
|
| 136 |
+
-1.07,
|
| 137 |
+
0.0,
|
| 138 |
+
0.72
|
| 139 |
+
],
|
| 140 |
+
"instance_id": "furniture/349"
|
| 141 |
+
},
|
| 142 |
+
{
|
| 143 |
+
"uid": "1531/model",
|
| 144 |
+
"jid": "892a7ad4-1199-43b6-b426-1fe5886567a4",
|
| 145 |
+
"size": [
|
| 146 |
+
0.56,
|
| 147 |
+
0.21,
|
| 148 |
+
0.56
|
| 149 |
+
],
|
| 150 |
+
"desc": "Art Deco-inspired silver ceiling lamp with fan-shaped, scalloped metal design and central accent.",
|
| 151 |
+
"is_scaled": false,
|
| 152 |
+
"rot": [
|
| 153 |
+
0,
|
| 154 |
+
-0.70711,
|
| 155 |
+
0,
|
| 156 |
+
0.70711
|
| 157 |
+
],
|
| 158 |
+
"pos": [
|
| 159 |
+
0.04,
|
| 160 |
+
2.39,
|
| 161 |
+
0.03
|
| 162 |
+
],
|
| 163 |
+
"instance_id": "furniture/353"
|
| 164 |
+
},
|
| 165 |
+
{
|
| 166 |
+
"uid": "1561/model",
|
| 167 |
+
"jid": "ca503a74-f0c5-458c-b946-d4f676263cd5-(0.99)-(1.0)-(1.03)",
|
| 168 |
+
"size": [
|
| 169 |
+
1.1,
|
| 170 |
+
2.24,
|
| 171 |
+
0.66
|
| 172 |
+
],
|
| 173 |
+
"desc": "A playful, contemporary children\u2019s cabinet featuring a traffic light design with four wooden compartments, red, yellow, and green circular accents, and a tiered structure.",
|
| 174 |
+
"is_scaled": true,
|
| 175 |
+
"rot": [
|
| 176 |
+
0,
|
| 177 |
+
0,
|
| 178 |
+
0,
|
| 179 |
+
1
|
| 180 |
+
],
|
| 181 |
+
"pos": [
|
| 182 |
+
-1.09,
|
| 183 |
+
0.0,
|
| 184 |
+
-1.22
|
| 185 |
+
],
|
| 186 |
+
"instance_id": "furniture/365"
|
| 187 |
+
}
|
| 188 |
+
],
|
| 189 |
+
"doors": [],
|
| 190 |
+
"windows": [],
|
| 191 |
+
"floor_material": {
|
| 192 |
+
"jid": "2ca67c08-f98d-4b2d-8f36-a6612008a74a",
|
| 193 |
+
"material_type": "flooring - hardwood",
|
| 194 |
+
"texture_path": "3D-FRONT-texture/2ca67c08-f98d-4b2d-8f36-a6612008a74a/texture.png"
|
| 195 |
+
}
|
| 196 |
+
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"orig_scene_uid": "a35c271d-20fd-4579-a702-e41478c2d24e",
|
| 3 |
+
"uid": "ccfe5f4b-2935-472f-af8d-5b019d52d86a",
|
| 4 |
+
"room_id": "DiningRoom-12765",
|
| 5 |
+
"bounds_top": [
|
| 6 |
+
[
|
| 7 |
+
-1.45,
|
| 8 |
+
2.6,
|
| 9 |
+
1.9
|
| 10 |
+
],
|
| 11 |
+
[
|
| 12 |
+
1.45,
|
| 13 |
+
2.6,
|
| 14 |
+
1.9
|
| 15 |
+
],
|
| 16 |
+
[
|
| 17 |
+
1.45,
|
| 18 |
+
2.6,
|
| 19 |
+
-1.9
|
| 20 |
+
],
|
| 21 |
+
[
|
| 22 |
+
-1.45,
|
| 23 |
+
2.6,
|
| 24 |
+
-1.9
|
| 25 |
+
]
|
| 26 |
+
],
|
| 27 |
+
"bounds_bottom": [
|
| 28 |
+
[
|
| 29 |
+
-1.45,
|
| 30 |
+
0.0,
|
| 31 |
+
1.9
|
| 32 |
+
],
|
| 33 |
+
[
|
| 34 |
+
1.45,
|
| 35 |
+
0.0,
|
| 36 |
+
1.9
|
| 37 |
+
],
|
| 38 |
+
[
|
| 39 |
+
1.45,
|
| 40 |
+
0.0,
|
| 41 |
+
-1.9
|
| 42 |
+
],
|
| 43 |
+
[
|
| 44 |
+
-1.45,
|
| 45 |
+
0.0,
|
| 46 |
+
-1.9
|
| 47 |
+
]
|
| 48 |
+
],
|
| 49 |
+
"objects": [
|
| 50 |
+
{
|
| 51 |
+
"uid": "7980/model",
|
| 52 |
+
"jid": "84e42153-bfb5-4f05-8e28-84e4772351ae",
|
| 53 |
+
"size": [
|
| 54 |
+
2.23,
|
| 55 |
+
0.72,
|
| 56 |
+
0.92
|
| 57 |
+
],
|
| 58 |
+
"desc": "Modern minimalist brown wooden rectangular dining table with angled legs and simple design.",
|
| 59 |
+
"is_scaled": false,
|
| 60 |
+
"rot": [
|
| 61 |
+
0,
|
| 62 |
+
0.70711,
|
| 63 |
+
0,
|
| 64 |
+
0.70711
|
| 65 |
+
],
|
| 66 |
+
"pos": [
|
| 67 |
+
0.08,
|
| 68 |
+
0.0,
|
| 69 |
+
-0.02
|
| 70 |
+
],
|
| 71 |
+
"instance_id": "furniture/383"
|
| 72 |
+
},
|
| 73 |
+
{
|
| 74 |
+
"uid": "7981/model",
|
| 75 |
+
"jid": "47d40cd4-1ae6-4dbb-87f4-cf0f715eeff8",
|
| 76 |
+
"size": [
|
| 77 |
+
0.49,
|
| 78 |
+
0.87,
|
| 79 |
+
0.55
|
| 80 |
+
],
|
| 81 |
+
"desc": "A modern minimalist dining chair with clean lines, a gray upholstered seat, natural wood tapered legs, and a distinctive cut-out wood backrest.",
|
| 82 |
+
"is_scaled": false,
|
| 83 |
+
"rot": [
|
| 84 |
+
0,
|
| 85 |
+
0.70711,
|
| 86 |
+
0,
|
| 87 |
+
0.70711
|
| 88 |
+
],
|
| 89 |
+
"pos": [
|
| 90 |
+
-0.48,
|
| 91 |
+
0.0,
|
| 92 |
+
-0.26
|
| 93 |
+
],
|
| 94 |
+
"instance_id": "furniture/384"
|
| 95 |
+
},
|
| 96 |
+
{
|
| 97 |
+
"uid": "7981/model",
|
| 98 |
+
"jid": "47d40cd4-1ae6-4dbb-87f4-cf0f715eeff8",
|
| 99 |
+
"size": [
|
| 100 |
+
0.49,
|
| 101 |
+
0.87,
|
| 102 |
+
0.55
|
| 103 |
+
],
|
| 104 |
+
"desc": "A modern minimalist dining chair with clean lines, a gray upholstered seat, natural wood tapered legs, and a distinctive cut-out wood backrest.",
|
| 105 |
+
"is_scaled": false,
|
| 106 |
+
"rot": [
|
| 107 |
+
0,
|
| 108 |
+
-0.70711,
|
| 109 |
+
0,
|
| 110 |
+
0.70711
|
| 111 |
+
],
|
| 112 |
+
"pos": [
|
| 113 |
+
0.65,
|
| 114 |
+
0.0,
|
| 115 |
+
-0.4
|
| 116 |
+
],
|
| 117 |
+
"instance_id": "furniture/385"
|
| 118 |
+
},
|
| 119 |
+
{
|
| 120 |
+
"uid": "7981/model",
|
| 121 |
+
"jid": "47d40cd4-1ae6-4dbb-87f4-cf0f715eeff8",
|
| 122 |
+
"size": [
|
| 123 |
+
0.49,
|
| 124 |
+
0.87,
|
| 125 |
+
0.55
|
| 126 |
+
],
|
| 127 |
+
"desc": "A modern minimalist dining chair with clean lines, a gray upholstered seat, natural wood tapered legs, and a distinctive cut-out wood backrest.",
|
| 128 |
+
"is_scaled": false,
|
| 129 |
+
"rot": [
|
| 130 |
+
0,
|
| 131 |
+
-0.70711,
|
| 132 |
+
0,
|
| 133 |
+
0.70711
|
| 134 |
+
],
|
| 135 |
+
"pos": [
|
| 136 |
+
0.69,
|
| 137 |
+
0.0,
|
| 138 |
+
0.56
|
| 139 |
+
],
|
| 140 |
+
"instance_id": "furniture/386"
|
| 141 |
+
},
|
| 142 |
+
{
|
| 143 |
+
"uid": "7981/model",
|
| 144 |
+
"jid": "47d40cd4-1ae6-4dbb-87f4-cf0f715eeff8",
|
| 145 |
+
"size": [
|
| 146 |
+
0.49,
|
| 147 |
+
0.87,
|
| 148 |
+
0.55
|
| 149 |
+
],
|
| 150 |
+
"desc": "A modern minimalist dining chair with clean lines, a gray upholstered seat, natural wood tapered legs, and a distinctive cut-out wood backrest.",
|
| 151 |
+
"is_scaled": false,
|
| 152 |
+
"rot": [
|
| 153 |
+
0,
|
| 154 |
+
0.70711,
|
| 155 |
+
0,
|
| 156 |
+
0.70711
|
| 157 |
+
],
|
| 158 |
+
"pos": [
|
| 159 |
+
-0.5,
|
| 160 |
+
0.0,
|
| 161 |
+
0.64
|
| 162 |
+
],
|
| 163 |
+
"instance_id": "furniture/387"
|
| 164 |
+
},
|
| 165 |
+
{
|
| 166 |
+
"uid": "8049/model",
|
| 167 |
+
"jid": "89b7c9e6-dc40-4e23-b64b-0c9876967430",
|
| 168 |
+
"size": [
|
| 169 |
+
1.08,
|
| 170 |
+
2.08,
|
| 171 |
+
0.49
|
| 172 |
+
],
|
| 173 |
+
"desc": "Classic white wine cabinet with glass panel upper doors, fixed shelves, lower wooden storage, crown molding, and turned feet.",
|
| 174 |
+
"is_scaled": false,
|
| 175 |
+
"rot": [
|
| 176 |
+
0,
|
| 177 |
+
0.70711,
|
| 178 |
+
0,
|
| 179 |
+
0.70711
|
| 180 |
+
],
|
| 181 |
+
"pos": [
|
| 182 |
+
-1.18,
|
| 183 |
+
0.0,
|
| 184 |
+
-1.4
|
| 185 |
+
],
|
| 186 |
+
"instance_id": "furniture/389"
|
| 187 |
+
},
|
| 188 |
+
{
|
| 189 |
+
"uid": "8487/model",
|
| 190 |
+
"jid": "d3b90781-9764-4b5f-b70d-1a82e9fb365e",
|
| 191 |
+
"size": [
|
| 192 |
+
0.56,
|
| 193 |
+
2.75,
|
| 194 |
+
0.56
|
| 195 |
+
],
|
| 196 |
+
"desc": "A contemporary minimalist pendant lamp featuring a spiral design with multiple silver and grey conical metal and glass pendants hanging from thin cables.",
|
| 197 |
+
"is_scaled": false,
|
| 198 |
+
"rot": [
|
| 199 |
+
0,
|
| 200 |
+
0,
|
| 201 |
+
0,
|
| 202 |
+
1
|
| 203 |
+
],
|
| 204 |
+
"pos": [
|
| 205 |
+
0.08,
|
| 206 |
+
-0.01,
|
| 207 |
+
0.07
|
| 208 |
+
],
|
| 209 |
+
"instance_id": "furniture/391"
|
| 210 |
+
}
|
| 211 |
+
],
|
| 212 |
+
"doors": [],
|
| 213 |
+
"windows": [],
|
| 214 |
+
"floor_material": {
|
| 215 |
+
"jid": "c46b54f5-e221-4b0c-9e83-f9fcaa1bfc0e",
|
| 216 |
+
"material_type": "flooring - reinforced",
|
| 217 |
+
"texture_path": "3D-FRONT-texture/c46b54f5-e221-4b0c-9e83-f9fcaa1bfc0e/texture.png"
|
| 218 |
+
}
|
| 219 |
+
}
|
tools/__pycache__/asset_description_manager.cpython-311.pyc
ADDED
|
Binary file (5.45 kB). View file
|
|
|
tools/__pycache__/asset_description_manager.cpython-313.pyc
ADDED
|
Binary file (4.93 kB). View file
|
|
|
tools/__pycache__/asset_finder.cpython-311.pyc
ADDED
|
Binary file (10.1 kB). View file
|
|
|
tools/__pycache__/extract_room_boundary.cpython-310.pyc
ADDED
|
Binary file (31.7 kB). View file
|
|
|
tools/__pycache__/gpt_description_generator.cpython-311.pyc
ADDED
|
Binary file (14.2 kB). View file
|
|
|
tools/__pycache__/process_asset_descriptions_mp.cpython-311.pyc
ADDED
|
Binary file (29.6 kB). View file
|
|
|
tools/data_gen/__init__.py
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
# Data generation utilities for LM fine-tuning
|
tools/data_gen/build_finetune_data.py
ADDED
|
@@ -0,0 +1,736 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#!/usr/bin/env python3
|
| 2 |
+
"""
|
| 3 |
+
整合 user_design_prompt + CoT + layout.json 生成 LM fine-tuning 数据
|
| 4 |
+
|
| 5 |
+
数据来源:
|
| 6 |
+
- user_design_prompts_sampled_{coarse,medium,fine}/: 用户设计指令(每场景一条)
|
| 7 |
+
- layout_design_cot/: Chain-of-Thought 推理过程
|
| 8 |
+
- unified-layout/: 最终的 layout.json
|
| 9 |
+
|
| 10 |
+
输出格式 (JSONL):
|
| 11 |
+
{
|
| 12 |
+
"scene_id": "scannet/scene0000_00",
|
| 13 |
+
"granularity": "coarse", # coarse/medium/fine
|
| 14 |
+
"input": "<user_design_prompt>",
|
| 15 |
+
"cot": "<chain_of_thought_reasoning>",
|
| 16 |
+
"output": {<layout_json>}
|
| 17 |
+
}
|
| 18 |
+
"""
|
| 19 |
+
|
| 20 |
+
import json
|
| 21 |
+
import os
|
| 22 |
+
import argparse
|
| 23 |
+
import random
|
| 24 |
+
from pathlib import Path
|
| 25 |
+
from typing import List, Dict, Any, Optional, Tuple
|
| 26 |
+
from concurrent.futures import ThreadPoolExecutor, as_completed
|
| 27 |
+
from tqdm import tqdm
|
| 28 |
+
|
| 29 |
+
|
| 30 |
+
# ============================================
|
| 31 |
+
# 路径配置
|
| 32 |
+
# ============================================
|
| 33 |
+
BASE_DATA_DIR = os.path.expanduser("~/backup/datas")
|
| 34 |
+
|
| 35 |
+
# 输入路径
|
| 36 |
+
UNIFIED_LAYOUT_BASE = os.path.join(BASE_DATA_DIR, "unified-layout-aligned")
|
| 37 |
+
COT_OUTPUT_BASE = os.path.join(BASE_DATA_DIR, "layout_design_cot_aligned_coarse")
|
| 38 |
+
|
| 39 |
+
# User design prompts (已按粒度抽样)
|
| 40 |
+
USER_PROMPT_SAMPLED = {
|
| 41 |
+
"coarse": os.path.join(BASE_DATA_DIR, "user_design_prompts_sampled_coarse"),
|
| 42 |
+
"medium": os.path.join(BASE_DATA_DIR, "user_design_prompts_sampled_medium"),
|
| 43 |
+
"fine": os.path.join(BASE_DATA_DIR, "user_design_prompts_sampled_fine"),
|
| 44 |
+
}
|
| 45 |
+
|
| 46 |
+
# 输出路径
|
| 47 |
+
OUTPUT_BASE = os.path.join(BASE_DATA_DIR, "lm_finetune_data")
|
| 48 |
+
|
| 49 |
+
# 数据集列表
|
| 50 |
+
DATASETS = ["scannet", "3rscan", "arkitscenes", "3d-front", "matterport3d"]
|
| 51 |
+
|
| 52 |
+
|
| 53 |
+
def load_text_file(path: str) -> Optional[str]:
|
| 54 |
+
"""读取文本文件"""
|
| 55 |
+
if not os.path.exists(path):
|
| 56 |
+
return None
|
| 57 |
+
with open(path, 'r', encoding='utf-8') as f:
|
| 58 |
+
return f.read().strip()
|
| 59 |
+
|
| 60 |
+
|
| 61 |
+
def load_json_file(path: str) -> Optional[Dict]:
|
| 62 |
+
"""读取 JSON 文件"""
|
| 63 |
+
if not os.path.exists(path):
|
| 64 |
+
return None
|
| 65 |
+
with open(path, 'r', encoding='utf-8') as f:
|
| 66 |
+
return json.load(f)
|
| 67 |
+
|
| 68 |
+
|
| 69 |
+
def _reorder_dict(data: Dict[str, Any], key_order: List[str]) -> Dict[str, Any]:
|
| 70 |
+
"""Return a new dict following key_order then remaining keys in original order."""
|
| 71 |
+
out: Dict[str, Any] = {}
|
| 72 |
+
for k in key_order:
|
| 73 |
+
if k in data:
|
| 74 |
+
out[k] = data[k]
|
| 75 |
+
for k, v in data.items():
|
| 76 |
+
if k not in out:
|
| 77 |
+
out[k] = v
|
| 78 |
+
return out
|
| 79 |
+
|
| 80 |
+
|
| 81 |
+
def _normalize_asset(asset: Dict[str, Any]) -> Dict[str, Any]:
|
| 82 |
+
"""Flatten transform into pos/rot/size and reorder keys."""
|
| 83 |
+
transform = asset.pop("transform", None)
|
| 84 |
+
if isinstance(transform, dict):
|
| 85 |
+
for k in ("pos", "rot", "size"):
|
| 86 |
+
if k in transform and k not in asset:
|
| 87 |
+
asset[k] = transform[k]
|
| 88 |
+
|
| 89 |
+
order = ["id", "model_id", "category", "role", "description", "pos", "rot", "size"]
|
| 90 |
+
return _reorder_dict(asset, order)
|
| 91 |
+
|
| 92 |
+
|
| 93 |
+
def _normalize_zone(zone: Dict[str, Any]) -> Dict[str, Any]:
|
| 94 |
+
assets = zone.get("assets", [])
|
| 95 |
+
zone["assets"] = [_normalize_asset(a) for a in assets]
|
| 96 |
+
order = ["id", "semantic_label", "assets", "spatial_graph"]
|
| 97 |
+
return _reorder_dict(zone, order)
|
| 98 |
+
|
| 99 |
+
|
| 100 |
+
def normalize_layout(layout: Dict[str, Any]) -> Dict[str, Any]:
|
| 101 |
+
"""Normalize layout json: drop scene_type, flatten asset.transform, reorder keys."""
|
| 102 |
+
layout = dict(layout) # shallow copy
|
| 103 |
+
layout.pop("scene_type", None)
|
| 104 |
+
|
| 105 |
+
if "functional_zones" in layout:
|
| 106 |
+
layout["functional_zones"] = [_normalize_zone(z) for z in layout.get("functional_zones", [])]
|
| 107 |
+
|
| 108 |
+
top_order = ["meta", "architecture", "zone_topology", "functional_zones"]
|
| 109 |
+
return _reorder_dict(layout, top_order)
|
| 110 |
+
|
| 111 |
+
|
| 112 |
+
def get_scene_paths(scene_path: str, granularity: str = "coarse") -> Tuple[str, str, str]:
|
| 113 |
+
"""
|
| 114 |
+
根据场景路径获取各数据文件的路径
|
| 115 |
+
|
| 116 |
+
Args:
|
| 117 |
+
scene_path: 相对路径,如 "scannet/scene0000_00" 或 "arkitscenes/Training/12345"
|
| 118 |
+
granularity: 粒度 (coarse/medium/fine),用于确定 CoT 路径
|
| 119 |
+
|
| 120 |
+
Returns:
|
| 121 |
+
(layout_path, cot_path, scene_id)
|
| 122 |
+
"""
|
| 123 |
+
parts = scene_path.split('/')
|
| 124 |
+
dataset = parts[0]
|
| 125 |
+
|
| 126 |
+
# CoT 基础路径根据粒度变化
|
| 127 |
+
cot_base = os.path.join(BASE_DATA_DIR, f"layout_design_cot_aligned_{granularity}")
|
| 128 |
+
|
| 129 |
+
if dataset == "scannet" or dataset == "3rscan":
|
| 130 |
+
scene_id = parts[1]
|
| 131 |
+
layout_path = os.path.join(UNIFIED_LAYOUT_BASE, scene_path, "layout.json")
|
| 132 |
+
cot_path = os.path.join(cot_base, dataset, f"{scene_id}.txt")
|
| 133 |
+
|
| 134 |
+
elif dataset == "arkitscenes":
|
| 135 |
+
split = parts[1] # Training or Validation
|
| 136 |
+
scene_id = parts[2]
|
| 137 |
+
layout_path = os.path.join(UNIFIED_LAYOUT_BASE, scene_path, "layout.json")
|
| 138 |
+
cot_path = os.path.join(cot_base, f"{dataset}/{split}", f"{scene_id}.txt")
|
| 139 |
+
|
| 140 |
+
elif dataset == "3d-front":
|
| 141 |
+
seq_id = parts[1]
|
| 142 |
+
room_id = parts[2]
|
| 143 |
+
scene_id = room_id
|
| 144 |
+
layout_path = os.path.join(UNIFIED_LAYOUT_BASE, scene_path, "layout.json")
|
| 145 |
+
cot_path = os.path.join(cot_base, f"3d-front/{seq_id}", f"{room_id}.txt")
|
| 146 |
+
|
| 147 |
+
elif dataset == "matterport3d":
|
| 148 |
+
scene_id = parts[1]
|
| 149 |
+
region_id = parts[2]
|
| 150 |
+
layout_path = os.path.join(UNIFIED_LAYOUT_BASE, scene_path, "layout.json")
|
| 151 |
+
cot_path = os.path.join(cot_base, f"matterport3d/{scene_id}", f"{region_id}.txt")
|
| 152 |
+
scene_id = region_id # 输出使用 region_id
|
| 153 |
+
else:
|
| 154 |
+
raise ValueError(f"Unknown dataset: {dataset}")
|
| 155 |
+
|
| 156 |
+
return layout_path, cot_path, scene_id
|
| 157 |
+
|
| 158 |
+
|
| 159 |
+
def get_user_prompt_path(scene_path: str, granularity: str) -> str:
|
| 160 |
+
"""
|
| 161 |
+
获取用户设计指令文件路径
|
| 162 |
+
|
| 163 |
+
Args:
|
| 164 |
+
scene_path: 相对路径
|
| 165 |
+
granularity: coarse/medium/fine
|
| 166 |
+
|
| 167 |
+
Returns:
|
| 168 |
+
用户指令文件路径
|
| 169 |
+
"""
|
| 170 |
+
parts = scene_path.split('/')
|
| 171 |
+
dataset = parts[0]
|
| 172 |
+
|
| 173 |
+
base = USER_PROMPT_SAMPLED[granularity]
|
| 174 |
+
|
| 175 |
+
if dataset == "scannet" or dataset == "3rscan":
|
| 176 |
+
scene_id = parts[1]
|
| 177 |
+
return os.path.join(base, dataset, f"{scene_id}.txt")
|
| 178 |
+
|
| 179 |
+
elif dataset == "arkitscenes":
|
| 180 |
+
split = parts[1]
|
| 181 |
+
scene_id = parts[2]
|
| 182 |
+
return os.path.join(base, f"{dataset}/{split}", f"{scene_id}.txt")
|
| 183 |
+
|
| 184 |
+
elif dataset == "3d-front":
|
| 185 |
+
seq_id = parts[1]
|
| 186 |
+
room_id = parts[2]
|
| 187 |
+
return os.path.join(base, f"3d-front/{seq_id}", f"{room_id}.txt")
|
| 188 |
+
|
| 189 |
+
elif dataset == "matterport3d":
|
| 190 |
+
scene_id = parts[1]
|
| 191 |
+
region_id = parts[2]
|
| 192 |
+
return os.path.join(base, f"matterport3d/{scene_id}", f"{region_id}.txt")
|
| 193 |
+
|
| 194 |
+
return ""
|
| 195 |
+
|
| 196 |
+
|
| 197 |
+
def process_single_scene(
|
| 198 |
+
scene_path: str,
|
| 199 |
+
granularity: str,
|
| 200 |
+
include_cot: bool = True
|
| 201 |
+
) -> Optional[Dict[str, Any]]:
|
| 202 |
+
"""
|
| 203 |
+
处理单个场景,生成训练数据
|
| 204 |
+
|
| 205 |
+
Args:
|
| 206 |
+
scene_path: 场景相对路径
|
| 207 |
+
granularity: 粒度 (coarse/medium/fine)
|
| 208 |
+
include_cot: 是否包含 CoT
|
| 209 |
+
|
| 210 |
+
Returns:
|
| 211 |
+
训练数据字典,或 None(如果数据不完整)
|
| 212 |
+
"""
|
| 213 |
+
try:
|
| 214 |
+
layout_path, cot_path, scene_id = get_scene_paths(scene_path, granularity)
|
| 215 |
+
user_prompt_path = get_user_prompt_path(scene_path, granularity)
|
| 216 |
+
|
| 217 |
+
# 加载数据
|
| 218 |
+
layout_json = load_json_file(layout_path)
|
| 219 |
+
user_prompt = load_text_file(user_prompt_path)
|
| 220 |
+
cot_text = load_text_file(cot_path) if include_cot else None
|
| 221 |
+
|
| 222 |
+
# 检查必要数据
|
| 223 |
+
if layout_json is None:
|
| 224 |
+
return None
|
| 225 |
+
if user_prompt is None:
|
| 226 |
+
return None
|
| 227 |
+
if include_cot and cot_text is None:
|
| 228 |
+
return None
|
| 229 |
+
|
| 230 |
+
# 规范化 layout
|
| 231 |
+
layout_json = normalize_layout(layout_json)
|
| 232 |
+
|
| 233 |
+
# 构建训练样本
|
| 234 |
+
sample = {
|
| 235 |
+
"scene_id": scene_path,
|
| 236 |
+
"granularity": granularity,
|
| 237 |
+
"input": user_prompt,
|
| 238 |
+
"output": layout_json,
|
| 239 |
+
}
|
| 240 |
+
|
| 241 |
+
if include_cot and cot_text:
|
| 242 |
+
sample["cot"] = cot_text
|
| 243 |
+
|
| 244 |
+
return sample
|
| 245 |
+
|
| 246 |
+
except Exception as e:
|
| 247 |
+
print(f"Error processing {scene_path}: {e}")
|
| 248 |
+
return None
|
| 249 |
+
|
| 250 |
+
|
| 251 |
+
def collect_all_scenes(scenes_list_file: str) -> List[str]:
|
| 252 |
+
"""从场景列表文件收集所有场景路径"""
|
| 253 |
+
with open(scenes_list_file, 'r') as f:
|
| 254 |
+
scenes = [line.strip() for line in f if line.strip() and not line.startswith('#')]
|
| 255 |
+
return scenes
|
| 256 |
+
|
| 257 |
+
|
| 258 |
+
def generate_finetune_data(
|
| 259 |
+
scenes_list_file: str,
|
| 260 |
+
granularities: List[str] = ["coarse", "medium", "fine"],
|
| 261 |
+
include_cot: bool = True,
|
| 262 |
+
output_dir: str = None,
|
| 263 |
+
num_workers: int = 16,
|
| 264 |
+
format: str = "jsonl" # jsonl or json
|
| 265 |
+
) -> Dict[str, int]:
|
| 266 |
+
"""
|
| 267 |
+
生成 LM fine-tuning 数据
|
| 268 |
+
|
| 269 |
+
Args:
|
| 270 |
+
scenes_list_file: 场景列表文件
|
| 271 |
+
granularities: 要处理的粒度列表
|
| 272 |
+
include_cot: 是否包含 CoT
|
| 273 |
+
output_dir: 输出目录
|
| 274 |
+
num_workers: 并发数
|
| 275 |
+
format: 输出格式 (jsonl 或 json)
|
| 276 |
+
|
| 277 |
+
Returns:
|
| 278 |
+
统计信息
|
| 279 |
+
"""
|
| 280 |
+
if output_dir is None:
|
| 281 |
+
output_dir = OUTPUT_BASE
|
| 282 |
+
|
| 283 |
+
os.makedirs(output_dir, exist_ok=True)
|
| 284 |
+
|
| 285 |
+
# 收集所有场景
|
| 286 |
+
scenes = collect_all_scenes(scenes_list_file)
|
| 287 |
+
print(f"Found {len(scenes)} scenes to process")
|
| 288 |
+
|
| 289 |
+
stats = {
|
| 290 |
+
"total_scenes": len(scenes),
|
| 291 |
+
"processed": 0,
|
| 292 |
+
"skipped": 0,
|
| 293 |
+
}
|
| 294 |
+
|
| 295 |
+
all_samples = []
|
| 296 |
+
|
| 297 |
+
# 为每个粒度分别处理
|
| 298 |
+
for granularity in granularities:
|
| 299 |
+
print(f"\n{'='*60}")
|
| 300 |
+
print(f"Processing granularity: {granularity}")
|
| 301 |
+
print(f"{'='*60}")
|
| 302 |
+
|
| 303 |
+
granularity_samples = []
|
| 304 |
+
|
| 305 |
+
# 并发处理
|
| 306 |
+
with ThreadPoolExecutor(max_workers=num_workers) as executor:
|
| 307 |
+
futures = {
|
| 308 |
+
executor.submit(process_single_scene, scene, granularity, include_cot): scene
|
| 309 |
+
for scene in scenes
|
| 310 |
+
}
|
| 311 |
+
|
| 312 |
+
for future in tqdm(as_completed(futures), total=len(futures), desc=f"{granularity}"):
|
| 313 |
+
scene = futures[future]
|
| 314 |
+
try:
|
| 315 |
+
result = future.result()
|
| 316 |
+
if result:
|
| 317 |
+
granularity_samples.append(result)
|
| 318 |
+
stats["processed"] += 1
|
| 319 |
+
else:
|
| 320 |
+
stats["skipped"] += 1
|
| 321 |
+
except Exception as e:
|
| 322 |
+
print(f"Exception for {scene}: {e}")
|
| 323 |
+
stats["skipped"] += 1
|
| 324 |
+
|
| 325 |
+
print(f"Collected {len(granularity_samples)} samples for {granularity}")
|
| 326 |
+
all_samples.extend(granularity_samples)
|
| 327 |
+
|
| 328 |
+
# 单独保存每个粒度的数据
|
| 329 |
+
granularity_output = os.path.join(output_dir, f"train_{granularity}.jsonl")
|
| 330 |
+
with open(granularity_output, 'w', encoding='utf-8') as f:
|
| 331 |
+
for sample in granularity_samples:
|
| 332 |
+
f.write(json.dumps(sample, ensure_ascii=False) + '\n')
|
| 333 |
+
print(f"Saved {len(granularity_samples)} samples to {granularity_output}")
|
| 334 |
+
|
| 335 |
+
# 保存合并的数据
|
| 336 |
+
if format == "jsonl":
|
| 337 |
+
output_file = os.path.join(output_dir, "train_all.jsonl")
|
| 338 |
+
with open(output_file, 'w', encoding='utf-8') as f:
|
| 339 |
+
for sample in all_samples:
|
| 340 |
+
f.write(json.dumps(sample, ensure_ascii=False) + '\n')
|
| 341 |
+
else:
|
| 342 |
+
output_file = os.path.join(output_dir, "train_all.json")
|
| 343 |
+
with open(output_file, 'w', encoding='utf-8') as f:
|
| 344 |
+
json.dump(all_samples, f, ensure_ascii=False, indent=2)
|
| 345 |
+
|
| 346 |
+
print(f"\n{'='*60}")
|
| 347 |
+
print(f"Total samples: {len(all_samples)}")
|
| 348 |
+
print(f"Saved to: {output_file}")
|
| 349 |
+
print(f"Stats: {stats}")
|
| 350 |
+
|
| 351 |
+
return stats
|
| 352 |
+
|
| 353 |
+
|
| 354 |
+
def _build_legacy_entry(scene_path: str, granularity: str, include_cot: bool, split: str = "train") -> Dict[str, Any]:
|
| 355 |
+
"""构造 legacy v2 兼容的数据条目 (training_data_with_content_v2.json 对齐)"""
|
| 356 |
+
|
| 357 |
+
layout_path, cot_path, scene_id = get_scene_paths(scene_path, granularity)
|
| 358 |
+
user_prompt_path = get_user_prompt_path(scene_path, granularity)
|
| 359 |
+
|
| 360 |
+
user_exists = os.path.exists(user_prompt_path)
|
| 361 |
+
cot_exists = os.path.exists(cot_path) if include_cot else True
|
| 362 |
+
answer_exists = os.path.exists(layout_path)
|
| 363 |
+
complete = user_exists and cot_exists and answer_exists
|
| 364 |
+
|
| 365 |
+
content: Dict[str, Any] = {}
|
| 366 |
+
if user_exists:
|
| 367 |
+
content["user_input"] = load_text_file(user_prompt_path)
|
| 368 |
+
if include_cot and cot_exists:
|
| 369 |
+
content["cot"] = load_text_file(cot_path)
|
| 370 |
+
if answer_exists:
|
| 371 |
+
# 保存为字符串以匹配旧版格式 (stringified JSON)
|
| 372 |
+
layout_json = load_json_file(layout_path)
|
| 373 |
+
layout_json = normalize_layout(layout_json)
|
| 374 |
+
content["answer"] = json.dumps(layout_json, ensure_ascii=False)
|
| 375 |
+
|
| 376 |
+
entry = {
|
| 377 |
+
"id": f"{scene_path}:{granularity}",
|
| 378 |
+
"scene_path": scene_path,
|
| 379 |
+
"granularity": granularity,
|
| 380 |
+
"split": split,
|
| 381 |
+
"files": {
|
| 382 |
+
"user_input_path": user_prompt_path,
|
| 383 |
+
"cot_path": cot_path if include_cot else None,
|
| 384 |
+
"answer_path": layout_path,
|
| 385 |
+
},
|
| 386 |
+
"status": {
|
| 387 |
+
"user_input_exists": user_exists,
|
| 388 |
+
"cot_exists": cot_exists,
|
| 389 |
+
"answer_exists": answer_exists,
|
| 390 |
+
"complete": complete,
|
| 391 |
+
"split_found": True,
|
| 392 |
+
},
|
| 393 |
+
}
|
| 394 |
+
|
| 395 |
+
if content:
|
| 396 |
+
entry["content"] = content
|
| 397 |
+
|
| 398 |
+
return entry
|
| 399 |
+
|
| 400 |
+
|
| 401 |
+
def generate_legacy_v2_format(
|
| 402 |
+
scenes_list_file: str,
|
| 403 |
+
granularities: List[str],
|
| 404 |
+
include_cot: bool,
|
| 405 |
+
output_file: str,
|
| 406 |
+
num_workers: int = 16,
|
| 407 |
+
split: str = "train",
|
| 408 |
+
include_content: bool = True,
|
| 409 |
+
test_size: int = 500,
|
| 410 |
+
) -> Dict[str, Any]:
|
| 411 |
+
"""
|
| 412 |
+
生成与早期 `training_data_with_content_v2.json` 对齐的结构。
|
| 413 |
+
|
| 414 |
+
返回:
|
| 415 |
+
metadata + data 列表的字典
|
| 416 |
+
"""
|
| 417 |
+
|
| 418 |
+
scenes = collect_all_scenes(scenes_list_file)
|
| 419 |
+
print(f"[legacy_v2] scenes: {len(scenes)}, granularities: {granularities}, include_cot={include_cot}")
|
| 420 |
+
|
| 421 |
+
entries: List[Dict[str, Any]] = []
|
| 422 |
+
|
| 423 |
+
# 并发处理
|
| 424 |
+
with ThreadPoolExecutor(max_workers=num_workers) as executor:
|
| 425 |
+
futures = {}
|
| 426 |
+
for scene in scenes:
|
| 427 |
+
for granularity in granularities:
|
| 428 |
+
# arkitscenes Validation -> split=val, others default train (later some sampled to test)
|
| 429 |
+
parts = scene.split('/')
|
| 430 |
+
scene_split = "train"
|
| 431 |
+
if len(parts) >= 3 and parts[0] == "arkitscenes" and parts[1].lower() == "validation":
|
| 432 |
+
scene_split = "val"
|
| 433 |
+
futures[executor.submit(_build_legacy_entry, scene, granularity, include_cot, scene_split)] = (scene, granularity)
|
| 434 |
+
|
| 435 |
+
for future in tqdm(as_completed(futures), total=len(futures), desc="legacy_v2"):
|
| 436 |
+
scene, granularity = futures[future]
|
| 437 |
+
try:
|
| 438 |
+
entry = future.result()
|
| 439 |
+
if not include_content:
|
| 440 |
+
entry.pop("content", None)
|
| 441 |
+
entries.append(entry)
|
| 442 |
+
except Exception as e:
|
| 443 |
+
print(f"[legacy_v2] error for {scene}:{granularity} -> {e}")
|
| 444 |
+
|
| 445 |
+
# 追加随机 test 划分(不覆盖val)
|
| 446 |
+
train_indices = [i for i, e in enumerate(entries) if e.get("split") == "train"]
|
| 447 |
+
random.seed(42)
|
| 448 |
+
chosen = set(random.sample(train_indices, k=min(test_size, len(train_indices))))
|
| 449 |
+
for idx in chosen:
|
| 450 |
+
entries[idx]["split"] = "test"
|
| 451 |
+
|
| 452 |
+
total_entries = len(entries)
|
| 453 |
+
complete_matches = sum(1 for e in entries if e["status"]["complete"])
|
| 454 |
+
|
| 455 |
+
metadata = {
|
| 456 |
+
"total_entries": total_entries,
|
| 457 |
+
"complete_matches": complete_matches,
|
| 458 |
+
"partial_matches": total_entries - complete_matches,
|
| 459 |
+
"split_mapping_loaded": len(scenes), # 这里没有 split 文件,直接视为全部找到
|
| 460 |
+
"directories": {
|
| 461 |
+
"user_designs": USER_PROMPT_SAMPLED.get(granularities[0], ""),
|
| 462 |
+
"cot": COT_OUTPUT_BASE,
|
| 463 |
+
"grouped_layouts": UNIFIED_LAYOUT_BASE,
|
| 464 |
+
},
|
| 465 |
+
"include_content": include_content,
|
| 466 |
+
"split_statistics": {
|
| 467 |
+
"split_found": len(scenes),
|
| 468 |
+
"split_not_found": 0,
|
| 469 |
+
},
|
| 470 |
+
}
|
| 471 |
+
|
| 472 |
+
payload = {
|
| 473 |
+
"metadata": metadata,
|
| 474 |
+
"data": entries,
|
| 475 |
+
}
|
| 476 |
+
|
| 477 |
+
os.makedirs(os.path.dirname(output_file), exist_ok=True)
|
| 478 |
+
with open(output_file, "w", encoding="utf-8") as f:
|
| 479 |
+
json.dump(payload, f, ensure_ascii=False, indent=2)
|
| 480 |
+
|
| 481 |
+
print(f"[legacy_v2] saved {total_entries} entries to {output_file}")
|
| 482 |
+
return payload
|
| 483 |
+
|
| 484 |
+
|
| 485 |
+
def generate_legacy_v2_format_random_granularity(
|
| 486 |
+
scenes_list_file: str,
|
| 487 |
+
include_cot: bool,
|
| 488 |
+
output_file: str,
|
| 489 |
+
num_workers: int = 16,
|
| 490 |
+
split: str = "train",
|
| 491 |
+
include_content: bool = True,
|
| 492 |
+
test_size: int = 500,
|
| 493 |
+
seed: int = 42,
|
| 494 |
+
) -> Dict[str, Any]:
|
| 495 |
+
"""
|
| 496 |
+
生成与早期 `training_data_with_content_v2.json` 对齐的结构。
|
| 497 |
+
每条数据随机选择一个粒度 (coarse/medium/fine)。
|
| 498 |
+
|
| 499 |
+
返回:
|
| 500 |
+
metadata + data 列表的字典
|
| 501 |
+
"""
|
| 502 |
+
all_granularities = ["coarse", "medium", "fine"]
|
| 503 |
+
|
| 504 |
+
scenes = collect_all_scenes(scenes_list_file)
|
| 505 |
+
print(f"[legacy_v2_random] scenes: {len(scenes)}, random granularity from {all_granularities}, include_cot={include_cot}")
|
| 506 |
+
|
| 507 |
+
# 为每个场景随机分配粒度
|
| 508 |
+
random.seed(seed)
|
| 509 |
+
scene_granularities = [(scene, random.choice(all_granularities)) for scene in scenes]
|
| 510 |
+
|
| 511 |
+
entries: List[Dict[str, Any]] = []
|
| 512 |
+
|
| 513 |
+
# 并发处理
|
| 514 |
+
with ThreadPoolExecutor(max_workers=num_workers) as executor:
|
| 515 |
+
futures = {}
|
| 516 |
+
for scene, granularity in scene_granularities:
|
| 517 |
+
# arkitscenes Validation -> split=val, others default train (later some sampled to test)
|
| 518 |
+
parts = scene.split('/')
|
| 519 |
+
scene_split = "train"
|
| 520 |
+
if len(parts) >= 3 and parts[0] == "arkitscenes" and parts[1].lower() == "validation":
|
| 521 |
+
scene_split = "val"
|
| 522 |
+
futures[executor.submit(_build_legacy_entry, scene, granularity, include_cot, scene_split)] = (scene, granularity)
|
| 523 |
+
|
| 524 |
+
for future in tqdm(as_completed(futures), total=len(futures), desc="legacy_v2_random"):
|
| 525 |
+
scene, granularity = futures[future]
|
| 526 |
+
try:
|
| 527 |
+
entry = future.result()
|
| 528 |
+
if not include_content:
|
| 529 |
+
entry.pop("content", None)
|
| 530 |
+
entries.append(entry)
|
| 531 |
+
except Exception as e:
|
| 532 |
+
print(f"[legacy_v2_random] error for {scene}:{granularity} -> {e}")
|
| 533 |
+
|
| 534 |
+
# 追加随机 test 划分(不覆盖val)
|
| 535 |
+
train_indices = [i for i, e in enumerate(entries) if e.get("split") == "train"]
|
| 536 |
+
random.seed(seed + 1) # 使用不同的 seed 来选择 test
|
| 537 |
+
chosen = set(random.sample(train_indices, k=min(test_size, len(train_indices))))
|
| 538 |
+
for idx in chosen:
|
| 539 |
+
entries[idx]["split"] = "test"
|
| 540 |
+
|
| 541 |
+
total_entries = len(entries)
|
| 542 |
+
complete_matches = sum(1 for e in entries if e["status"]["complete"])
|
| 543 |
+
|
| 544 |
+
# 统计各粒度分布
|
| 545 |
+
granularity_counts = {}
|
| 546 |
+
for e in entries:
|
| 547 |
+
g = e.get("granularity", "unknown")
|
| 548 |
+
granularity_counts[g] = granularity_counts.get(g, 0) + 1
|
| 549 |
+
|
| 550 |
+
metadata = {
|
| 551 |
+
"total_entries": total_entries,
|
| 552 |
+
"complete_matches": complete_matches,
|
| 553 |
+
"partial_matches": total_entries - complete_matches,
|
| 554 |
+
"split_mapping_loaded": len(scenes),
|
| 555 |
+
"granularity_distribution": granularity_counts,
|
| 556 |
+
"directories": {
|
| 557 |
+
"user_designs_coarse": USER_PROMPT_SAMPLED.get("coarse", ""),
|
| 558 |
+
"user_designs_medium": USER_PROMPT_SAMPLED.get("medium", ""),
|
| 559 |
+
"user_designs_fine": USER_PROMPT_SAMPLED.get("fine", ""),
|
| 560 |
+
"cot_base": BASE_DATA_DIR,
|
| 561 |
+
"grouped_layouts": UNIFIED_LAYOUT_BASE,
|
| 562 |
+
},
|
| 563 |
+
"include_content": include_content,
|
| 564 |
+
"split_statistics": {
|
| 565 |
+
"split_found": len(scenes),
|
| 566 |
+
"split_not_found": 0,
|
| 567 |
+
},
|
| 568 |
+
}
|
| 569 |
+
|
| 570 |
+
payload = {
|
| 571 |
+
"metadata": metadata,
|
| 572 |
+
"data": entries,
|
| 573 |
+
}
|
| 574 |
+
|
| 575 |
+
os.makedirs(os.path.dirname(output_file) if os.path.dirname(output_file) else ".", exist_ok=True)
|
| 576 |
+
with open(output_file, "w", encoding="utf-8") as f:
|
| 577 |
+
json.dump(payload, f, ensure_ascii=False, indent=2)
|
| 578 |
+
|
| 579 |
+
print(f"[legacy_v2_random] saved {total_entries} entries to {output_file}")
|
| 580 |
+
print(f"[legacy_v2_random] granularity distribution: {granularity_counts}")
|
| 581 |
+
return payload
|
| 582 |
+
|
| 583 |
+
|
| 584 |
+
def generate_conversation_format(
|
| 585 |
+
input_jsonl: str,
|
| 586 |
+
output_file: str,
|
| 587 |
+
system_prompt: str = None
|
| 588 |
+
):
|
| 589 |
+
"""
|
| 590 |
+
将 JSONL 数据转换为对话格式(适用于 chat 模型微调)
|
| 591 |
+
|
| 592 |
+
输出格式:
|
| 593 |
+
{
|
| 594 |
+
"conversations": [
|
| 595 |
+
{"role": "system", "content": "..."},
|
| 596 |
+
{"role": "user", "content": "<design_prompt>"},
|
| 597 |
+
{"role": "assistant", "content": "<cot>\n\n```json\n<layout>\n```"}
|
| 598 |
+
]
|
| 599 |
+
}
|
| 600 |
+
"""
|
| 601 |
+
if system_prompt is None:
|
| 602 |
+
system_prompt = (
|
| 603 |
+
"You are an expert interior designer AI. Given a design brief, "
|
| 604 |
+
"you will think step-by-step about how to arrange furniture and objects "
|
| 605 |
+
"in the room, then output the final layout as a structured JSON."
|
| 606 |
+
)
|
| 607 |
+
|
| 608 |
+
conversations = []
|
| 609 |
+
|
| 610 |
+
with open(input_jsonl, 'r', encoding='utf-8') as f:
|
| 611 |
+
for line in f:
|
| 612 |
+
sample = json.loads(line.strip())
|
| 613 |
+
|
| 614 |
+
# 构建 assistant 回复
|
| 615 |
+
if "cot" in sample:
|
| 616 |
+
assistant_content = f"{sample['cot']}\n\n```json\n{json.dumps(sample['output'], ensure_ascii=False, indent=2)}\n```"
|
| 617 |
+
else:
|
| 618 |
+
assistant_content = f"```json\n{json.dumps(sample['output'], ensure_ascii=False, indent=2)}\n```"
|
| 619 |
+
|
| 620 |
+
conv = {
|
| 621 |
+
"id": sample["scene_id"],
|
| 622 |
+
"conversations": [
|
| 623 |
+
{"role": "system", "content": system_prompt},
|
| 624 |
+
{"role": "user", "content": sample["input"]},
|
| 625 |
+
{"role": "assistant", "content": assistant_content}
|
| 626 |
+
]
|
| 627 |
+
}
|
| 628 |
+
conversations.append(conv)
|
| 629 |
+
|
| 630 |
+
with open(output_file, 'w', encoding='utf-8') as f:
|
| 631 |
+
for conv in conversations:
|
| 632 |
+
f.write(json.dumps(conv, ensure_ascii=False) + '\n')
|
| 633 |
+
|
| 634 |
+
print(f"Generated {len(conversations)} conversation samples to {output_file}")
|
| 635 |
+
|
| 636 |
+
|
| 637 |
+
def main():
|
| 638 |
+
parser = argparse.ArgumentParser(description="Generate LM fine-tuning data")
|
| 639 |
+
|
| 640 |
+
parser.add_argument("--scenes-list", type=str,
|
| 641 |
+
default="unified_layout_scenes.txt",
|
| 642 |
+
help="Path to scenes list file")
|
| 643 |
+
parser.add_argument("--granularity", type=str, nargs="+",
|
| 644 |
+
default=["medium"],
|
| 645 |
+
choices=["coarse", "medium", "fine"],
|
| 646 |
+
help="Granularity levels to process")
|
| 647 |
+
parser.add_argument("--random-granularity", action="store_true",
|
| 648 |
+
help="Randomly select granularity (coarse/medium/fine) for each scene")
|
| 649 |
+
parser.add_argument("--no-cot", action="store_true",
|
| 650 |
+
help="Exclude Chain-of-Thought from output")
|
| 651 |
+
parser.add_argument("--output-dir", type=str, default=None,
|
| 652 |
+
help="Output directory")
|
| 653 |
+
parser.add_argument("--workers", "-w", type=int, default=16,
|
| 654 |
+
help="Number of parallel workers")
|
| 655 |
+
parser.add_argument("--format", type=str, default="jsonl",
|
| 656 |
+
choices=["jsonl", "json"],
|
| 657 |
+
help="Output format")
|
| 658 |
+
parser.add_argument("--to-conversation", type=str, default=None,
|
| 659 |
+
help="Convert existing JSONL to conversation format")
|
| 660 |
+
parser.add_argument("--legacy-v2", action="store_true",
|
| 661 |
+
help="Output legacy training_data_with_content_v2.json compatible format")
|
| 662 |
+
parser.add_argument("--legacy-output", type=str, default="/home/v-meiszhang/amlt-project/InternScenes/data/zones_data_mixed.json",
|
| 663 |
+
help="Output path for legacy v2 json (default: data/zones_data_mixed.json)")
|
| 664 |
+
parser.add_argument("--legacy-test-size", type=int, default=500,
|
| 665 |
+
help="Number of train samples to mark as test (random).")
|
| 666 |
+
parser.add_argument("--seed", type=int, default=42,
|
| 667 |
+
help="Random seed for granularity selection")
|
| 668 |
+
|
| 669 |
+
args = parser.parse_args()
|
| 670 |
+
|
| 671 |
+
# 如果是转换模式
|
| 672 |
+
if args.to_conversation:
|
| 673 |
+
input_file = args.to_conversation
|
| 674 |
+
output_file = input_file.replace('.jsonl', '_conv.jsonl')
|
| 675 |
+
generate_conversation_format(input_file, output_file)
|
| 676 |
+
return
|
| 677 |
+
|
| 678 |
+
# 场景列表文件路径
|
| 679 |
+
scenes_list = args.scenes_list
|
| 680 |
+
if not os.path.isabs(scenes_list):
|
| 681 |
+
# 相对于项目根目录
|
| 682 |
+
project_root = os.path.dirname(os.path.dirname(os.path.dirname(os.path.abspath(__file__))))
|
| 683 |
+
scenes_list = os.path.join(project_root, scenes_list)
|
| 684 |
+
|
| 685 |
+
if args.legacy_v2:
|
| 686 |
+
legacy_output = args.legacy_output
|
| 687 |
+
if legacy_output is None:
|
| 688 |
+
legacy_output = os.path.join(OUTPUT_BASE, "training_data_v3.json")
|
| 689 |
+
|
| 690 |
+
print(f"Using scenes list: {scenes_list}")
|
| 691 |
+
print(f"Include CoT: {not args.no_cot}")
|
| 692 |
+
print(f"Legacy v2 output: {legacy_output}")
|
| 693 |
+
|
| 694 |
+
if args.random_granularity:
|
| 695 |
+
print(f"Random granularity mode (seed={args.seed})")
|
| 696 |
+
generate_legacy_v2_format_random_granularity(
|
| 697 |
+
scenes_list_file=scenes_list,
|
| 698 |
+
include_cot=not args.no_cot,
|
| 699 |
+
output_file=legacy_output,
|
| 700 |
+
num_workers=args.workers,
|
| 701 |
+
split="train",
|
| 702 |
+
include_content=True,
|
| 703 |
+
test_size=args.legacy_test_size,
|
| 704 |
+
seed=args.seed,
|
| 705 |
+
)
|
| 706 |
+
else:
|
| 707 |
+
print(f"Granularities: {args.granularity}")
|
| 708 |
+
generate_legacy_v2_format(
|
| 709 |
+
scenes_list_file=scenes_list,
|
| 710 |
+
granularities=args.granularity,
|
| 711 |
+
include_cot=not args.no_cot,
|
| 712 |
+
output_file=legacy_output,
|
| 713 |
+
num_workers=args.workers,
|
| 714 |
+
split="train",
|
| 715 |
+
include_content=True,
|
| 716 |
+
test_size=args.legacy_test_size,
|
| 717 |
+
)
|
| 718 |
+
return
|
| 719 |
+
|
| 720 |
+
print(f"Using scenes list: {scenes_list}")
|
| 721 |
+
print(f"Granularities: {args.granularity}")
|
| 722 |
+
print(f"Include CoT: {not args.no_cot}")
|
| 723 |
+
print(f"Output format: {args.format}")
|
| 724 |
+
|
| 725 |
+
generate_finetune_data(
|
| 726 |
+
scenes_list_file=scenes_list,
|
| 727 |
+
granularities=args.granularity,
|
| 728 |
+
include_cot=not args.no_cot,
|
| 729 |
+
output_dir=args.output_dir,
|
| 730 |
+
num_workers=args.workers,
|
| 731 |
+
format=args.format
|
| 732 |
+
)
|
| 733 |
+
|
| 734 |
+
|
| 735 |
+
if __name__ == "__main__":
|
| 736 |
+
main()
|
tools/data_gen/canonicalize_2d_obb.py
ADDED
|
@@ -0,0 +1,605 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#!/usr/bin/env python3
|
| 2 |
+
"""
|
| 3 |
+
2D OBB 规范化工具
|
| 4 |
+
|
| 5 |
+
核心思路:
|
| 6 |
+
1. 先应用原始变换(init_rotation @ scale @ layout_rot),此时物体在世界空间是正立的
|
| 7 |
+
2. 只在 XY 平面计算 2D OBB,提取 Yaw 角度
|
| 8 |
+
3. 将 mesh 反向旋转到轴对齐状态
|
| 9 |
+
4. 输出:canonical mesh + layout 数据 (rot 只有 yaw)
|
| 10 |
+
|
| 11 |
+
这样可以保证:
|
| 12 |
+
- Z 轴方向不变(床不会竖起来)
|
| 13 |
+
- 物体变成轴对齐(边线平行于 X/Y 轴)
|
| 14 |
+
- Layout 中只有 Yaw 旋转
|
| 15 |
+
|
| 16 |
+
新增功能:
|
| 17 |
+
- 当 model_uid 为空时,使用 description 通过 CLIP 检索 3D 资产
|
| 18 |
+
"""
|
| 19 |
+
|
| 20 |
+
import os
|
| 21 |
+
import sys
|
| 22 |
+
import json
|
| 23 |
+
import copy
|
| 24 |
+
import argparse
|
| 25 |
+
import numpy as np
|
| 26 |
+
import trimesh
|
| 27 |
+
from pathlib import Path
|
| 28 |
+
from typing import Dict, List, Tuple, Optional
|
| 29 |
+
from tqdm import tqdm
|
| 30 |
+
|
| 31 |
+
# 添加路径
|
| 32 |
+
BASE_DIR = Path(__file__).resolve().parents[2]
|
| 33 |
+
sys.path.insert(0, str(BASE_DIR / "InternScenes" / "InternScenes_Real2Sim"))
|
| 34 |
+
sys.path.insert(0, str(BASE_DIR / "tools" / "asset_description"))
|
| 35 |
+
|
| 36 |
+
from compose_scenes import AssetMeshLoader
|
| 37 |
+
|
| 38 |
+
# 尝试导入 CLIP 检索模块
|
| 39 |
+
try:
|
| 40 |
+
from asset_embedding_manager import AssetEmbeddingManager
|
| 41 |
+
HAS_EMBEDDING = True
|
| 42 |
+
except ImportError:
|
| 43 |
+
HAS_EMBEDDING = False
|
| 44 |
+
print("Warning: asset_embedding_manager not available, CLIP retrieval disabled")
|
| 45 |
+
|
| 46 |
+
|
| 47 |
+
class Canonicalizer2D:
|
| 48 |
+
"""使用 2D OBB 进行规范化"""
|
| 49 |
+
|
| 50 |
+
def __init__(self, output_dir: str = None, enable_retrieval: bool = True):
|
| 51 |
+
self.asset_loader = AssetMeshLoader()
|
| 52 |
+
self.output_dir = output_dir
|
| 53 |
+
|
| 54 |
+
# 初始化 CLIP 检索器
|
| 55 |
+
self.embedding_manager = None
|
| 56 |
+
if enable_retrieval and HAS_EMBEDDING:
|
| 57 |
+
try:
|
| 58 |
+
self.embedding_manager = AssetEmbeddingManager()
|
| 59 |
+
print(f"✓ CLIP retrieval enabled ({self.embedding_manager.get_stats()['total_embeddings']} embeddings)")
|
| 60 |
+
except Exception as e:
|
| 61 |
+
print(f"Warning: Failed to init embedding manager: {e}")
|
| 62 |
+
|
| 63 |
+
def retrieve_model_uid(self, description: str, category: str = None, top_k: int = 1) -> Optional[str]:
|
| 64 |
+
"""
|
| 65 |
+
使用 CLIP 根据描述检索最匹配的 model_uid
|
| 66 |
+
|
| 67 |
+
Args:
|
| 68 |
+
description: 资产描述
|
| 69 |
+
category: 资产类别(可选,用于优化检索)
|
| 70 |
+
top_k: 返回前 k 个结果
|
| 71 |
+
|
| 72 |
+
Returns:
|
| 73 |
+
最匹配的 model_uid,如果检索失败返回 None
|
| 74 |
+
"""
|
| 75 |
+
if not self.embedding_manager:
|
| 76 |
+
return None
|
| 77 |
+
|
| 78 |
+
# 构建查询:结合 category 和 description
|
| 79 |
+
query = description
|
| 80 |
+
if category:
|
| 81 |
+
query = f"{category}: {description}"
|
| 82 |
+
|
| 83 |
+
try:
|
| 84 |
+
results = self.embedding_manager.search_similar(query, top_k=top_k)
|
| 85 |
+
if results:
|
| 86 |
+
best_uid, score = results[0]
|
| 87 |
+
print(f" Retrieved: {best_uid} (score: {score:.4f})")
|
| 88 |
+
return best_uid
|
| 89 |
+
except Exception as e:
|
| 90 |
+
print(f" Retrieval error: {e}")
|
| 91 |
+
|
| 92 |
+
return None
|
| 93 |
+
|
| 94 |
+
def get_scale_transform_from_rules(self, mesh_size: np.ndarray, target_size: np.ndarray, category: str) -> np.ndarray:
|
| 95 |
+
"""
|
| 96 |
+
根据资产类型计算 scale 变换矩阵(从 compose_scenes.py 移植)
|
| 97 |
+
|
| 98 |
+
特殊处理:
|
| 99 |
+
- carpet: 检测错误朝向导致的过度拉伸,做修正旋转,Z 方向缩放 /100
|
| 100 |
+
- clothes: 使用均匀缩放(min_scale)
|
| 101 |
+
"""
|
| 102 |
+
if category not in ["carpet", "clothes"]:
|
| 103 |
+
# 普通资产:直接缩放
|
| 104 |
+
scale = target_size / mesh_size
|
| 105 |
+
scale_matrix = np.diag([scale[0], scale[1], scale[2], 1])
|
| 106 |
+
return scale_matrix
|
| 107 |
+
|
| 108 |
+
elif category == "carpet":
|
| 109 |
+
# 地毯:检测错误朝向导致的过度拉伸
|
| 110 |
+
scale_factors = target_size / mesh_size
|
| 111 |
+
|
| 112 |
+
if target_size[2]/target_size[0] > 150 or target_size[2]/target_size[1] > 150:
|
| 113 |
+
# 地毯错误朝向导致过度拉伸
|
| 114 |
+
if target_size[2]/target_size[0] > target_size[2]/target_size[1]:
|
| 115 |
+
rotation_matrix = trimesh.transformations.rotation_matrix(0.5 * np.pi, [0, 1, 0]) # 绕 Y 轴转90度
|
| 116 |
+
new_target = np.array([target_size[2], target_size[0], target_size[1]])
|
| 117 |
+
scale_factors = new_target / mesh_size
|
| 118 |
+
scale_matrix = np.diag([scale_factors[0], scale_factors[1], scale_factors[2]/100.0, 1])
|
| 119 |
+
else:
|
| 120 |
+
rotation_matrix = trimesh.transformations.rotation_matrix(0.5 * np.pi, [1, 0, 0]) # 绕 X 轴转90度
|
| 121 |
+
new_target = np.array([target_size[0], target_size[2], target_size[1]])
|
| 122 |
+
scale_factors = new_target / mesh_size
|
| 123 |
+
scale_matrix = np.diag([scale_factors[0], scale_factors[1], scale_factors[2]/100.0, 1])
|
| 124 |
+
return scale_matrix @ rotation_matrix
|
| 125 |
+
else:
|
| 126 |
+
# 地毯正常朝向
|
| 127 |
+
scale_matrix = np.diag([scale_factors[0], scale_factors[1], scale_factors[2]/100.0, 1])
|
| 128 |
+
return scale_matrix
|
| 129 |
+
|
| 130 |
+
elif category == "clothes":
|
| 131 |
+
# 衣服:使用均匀缩放(min_scale)
|
| 132 |
+
scale = target_size / mesh_size
|
| 133 |
+
min_scale = min(scale)
|
| 134 |
+
scale_matrix = np.diag([min_scale, min_scale, min_scale, 1])
|
| 135 |
+
return scale_matrix
|
| 136 |
+
|
| 137 |
+
# 默认
|
| 138 |
+
scale = target_size / mesh_size
|
| 139 |
+
return np.diag([scale[0], scale[1], scale[2], 1])
|
| 140 |
+
|
| 141 |
+
def load_mesh_as_trimesh(self, uid: str, use_texture: bool = False) -> trimesh.Trimesh:
|
| 142 |
+
"""加载 mesh 并确保返回单个 Trimesh"""
|
| 143 |
+
mesh_or_scene = self.asset_loader.load_canonical_mesh(uid, use_texture=use_texture)
|
| 144 |
+
|
| 145 |
+
if isinstance(mesh_or_scene, trimesh.Scene):
|
| 146 |
+
meshes = []
|
| 147 |
+
for name, geom in mesh_or_scene.geometry.items():
|
| 148 |
+
if isinstance(geom, trimesh.Trimesh):
|
| 149 |
+
# 获取该 geometry 的 transform
|
| 150 |
+
transform = mesh_or_scene.graph.get(name)[0] if name in mesh_or_scene.graph else np.eye(4)
|
| 151 |
+
geom_copy = geom.copy()
|
| 152 |
+
geom_copy.apply_transform(transform)
|
| 153 |
+
meshes.append(geom_copy)
|
| 154 |
+
if meshes:
|
| 155 |
+
return trimesh.util.concatenate(meshes)
|
| 156 |
+
else:
|
| 157 |
+
raise ValueError(f"No valid meshes in scene for {uid}")
|
| 158 |
+
return mesh_or_scene
|
| 159 |
+
|
| 160 |
+
def canonicalize_asset(
|
| 161 |
+
self,
|
| 162 |
+
uid: str,
|
| 163 |
+
bbox: List[float],
|
| 164 |
+
category: str = None,
|
| 165 |
+
save_mesh: bool = False
|
| 166 |
+
) -> Tuple[Optional[dict], Optional[trimesh.Trimesh]]:
|
| 167 |
+
"""
|
| 168 |
+
使用 2D OBB 规范化单个资产
|
| 169 |
+
|
| 170 |
+
Args:
|
| 171 |
+
uid: model_uid
|
| 172 |
+
bbox: [cx, cy, cz, sx, sy, sz, rz, rx, ry] (ZXY euler order)
|
| 173 |
+
category: 资产类别(用于特殊处理 carpet/clothes)
|
| 174 |
+
save_mesh: 是否保存 mesh
|
| 175 |
+
|
| 176 |
+
Returns:
|
| 177 |
+
(new_layout_info, canonical_mesh)
|
| 178 |
+
"""
|
| 179 |
+
try:
|
| 180 |
+
# 1. 加载 canonical mesh(已应用 init_rotation)
|
| 181 |
+
mesh = self.load_mesh_as_trimesh(uid, use_texture=True)
|
| 182 |
+
original_mesh_size = mesh.bounding_box.extents
|
| 183 |
+
|
| 184 |
+
# 2. 计算并应用 scale(考虑 carpet/clothes 特殊处理)
|
| 185 |
+
target_size = np.array(bbox[3:6])
|
| 186 |
+
scale_matrix = self.get_scale_transform_from_rules(
|
| 187 |
+
original_mesh_size, target_size, category or ''
|
| 188 |
+
)
|
| 189 |
+
|
| 190 |
+
# 3. 检测物体是否"正立"
|
| 191 |
+
euler_angles = np.array(bbox[6:9]) # [rz, rx, ry]
|
| 192 |
+
rotation_matrix = trimesh.transformations.euler_matrix(
|
| 193 |
+
euler_angles[0], euler_angles[1], euler_angles[2], axes='rzxy'
|
| 194 |
+
)
|
| 195 |
+
|
| 196 |
+
# 提取 Z 轴方向(物体的"up"方向)
|
| 197 |
+
R = rotation_matrix[:3, :3]
|
| 198 |
+
z_axis = R[:, 2] # 第三列
|
| 199 |
+
tilt_from_vertical = np.arccos(np.clip(abs(z_axis[2]), 0, 1)) # abs 处理倒立情况
|
| 200 |
+
tilt_deg = np.degrees(tilt_from_vertical)
|
| 201 |
+
|
| 202 |
+
# 判断是否正立(tilt < 15°)或倒立(tilt > 165°)
|
| 203 |
+
is_upright = tilt_deg < 15 or tilt_deg > 165
|
| 204 |
+
|
| 205 |
+
if not is_upright:
|
| 206 |
+
# 非正立物体:只应用 scale,保留原始 rot
|
| 207 |
+
# 这种情况物体是"侧躺"的,2D OBB 不适用
|
| 208 |
+
mesh.apply_transform(scale_matrix)
|
| 209 |
+
|
| 210 |
+
# 居中 mesh
|
| 211 |
+
bbox_min, bbox_max = mesh.bounds
|
| 212 |
+
center = (bbox_min + bbox_max) / 2.0
|
| 213 |
+
offset = -center
|
| 214 |
+
translation_matrix = np.eye(4)
|
| 215 |
+
translation_matrix[:3, 3] = offset
|
| 216 |
+
mesh.apply_transform(translation_matrix)
|
| 217 |
+
|
| 218 |
+
result = {
|
| 219 |
+
'pos': bbox[0:3],
|
| 220 |
+
'size': mesh.extents.tolist(),
|
| 221 |
+
'rot': list(euler_angles), # 保留原始 rot!
|
| 222 |
+
'is_tilted': True,
|
| 223 |
+
'tilt_deg': tilt_deg
|
| 224 |
+
}
|
| 225 |
+
|
| 226 |
+
# 保存 mesh
|
| 227 |
+
if save_mesh and self.output_dir:
|
| 228 |
+
safe_uid = uid.replace('/', '_').replace('@', '_')
|
| 229 |
+
mesh_filename = f"{safe_uid}.glb"
|
| 230 |
+
mesh_path = os.path.join(self.output_dir, 'meshes', mesh_filename)
|
| 231 |
+
os.makedirs(os.path.dirname(mesh_path), exist_ok=True)
|
| 232 |
+
mesh.export(mesh_path)
|
| 233 |
+
result['mesh_path'] = mesh_path
|
| 234 |
+
|
| 235 |
+
return result, mesh
|
| 236 |
+
|
| 237 |
+
# 4. 正立物体:应用完整变换并用 2D OBB 规范化
|
| 238 |
+
transform = rotation_matrix @ scale_matrix
|
| 239 |
+
mesh.apply_transform(transform)
|
| 240 |
+
|
| 241 |
+
# 5. 【核心】只计算 XY 平面上的 2D OBB
|
| 242 |
+
points_2d = mesh.vertices[:, :2]
|
| 243 |
+
|
| 244 |
+
# 使用 trimesh 的 2D 凸包算法计算最小外接矩形
|
| 245 |
+
from trimesh.bounds import oriented_bounds_2D
|
| 246 |
+
obb_2d_transform, rectangle_extents = oriented_bounds_2D(points_2d)
|
| 247 |
+
|
| 248 |
+
# 提取 2D 旋转角度 (Yaw)
|
| 249 |
+
cos_theta = obb_2d_transform[0, 0]
|
| 250 |
+
sin_theta = obb_2d_transform[1, 0]
|
| 251 |
+
theta = np.arctan2(sin_theta, cos_theta)
|
| 252 |
+
|
| 253 |
+
# 6. 生成规范化 Mesh(只绕 Z 轴旋转,使其轴对齐)
|
| 254 |
+
correction_matrix = np.eye(4)
|
| 255 |
+
correction_matrix[:2, :2] = obb_2d_transform[:2, :2] # 只取旋转部分
|
| 256 |
+
|
| 257 |
+
canonical_mesh = mesh.copy()
|
| 258 |
+
canonical_mesh.apply_transform(correction_matrix)
|
| 259 |
+
|
| 260 |
+
# 7. 归一化位置:XYZ 居中
|
| 261 |
+
bbox_min, bbox_max = canonical_mesh.bounds
|
| 262 |
+
center = (bbox_min + bbox_max) / 2.0
|
| 263 |
+
offset = -center
|
| 264 |
+
translation_matrix = np.eye(4)
|
| 265 |
+
translation_matrix[:3, 3] = offset
|
| 266 |
+
canonical_mesh.apply_transform(translation_matrix)
|
| 267 |
+
|
| 268 |
+
# 8. 计算最终的 Layout 数据
|
| 269 |
+
new_size = canonical_mesh.extents.tolist()
|
| 270 |
+
final_yaw = -theta
|
| 271 |
+
final_pos = [bbox[0], bbox[1], bbox[2]]
|
| 272 |
+
|
| 273 |
+
result = {
|
| 274 |
+
'pos': final_pos,
|
| 275 |
+
'size': new_size,
|
| 276 |
+
'rot': [0.0, 0.0, float(final_yaw)], # 只有 Z 轴旋转!
|
| 277 |
+
'is_tilted': False,
|
| 278 |
+
'tilt_deg': tilt_deg
|
| 279 |
+
}
|
| 280 |
+
|
| 281 |
+
# 9. 保存 mesh
|
| 282 |
+
if save_mesh and self.output_dir:
|
| 283 |
+
safe_uid = uid.replace('/', '_').replace('@', '_')
|
| 284 |
+
mesh_filename = f"{safe_uid}.glb"
|
| 285 |
+
mesh_path = os.path.join(self.output_dir, 'meshes', mesh_filename)
|
| 286 |
+
os.makedirs(os.path.dirname(mesh_path), exist_ok=True)
|
| 287 |
+
canonical_mesh.export(mesh_path)
|
| 288 |
+
result['mesh_path'] = mesh_path
|
| 289 |
+
|
| 290 |
+
return result, canonical_mesh
|
| 291 |
+
|
| 292 |
+
except Exception as e:
|
| 293 |
+
print(f"Error canonicalizing {uid}: {e}")
|
| 294 |
+
import traceback
|
| 295 |
+
traceback.print_exc()
|
| 296 |
+
return None, None
|
| 297 |
+
|
| 298 |
+
def analyze_asset(self, uid: str, bbox: List[float], category: str = None) -> dict:
|
| 299 |
+
"""分析单个资产"""
|
| 300 |
+
result = {
|
| 301 |
+
'uid': uid,
|
| 302 |
+
'original_pos': bbox[0:3],
|
| 303 |
+
'original_size': bbox[3:6],
|
| 304 |
+
'original_rot_deg': [np.degrees(r) for r in bbox[6:9]],
|
| 305 |
+
}
|
| 306 |
+
|
| 307 |
+
new_info, _ = self.canonicalize_asset(uid, bbox, category=category, save_mesh=False)
|
| 308 |
+
if new_info:
|
| 309 |
+
result['canonical'] = new_info
|
| 310 |
+
result['canonical_yaw_deg'] = np.degrees(new_info['rot'][2])
|
| 311 |
+
else:
|
| 312 |
+
result['error'] = 'Failed'
|
| 313 |
+
|
| 314 |
+
return result
|
| 315 |
+
|
| 316 |
+
|
| 317 |
+
def load_layout(layout_path: str) -> Tuple[dict, List[dict], str]:
|
| 318 |
+
"""加载 layout 并提取资产列表"""
|
| 319 |
+
with open(layout_path, 'r') as f:
|
| 320 |
+
layout = json.load(f)
|
| 321 |
+
|
| 322 |
+
assets = []
|
| 323 |
+
|
| 324 |
+
if isinstance(layout, list):
|
| 325 |
+
# 旧格式
|
| 326 |
+
for i, item in enumerate(layout):
|
| 327 |
+
assets.append({
|
| 328 |
+
'index': i,
|
| 329 |
+
'uid': item.get('model_uid', ''),
|
| 330 |
+
'category': item.get('category', 'unknown'),
|
| 331 |
+
'description': item.get('description', ''),
|
| 332 |
+
'bbox': item.get('bbox', [0]*9),
|
| 333 |
+
'original': item
|
| 334 |
+
})
|
| 335 |
+
return layout, assets, 'list'
|
| 336 |
+
else:
|
| 337 |
+
# 新格式 (functional_zones)
|
| 338 |
+
idx = 0
|
| 339 |
+
for zone_idx, zone in enumerate(layout.get('functional_zones', [])):
|
| 340 |
+
for asset_idx, asset in enumerate(zone.get('assets', [])):
|
| 341 |
+
transform = asset.get('transform', {})
|
| 342 |
+
bbox = (
|
| 343 |
+
transform.get('pos', [0, 0, 0]) +
|
| 344 |
+
transform.get('size', [1, 1, 1]) +
|
| 345 |
+
transform.get('rot', [0, 0, 0])
|
| 346 |
+
)
|
| 347 |
+
assets.append({
|
| 348 |
+
'index': idx,
|
| 349 |
+
'zone_idx': zone_idx,
|
| 350 |
+
'asset_idx': asset_idx,
|
| 351 |
+
'uid': asset.get('model_id', asset.get('model_uid', '')),
|
| 352 |
+
'category': asset.get('category', 'unknown'),
|
| 353 |
+
'description': asset.get('description', ''),
|
| 354 |
+
'bbox': bbox,
|
| 355 |
+
'original': asset
|
| 356 |
+
})
|
| 357 |
+
idx += 1
|
| 358 |
+
return layout, assets, 'zones'
|
| 359 |
+
|
| 360 |
+
|
| 361 |
+
def update_layout(layout: dict, assets: List[dict], results: List[dict], format_type: str) -> dict:
|
| 362 |
+
"""更新 layout 数据"""
|
| 363 |
+
new_layout = copy.deepcopy(layout)
|
| 364 |
+
|
| 365 |
+
if format_type == 'list':
|
| 366 |
+
for asset, result in zip(assets, results):
|
| 367 |
+
if result:
|
| 368 |
+
idx = asset['index']
|
| 369 |
+
new_layout[idx]['bbox'] = (
|
| 370 |
+
result['pos'] + result['size'] + result['rot']
|
| 371 |
+
)
|
| 372 |
+
if 'mesh_path' in result:
|
| 373 |
+
new_layout[idx]['canonical_mesh'] = result['mesh_path']
|
| 374 |
+
# 如果是通过检索获取的 model_uid,更新它
|
| 375 |
+
if 'retrieved_uid' in result:
|
| 376 |
+
new_layout[idx]['model_uid'] = result['retrieved_uid']
|
| 377 |
+
else:
|
| 378 |
+
for asset, result in zip(assets, results):
|
| 379 |
+
if result:
|
| 380 |
+
zone_idx = asset['zone_idx']
|
| 381 |
+
asset_idx = asset['asset_idx']
|
| 382 |
+
zone = new_layout['functional_zones'][zone_idx]
|
| 383 |
+
zone['assets'][asset_idx]['transform'] = {
|
| 384 |
+
'pos': result['pos'],
|
| 385 |
+
'size': result['size'],
|
| 386 |
+
'rot': result['rot'],
|
| 387 |
+
'is_tilted': result.get('is_tilted', False),
|
| 388 |
+
'tilt_deg': result.get('tilt_deg', 0.0)
|
| 389 |
+
}
|
| 390 |
+
if 'mesh_path' in result:
|
| 391 |
+
zone['assets'][asset_idx]['canonical_mesh'] = result['mesh_path']
|
| 392 |
+
# 如果是通过检索获取的 model_uid,更新它
|
| 393 |
+
if 'retrieved_uid' in result:
|
| 394 |
+
zone['assets'][asset_idx]['model_uid'] = result['retrieved_uid']
|
| 395 |
+
|
| 396 |
+
return new_layout
|
| 397 |
+
|
| 398 |
+
|
| 399 |
+
def cmd_test(args):
|
| 400 |
+
"""测试单个资产"""
|
| 401 |
+
canonicalizer = Canonicalizer2D()
|
| 402 |
+
layout, assets, _ = load_layout(args.layout_path)
|
| 403 |
+
|
| 404 |
+
if args.asset_index >= len(assets):
|
| 405 |
+
print(f"Error: index {args.asset_index} out of range (0-{len(assets)-1})")
|
| 406 |
+
return
|
| 407 |
+
|
| 408 |
+
asset = assets[args.asset_index]
|
| 409 |
+
print(f"\n{'='*60}")
|
| 410 |
+
print(f"测试资产 #{args.asset_index}: {asset['category']}")
|
| 411 |
+
print(f"{'='*60}")
|
| 412 |
+
print(f"UID: {asset['uid']}")
|
| 413 |
+
|
| 414 |
+
analysis = canonicalizer.analyze_asset(asset['uid'], asset['bbox'], category=asset.get('category'))
|
| 415 |
+
|
| 416 |
+
print(f"\n原始参数:")
|
| 417 |
+
print(f" pos: {analysis['original_pos']}")
|
| 418 |
+
print(f" size: {analysis['original_size']}")
|
| 419 |
+
print(f" rot (deg): {analysis['original_rot_deg']}")
|
| 420 |
+
|
| 421 |
+
if 'canonical' in analysis:
|
| 422 |
+
print(f"\n规范化后:")
|
| 423 |
+
print(f" pos: {analysis['canonical']['pos']}")
|
| 424 |
+
print(f" size: {analysis['canonical']['size']}")
|
| 425 |
+
print(f" rot: {analysis['canonical']['rot']}")
|
| 426 |
+
print(f" yaw (deg): {analysis['canonical_yaw_deg']:.2f}")
|
| 427 |
+
else:
|
| 428 |
+
print(f"\n错误: {analysis.get('error')}")
|
| 429 |
+
|
| 430 |
+
|
| 431 |
+
def cmd_process(args):
|
| 432 |
+
"""处理单个场景"""
|
| 433 |
+
os.makedirs(args.output_dir, exist_ok=True)
|
| 434 |
+
|
| 435 |
+
canonicalizer = Canonicalizer2D(output_dir=args.output_dir, enable_retrieval=args.enable_retrieval)
|
| 436 |
+
layout, assets, format_type = load_layout(args.layout_path)
|
| 437 |
+
|
| 438 |
+
print(f"\n{'='*60}")
|
| 439 |
+
print(f"处理场景: {args.layout_path}")
|
| 440 |
+
print(f"{'='*60}")
|
| 441 |
+
print(f"资产数量: {len(assets)}")
|
| 442 |
+
|
| 443 |
+
results = []
|
| 444 |
+
success = fail = retrieved = 0
|
| 445 |
+
|
| 446 |
+
for asset in tqdm(assets, desc="规范化"):
|
| 447 |
+
uid = asset['uid']
|
| 448 |
+
retrieved_uid = None
|
| 449 |
+
|
| 450 |
+
# 如果 uid 为空,尝试使用 description 进行 CLIP 检索
|
| 451 |
+
if not uid and asset.get('description'):
|
| 452 |
+
print(f"\n [{asset['category']}] model_uid 为空,尝试 CLIP 检索...")
|
| 453 |
+
uid = canonicalizer.retrieve_model_uid(
|
| 454 |
+
asset['description'],
|
| 455 |
+
category=asset.get('category')
|
| 456 |
+
)
|
| 457 |
+
if uid:
|
| 458 |
+
retrieved_uid = uid
|
| 459 |
+
retrieved += 1
|
| 460 |
+
else:
|
| 461 |
+
print(f" 检索失败: {asset['description'][:50]}...")
|
| 462 |
+
|
| 463 |
+
if not uid:
|
| 464 |
+
results.append(None)
|
| 465 |
+
fail += 1
|
| 466 |
+
continue
|
| 467 |
+
|
| 468 |
+
result, _ = canonicalizer.canonicalize_asset(
|
| 469 |
+
uid,
|
| 470 |
+
asset['bbox'],
|
| 471 |
+
category=asset.get('category'),
|
| 472 |
+
save_mesh=args.save_meshes
|
| 473 |
+
)
|
| 474 |
+
|
| 475 |
+
# 如果是检索得到的 uid,记录下来
|
| 476 |
+
if result and retrieved_uid:
|
| 477 |
+
result['retrieved_uid'] = retrieved_uid
|
| 478 |
+
|
| 479 |
+
results.append(result)
|
| 480 |
+
if result:
|
| 481 |
+
success += 1
|
| 482 |
+
else:
|
| 483 |
+
fail += 1
|
| 484 |
+
|
| 485 |
+
# 更新并保存 layout
|
| 486 |
+
new_layout = update_layout(layout, assets, results, format_type)
|
| 487 |
+
output_path = os.path.join(args.output_dir, 'layout.json')
|
| 488 |
+
with open(output_path, 'w') as f:
|
| 489 |
+
json.dump(new_layout, f, indent=2)
|
| 490 |
+
|
| 491 |
+
print(f"\n完成! 成功: {success}, 失败: {fail}, CLIP检索: {retrieved}")
|
| 492 |
+
print(f"输出: {output_path}")
|
| 493 |
+
|
| 494 |
+
|
| 495 |
+
def cmd_batch(args):
|
| 496 |
+
"""批量处理"""
|
| 497 |
+
input_dir = Path(args.input_dir)
|
| 498 |
+
output_dir = Path(args.output_dir)
|
| 499 |
+
|
| 500 |
+
layout_files = list(input_dir.rglob('layout.json'))
|
| 501 |
+
print(f"找到 {len(layout_files)} 个场景")
|
| 502 |
+
|
| 503 |
+
total_success = total_fail = total_retrieved = 0
|
| 504 |
+
|
| 505 |
+
for layout_path in tqdm(layout_files, desc="处理场景"):
|
| 506 |
+
rel_path = layout_path.parent.relative_to(input_dir)
|
| 507 |
+
scene_output_dir = output_dir / rel_path
|
| 508 |
+
|
| 509 |
+
canonicalizer = Canonicalizer2D(
|
| 510 |
+
output_dir=str(scene_output_dir),
|
| 511 |
+
enable_retrieval=args.enable_retrieval
|
| 512 |
+
)
|
| 513 |
+
|
| 514 |
+
try:
|
| 515 |
+
layout, assets, format_type = load_layout(str(layout_path))
|
| 516 |
+
|
| 517 |
+
results = []
|
| 518 |
+
for asset in assets:
|
| 519 |
+
uid = asset['uid']
|
| 520 |
+
retrieved_uid = None
|
| 521 |
+
|
| 522 |
+
# 如果 uid 为空,尝试使用 description 进行 CLIP 检索
|
| 523 |
+
if not uid and asset.get('description') and args.enable_retrieval:
|
| 524 |
+
uid = canonicalizer.retrieve_model_uid(
|
| 525 |
+
asset['description'],
|
| 526 |
+
category=asset.get('category')
|
| 527 |
+
)
|
| 528 |
+
if uid:
|
| 529 |
+
retrieved_uid = uid
|
| 530 |
+
total_retrieved += 1
|
| 531 |
+
|
| 532 |
+
if not uid:
|
| 533 |
+
results.append(None)
|
| 534 |
+
total_fail += 1
|
| 535 |
+
continue
|
| 536 |
+
|
| 537 |
+
result, _ = canonicalizer.canonicalize_asset(
|
| 538 |
+
uid,
|
| 539 |
+
asset['bbox'],
|
| 540 |
+
category=asset.get('category'),
|
| 541 |
+
save_mesh=args.save_meshes
|
| 542 |
+
)
|
| 543 |
+
|
| 544 |
+
if result and retrieved_uid:
|
| 545 |
+
result['retrieved_uid'] = retrieved_uid
|
| 546 |
+
|
| 547 |
+
results.append(result)
|
| 548 |
+
if result:
|
| 549 |
+
total_success += 1
|
| 550 |
+
else:
|
| 551 |
+
total_fail += 1
|
| 552 |
+
|
| 553 |
+
new_layout = update_layout(layout, assets, results, format_type)
|
| 554 |
+
os.makedirs(scene_output_dir, exist_ok=True)
|
| 555 |
+
with open(scene_output_dir / 'layout.json', 'w') as f:
|
| 556 |
+
json.dump(new_layout, f, indent=2)
|
| 557 |
+
|
| 558 |
+
except Exception as e:
|
| 559 |
+
print(f"\nError: {layout_path}: {e}")
|
| 560 |
+
|
| 561 |
+
print(f"\n{'='*60}")
|
| 562 |
+
print(f"批量处理完成")
|
| 563 |
+
print(f"成功: {total_success}, 失败: {total_fail}, CLIP检索: {total_retrieved}")
|
| 564 |
+
print(f"输出: {output_dir}")
|
| 565 |
+
|
| 566 |
+
|
| 567 |
+
def main():
|
| 568 |
+
parser = argparse.ArgumentParser(description='2D OBB 规范化工具')
|
| 569 |
+
subparsers = parser.add_subparsers(dest='command')
|
| 570 |
+
|
| 571 |
+
# test
|
| 572 |
+
p = subparsers.add_parser('test', help='测试单个资产')
|
| 573 |
+
p.add_argument('layout_path')
|
| 574 |
+
p.add_argument('--asset-index', '-i', type=int, default=0)
|
| 575 |
+
|
| 576 |
+
# process
|
| 577 |
+
p = subparsers.add_parser('process', help='处理单个场景')
|
| 578 |
+
p.add_argument('layout_path')
|
| 579 |
+
p.add_argument('--output-dir', '-o', required=True)
|
| 580 |
+
p.add_argument('--save-meshes', action='store_true')
|
| 581 |
+
p.add_argument('--enable-retrieval', action='store_true',
|
| 582 |
+
help='启用 CLIP 检索(当 model_uid 为空时根据 description 检索)')
|
| 583 |
+
|
| 584 |
+
# batch
|
| 585 |
+
p = subparsers.add_parser('batch', help='批量处理')
|
| 586 |
+
p.add_argument('input_dir')
|
| 587 |
+
p.add_argument('--output-dir', '-o', required=True)
|
| 588 |
+
p.add_argument('--save-meshes', action='store_true')
|
| 589 |
+
p.add_argument('--enable-retrieval', action='store_true',
|
| 590 |
+
help='启用 CLIP 检索(当 model_uid 为空时根据 description 检索)')
|
| 591 |
+
|
| 592 |
+
args = parser.parse_args()
|
| 593 |
+
|
| 594 |
+
if args.command == 'test':
|
| 595 |
+
cmd_test(args)
|
| 596 |
+
elif args.command == 'process':
|
| 597 |
+
cmd_process(args)
|
| 598 |
+
elif args.command == 'batch':
|
| 599 |
+
cmd_batch(args)
|
| 600 |
+
else:
|
| 601 |
+
parser.print_help()
|
| 602 |
+
|
| 603 |
+
|
| 604 |
+
if __name__ == '__main__':
|
| 605 |
+
main()
|
tools/data_gen/compose_baked_scene.py
ADDED
|
@@ -0,0 +1,100 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#!/usr/bin/env python3
|
| 2 |
+
"""
|
| 3 |
+
从烘焙后的 mesh 组合场景
|
| 4 |
+
|
| 5 |
+
直接加载 baked_mesh 而不是通过 AssetMeshLoader
|
| 6 |
+
"""
|
| 7 |
+
|
| 8 |
+
import os
|
| 9 |
+
import sys
|
| 10 |
+
import json
|
| 11 |
+
import argparse
|
| 12 |
+
import numpy as np
|
| 13 |
+
import trimesh
|
| 14 |
+
from pathlib import Path
|
| 15 |
+
|
| 16 |
+
# 添加路径
|
| 17 |
+
BASE_DIR = Path(__file__).resolve().parents[2]
|
| 18 |
+
sys.path.insert(0, str(BASE_DIR / "InternScenes" / "InternScenes_Real2Sim"))
|
| 19 |
+
|
| 20 |
+
|
| 21 |
+
def compose_baked_scene(layout_path: str, output_path: str):
|
| 22 |
+
"""
|
| 23 |
+
从烘焙后的 layout 组合场景
|
| 24 |
+
|
| 25 |
+
烘焙后的 layout 每个 asset 有 baked_mesh 字段指向 GLB 文件
|
| 26 |
+
transform 中的 rot=[0,0,0],pos 和 size 是最终值
|
| 27 |
+
"""
|
| 28 |
+
with open(layout_path, 'r') as f:
|
| 29 |
+
layout = json.load(f)
|
| 30 |
+
|
| 31 |
+
scene = trimesh.Scene()
|
| 32 |
+
|
| 33 |
+
# 提取所有资产
|
| 34 |
+
if isinstance(layout, list):
|
| 35 |
+
assets = layout
|
| 36 |
+
else:
|
| 37 |
+
assets = []
|
| 38 |
+
for zone in layout.get('functional_zones', []):
|
| 39 |
+
assets.extend(zone.get('assets', []))
|
| 40 |
+
|
| 41 |
+
success_count = 0
|
| 42 |
+
fail_count = 0
|
| 43 |
+
|
| 44 |
+
for i, asset in enumerate(assets):
|
| 45 |
+
mesh_path = asset.get('baked_mesh') or asset.get('canonical_mesh')
|
| 46 |
+
if not mesh_path or not os.path.exists(mesh_path):
|
| 47 |
+
print(f"Warning: No baked mesh for asset {i}: {asset.get('category')}")
|
| 48 |
+
fail_count += 1
|
| 49 |
+
continue
|
| 50 |
+
|
| 51 |
+
try:
|
| 52 |
+
# 加载烘焙后的 mesh
|
| 53 |
+
mesh = trimesh.load(mesh_path)
|
| 54 |
+
|
| 55 |
+
# 获取 transform
|
| 56 |
+
transform = asset.get('transform', {})
|
| 57 |
+
pos = np.array(transform.get('pos', [0, 0, 0]))
|
| 58 |
+
|
| 59 |
+
# 创建平移矩阵(rot 和 scale 已经烘焙进 mesh)
|
| 60 |
+
translation = np.eye(4)
|
| 61 |
+
translation[:3, 3] = pos
|
| 62 |
+
|
| 63 |
+
# 添加到场景
|
| 64 |
+
category = asset.get('category', 'unknown')
|
| 65 |
+
node_name = f"{i}_{category}"
|
| 66 |
+
|
| 67 |
+
if isinstance(mesh, trimesh.Scene):
|
| 68 |
+
for name, geom in mesh.geometry.items():
|
| 69 |
+
geom_transform = mesh.graph.get(name)[0] if name in mesh.graph else np.eye(4)
|
| 70 |
+
combined = translation @ geom_transform
|
| 71 |
+
scene.add_geometry(geom, transform=combined, node_name=f"{node_name}/{name}")
|
| 72 |
+
else:
|
| 73 |
+
scene.add_geometry(mesh, transform=translation, node_name=node_name)
|
| 74 |
+
|
| 75 |
+
success_count += 1
|
| 76 |
+
|
| 77 |
+
except Exception as e:
|
| 78 |
+
print(f"Error loading mesh for asset {i}: {e}")
|
| 79 |
+
fail_count += 1
|
| 80 |
+
|
| 81 |
+
print(f"加载了 {success_count} 个资产,失败 {fail_count} 个")
|
| 82 |
+
|
| 83 |
+
# 导出
|
| 84 |
+
scene.export(output_path)
|
| 85 |
+
print(f"导出到: {output_path}")
|
| 86 |
+
|
| 87 |
+
return scene
|
| 88 |
+
|
| 89 |
+
|
| 90 |
+
def main():
|
| 91 |
+
parser = argparse.ArgumentParser(description='从烘焙后的 mesh 组合场景')
|
| 92 |
+
parser.add_argument('layout_path', help='烘焙后的 layout.json 路径')
|
| 93 |
+
parser.add_argument('--output', '-o', default='baked_scene.glb', help='输出 GLB 路径')
|
| 94 |
+
|
| 95 |
+
args = parser.parse_args()
|
| 96 |
+
compose_baked_scene(args.layout_path, args.output)
|
| 97 |
+
|
| 98 |
+
|
| 99 |
+
if __name__ == '__main__':
|
| 100 |
+
main()
|
tools/data_gen/test_render_compare.py
ADDED
|
@@ -0,0 +1,204 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
| 3 |
+
场景渲染对比测试
|
| 4 |
+
|
| 5 |
+
使用 compose_scenes.py 导出 GLB,然后用 blender_renderer.py 渲染
|
| 6 |
+
对比原始 layout 和重分配后的 layout 的渲染效果
|
| 7 |
+
"""
|
| 8 |
+
|
| 9 |
+
import os
|
| 10 |
+
import sys
|
| 11 |
+
import json
|
| 12 |
+
import argparse
|
| 13 |
+
import subprocess
|
| 14 |
+
from pathlib import Path
|
| 15 |
+
|
| 16 |
+
# 添加路径
|
| 17 |
+
BASE_DIR = Path(__file__).resolve().parents[2]
|
| 18 |
+
sys.path.insert(0, str(BASE_DIR / "InternScenes" / "InternScenes_Real2Sim"))
|
| 19 |
+
|
| 20 |
+
from compose_scenes import SceneComposer, AssetMeshLoader
|
| 21 |
+
|
| 22 |
+
|
| 23 |
+
def compose_and_render(
|
| 24 |
+
layout_path: str,
|
| 25 |
+
output_dir: str,
|
| 26 |
+
scene_name: str = "test_scene",
|
| 27 |
+
use_texture: bool = True,
|
| 28 |
+
render: bool = True
|
| 29 |
+
):
|
| 30 |
+
"""
|
| 31 |
+
从 layout.json 导出 GLB 并渲染
|
| 32 |
+
|
| 33 |
+
Args:
|
| 34 |
+
layout_path: layout.json 路径
|
| 35 |
+
output_dir: 输出目录
|
| 36 |
+
scene_name: 场景名称
|
| 37 |
+
use_texture: 是否使用纹理
|
| 38 |
+
render: 是否渲染
|
| 39 |
+
"""
|
| 40 |
+
os.makedirs(output_dir, exist_ok=True)
|
| 41 |
+
|
| 42 |
+
# 读取 layout
|
| 43 |
+
with open(layout_path, 'r') as f:
|
| 44 |
+
layout = json.load(f)
|
| 45 |
+
|
| 46 |
+
# 转换为 instance_infos 格式
|
| 47 |
+
if isinstance(layout, list):
|
| 48 |
+
instance_infos = layout
|
| 49 |
+
else:
|
| 50 |
+
# 新格式:从 functional_zones 提取
|
| 51 |
+
instance_infos = []
|
| 52 |
+
for zone in layout.get('functional_zones', []):
|
| 53 |
+
for asset in zone.get('assets', []):
|
| 54 |
+
# 转换格式
|
| 55 |
+
transform = asset.get('transform', {})
|
| 56 |
+
pos = transform.get('pos', [0, 0, 0])
|
| 57 |
+
size = transform.get('size', [1, 1, 1])
|
| 58 |
+
rot = transform.get('rot', [0, 0, 0])
|
| 59 |
+
|
| 60 |
+
# 构建 bbox: [cx, cy, cz, sx, sy, sz, rx, ry, rz]
|
| 61 |
+
bbox = pos + size + rot
|
| 62 |
+
|
| 63 |
+
instance_info = {
|
| 64 |
+
'category': asset.get('category', 'unknown'),
|
| 65 |
+
'model_uid': asset.get('model_id', asset.get('model_uid', '')),
|
| 66 |
+
'bbox': bbox
|
| 67 |
+
}
|
| 68 |
+
instance_infos.append(instance_info)
|
| 69 |
+
|
| 70 |
+
print(f"加载了 {len(instance_infos)} 个资产")
|
| 71 |
+
|
| 72 |
+
# 导出 GLB
|
| 73 |
+
glb_path = os.path.join(output_dir, f"{scene_name}.glb")
|
| 74 |
+
print(f"导出 GLB 到: {glb_path}")
|
| 75 |
+
|
| 76 |
+
composer = SceneComposer()
|
| 77 |
+
try:
|
| 78 |
+
scene = composer.compose_scene_from_instance_infos(
|
| 79 |
+
instance_infos,
|
| 80 |
+
glb_path,
|
| 81 |
+
use_texture=use_texture,
|
| 82 |
+
bbox_data_key="bbox"
|
| 83 |
+
)
|
| 84 |
+
print(f"✓ GLB 导出成功: {glb_path}")
|
| 85 |
+
except Exception as e:
|
| 86 |
+
print(f"✗ GLB 导出失败: {e}")
|
| 87 |
+
return None
|
| 88 |
+
|
| 89 |
+
# 渲染
|
| 90 |
+
if render:
|
| 91 |
+
render_path = os.path.join(output_dir, f"{scene_name}.png")
|
| 92 |
+
print(f"渲染到: {render_path}")
|
| 93 |
+
|
| 94 |
+
blender_script = str(BASE_DIR / "InternScenes" / "InternScenes_Real2Sim" / "blender_renderer.py")
|
| 95 |
+
|
| 96 |
+
cmd = [
|
| 97 |
+
"python", blender_script,
|
| 98 |
+
"--input", glb_path,
|
| 99 |
+
"--output", render_path,
|
| 100 |
+
"--width", "1600",
|
| 101 |
+
"--height", "900",
|
| 102 |
+
"--view-mode", "topdown",
|
| 103 |
+
"--samples", "64",
|
| 104 |
+
"--engine", "CYCLES"
|
| 105 |
+
]
|
| 106 |
+
|
| 107 |
+
try:
|
| 108 |
+
result = subprocess.run(cmd, capture_output=True, text=True, timeout=300)
|
| 109 |
+
if result.returncode == 0:
|
| 110 |
+
print(f"✓ 渲染成功: {render_path}")
|
| 111 |
+
else:
|
| 112 |
+
print(f"✗ 渲染失败: {result.stderr}")
|
| 113 |
+
return glb_path
|
| 114 |
+
except subprocess.TimeoutExpired:
|
| 115 |
+
print("✗ 渲染超时")
|
| 116 |
+
return glb_path
|
| 117 |
+
except Exception as e:
|
| 118 |
+
print(f"✗ 渲染错误: {e}")
|
| 119 |
+
return glb_path
|
| 120 |
+
|
| 121 |
+
return glb_path
|
| 122 |
+
|
| 123 |
+
|
| 124 |
+
def compare_layouts(
|
| 125 |
+
original_layout: str,
|
| 126 |
+
reassigned_layout: str,
|
| 127 |
+
output_dir: str,
|
| 128 |
+
use_texture: bool = True
|
| 129 |
+
):
|
| 130 |
+
"""
|
| 131 |
+
对比原始和重分配后的 layout 渲染效果
|
| 132 |
+
"""
|
| 133 |
+
os.makedirs(output_dir, exist_ok=True)
|
| 134 |
+
|
| 135 |
+
print("="*60)
|
| 136 |
+
print("原始 Layout")
|
| 137 |
+
print("="*60)
|
| 138 |
+
compose_and_render(
|
| 139 |
+
original_layout,
|
| 140 |
+
output_dir,
|
| 141 |
+
scene_name="original",
|
| 142 |
+
use_texture=use_texture
|
| 143 |
+
)
|
| 144 |
+
|
| 145 |
+
print("\n" + "="*60)
|
| 146 |
+
print("重分配后 Layout")
|
| 147 |
+
print("="*60)
|
| 148 |
+
compose_and_render(
|
| 149 |
+
reassigned_layout,
|
| 150 |
+
output_dir,
|
| 151 |
+
scene_name="reassigned",
|
| 152 |
+
use_texture=use_texture
|
| 153 |
+
)
|
| 154 |
+
|
| 155 |
+
print("\n" + "="*60)
|
| 156 |
+
print(f"对比结果已保存到: {output_dir}")
|
| 157 |
+
print(" - original.glb / original.png")
|
| 158 |
+
print(" - reassigned.glb / reassigned.png")
|
| 159 |
+
print("="*60)
|
| 160 |
+
|
| 161 |
+
|
| 162 |
+
def main():
|
| 163 |
+
parser = argparse.ArgumentParser(description='场景渲染对比测试')
|
| 164 |
+
|
| 165 |
+
subparsers = parser.add_subparsers(dest='command')
|
| 166 |
+
|
| 167 |
+
# compose 命令
|
| 168 |
+
p_compose = subparsers.add_parser('compose', help='从 layout 导出 GLB')
|
| 169 |
+
p_compose.add_argument('layout_path', help='layout.json 路径')
|
| 170 |
+
p_compose.add_argument('--output-dir', default='/tmp/compose_test', help='输出目录')
|
| 171 |
+
p_compose.add_argument('--name', default='scene', help='场景名称')
|
| 172 |
+
p_compose.add_argument('--no-texture', action='store_true', help='不使用纹理')
|
| 173 |
+
p_compose.add_argument('--no-render', action='store_true', help='不渲染')
|
| 174 |
+
|
| 175 |
+
# compare 命令
|
| 176 |
+
p_compare = subparsers.add_parser('compare', help='对比两个 layout 的渲染效果')
|
| 177 |
+
p_compare.add_argument('original', help='原始 layout.json')
|
| 178 |
+
p_compare.add_argument('reassigned', help='重分配后的 layout.json')
|
| 179 |
+
p_compare.add_argument('--output-dir', default='/tmp/compare_test', help='输出目录')
|
| 180 |
+
p_compare.add_argument('--no-texture', action='store_true', help='不使用纹理')
|
| 181 |
+
|
| 182 |
+
args = parser.parse_args()
|
| 183 |
+
|
| 184 |
+
if args.command == 'compose':
|
| 185 |
+
compose_and_render(
|
| 186 |
+
args.layout_path,
|
| 187 |
+
args.output_dir,
|
| 188 |
+
scene_name=args.name,
|
| 189 |
+
use_texture=not args.no_texture,
|
| 190 |
+
render=not args.no_render
|
| 191 |
+
)
|
| 192 |
+
elif args.command == 'compare':
|
| 193 |
+
compare_layouts(
|
| 194 |
+
args.original,
|
| 195 |
+
args.reassigned,
|
| 196 |
+
args.output_dir,
|
| 197 |
+
use_texture=not args.no_texture
|
| 198 |
+
)
|
| 199 |
+
else:
|
| 200 |
+
parser.print_help()
|
| 201 |
+
|
| 202 |
+
|
| 203 |
+
if __name__ == '__main__':
|
| 204 |
+
main()
|