suvadityamuk HF Staff commited on
Commit
5e04166
·
verified ·
1 Parent(s): 9f298f9

Add GSO WebDataset: 1030 objects, 43 shards (trimesh 4.12.2)

Browse files
LICENSE ADDED
@@ -0,0 +1,20 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Google Scanned Objects dataset repackaging
2
+ Copyright 2020 Google LLC.
3
+
4
+ This dataset is licensed under the Creative Commons Attribution 4.0 International (CC BY 4.0).
5
+ To view a copy of this license, visit https://creativecommons.org/licenses/by/4.0/.
6
+
7
+ Attribution
8
+ -----------
9
+ Source: Google Scanned Objects (https://goo.gle/scanned-objects)
10
+ Original author: Google LLC <scanned-objects@google.com>
11
+
12
+ You are free to share and adapt this material for any purpose, even
13
+ commercially, under the following terms:
14
+ - Attribution: You must give appropriate credit, provide a link to the
15
+ license, and indicate if changes were made.
16
+
17
+ Changes made in this repackaging: objects were extracted from their original
18
+ zip archives, converted to a WebDataset layout, and each mesh was normalized
19
+ into a self-contained GLB with trimesh (centered and scaled to a unit cube).
20
+ Original obj/mtl/texture and render thumbnails are preserved.
README.md ADDED
@@ -0,0 +1,103 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: cc-by-4.0
3
+ pretty_name: Google Scanned Objects (WebDataset)
4
+ tags:
5
+ - 3d
6
+ - mesh
7
+ - glb
8
+ - webdataset
9
+ - google-scanned-objects
10
+ - trellis
11
+ task_categories:
12
+ - image-to-3d
13
+ - text-to-3d
14
+ size_categories:
15
+ - 1K<n<10K
16
+ configs:
17
+ - config_name: default
18
+ data_files:
19
+ - split: train
20
+ path: data/*.tar
21
+ ---
22
+
23
+ # Google Scanned Objects (WebDataset)
24
+
25
+ A `load_dataset`-ready [WebDataset](https://github.com/webdataset/webdataset)
26
+ packaging of the **Google Scanned Objects** dataset: high-quality 3D scans of common
27
+ household items. Each object provides the original mesh/material/texture, five
28
+ render thumbnails, structured metadata, and a **normalized GLB** produced with
29
+ [`trimesh`](https://github.com/mikedh/trimesh) for direct use in 3D pipelines
30
+ (e.g. TRELLIS-2 fine-tuning).
31
+
32
+ - Objects: **1030**
33
+ - Shards: **43** (`data/gso-train-*.tar`)
34
+ - License: **Creative Commons Attribution 4.0 International** (cc-by-4.0)
35
+
36
+ ## Usage
37
+
38
+ ```python
39
+ from datasets import load_dataset
40
+
41
+ ds = load_dataset("suvadityamuk/google-scanned-objects", split="train")
42
+ sample = ds[0]
43
+ print(sample["json"]["name"], sample["json"]["category"])
44
+ sample["texture.png"] # PIL.Image (diffuse texture)
45
+ sample["thumbnail_0.jpg"] # PIL.Image (render)
46
+ glb_bytes = sample["glb"] # bytes of a self-contained, normalized .glb
47
+ ```
48
+
49
+ Streaming works too (no full download):
50
+
51
+ ```python
52
+ ds = load_dataset("suvadityamuk/google-scanned-objects", split="train", streaming=True)
53
+ sample = next(iter(ds))
54
+ ```
55
+
56
+ > GLB is a recognized mesh extension in the `datasets` WebDataset builder, so
57
+ > `glb` is loaded as a `Mesh` feature and rendered in the dataset viewer.
58
+ > A recent `datasets` version is required for the `Mesh` feature.
59
+
60
+ ## Per-sample fields
61
+
62
+ | field | type | description |
63
+ |-------|------|-------------|
64
+ | `obj` | bytes | original `model.obj` mesh |
65
+ | `mtl` | bytes | original `model.mtl` material |
66
+ | `texture.png` | Image | diffuse texture |
67
+ | `glb` | Mesh | normalized, self-contained GLB (see below) |
68
+ | `thumbnail_0.jpg` .. `thumbnail_4.jpg` | Image | 5 render thumbnails |
69
+ | `json` | dict | metadata + `glb_processing` stats |
70
+
71
+ The `json` field contains: `object_id`, `name`, `description`, `version`,
72
+ `category`, `annotations` (e.g. `brand`, `gtin`, `sku`), `author`, `license`,
73
+ `license_id`, `license_url`, `copyright`, `source`, `num_thumbnails_original`,
74
+ and `glb_processing`.
75
+
76
+ ## GLB normalization (trimesh)
77
+
78
+ Produced deterministically per object with `trimesh==4.12.2`:
79
+
80
+ 1. Copy `materials/textures/texture.png` next to the OBJ so the MTL's
81
+ `map_Kd texture.png` resolves and the diffuse map binds.
82
+ 2. `trimesh.load(obj, process=False, force="mesh")` — preserves UVs, flattens
83
+ to a single mesh.
84
+ 3. Translate the axis-aligned bounding-box center to the origin.
85
+ 4. Uniformly scale so the longest AABB edge is `1.0` (fits a unit cube).
86
+ 5. Preserve UVs (no vertex merge); recompute normals only if missing.
87
+ 6. Export a self-contained `.glb` with the texture embedded.
88
+
89
+ Every object's exact transform (`applied_translation`, `applied_scale`),
90
+ mesh stats (`vertices`, `faces`, `is_watertight`, `surface_area_normalized`,
91
+ `orig_extents`, `final_extents`, `texture_size`, `glb_size_bytes`) and any
92
+ `warnings` are recorded in `json["glb_processing"]` and aggregated in
93
+ [`stats/processing_log.jsonl`](./stats/processing_log.jsonl).
94
+
95
+ ## License & attribution
96
+
97
+ This dataset is a repackaging of the Google Scanned Objects dataset by Google LLC,
98
+ licensed under [Creative Commons Attribution 4.0 International](https://creativecommons.org/licenses/by/4.0/) (`cc-by-4.0`).
99
+
100
+ > "Google Scanned Objects", Copyright 2020 Google LLC, licensed under CC BY 4.0.
101
+
102
+ You must give appropriate credit when using this data. See the `LICENSE` file
103
+ and each object's `json["copyright"]` / `json["license"]` fields.
data/gso-train-00000.tar ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a61c814acc4d3b7515450e4d1bc74aa89a5e683097be3326b1db544ff6226100
3
+ size 513167360
data/gso-train-00001.tar ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:60c3fb4e3e0c5c0ab22b44488e09938e0f7a716ad2edd0726c02fabd79d14a22
3
+ size 496138240
data/gso-train-00002.tar ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7833a106817f8001d43d8e7bc01b9f40d6ad650b40d77fb6b5980dc88dbb395c
3
+ size 498595840
data/gso-train-00003.tar ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:23197673f1b35e3b62671d63103331c65ef230652e5a844b64329b9d34766551
3
+ size 519761920
data/gso-train-00004.tar ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:af12d91eca6c82d9e5f127566bce635d1ba984dafc4c19656a96ea288e80b0f3
3
+ size 521912320
data/gso-train-00005.tar ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:39674d24bf33de77b08d23863b6ae95a5bbf28beeaca4f9f772f7b2a312df359
3
+ size 511815680
data/gso-train-00006.tar ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a58fd208f1a3437190a63b5e24686a95fb98f78d0cbebeefa1fe2bcc6bf70ace
3
+ size 519034880
data/gso-train-00007.tar ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:97795e02ec3bd9f9055f5df18234d3821d733972d323945778528a65815f484a
3
+ size 498206720
data/gso-train-00008.tar ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fcf94f9971462a7f618ba3cb00145798599c19fc6b5285348f14b9c897424759
3
+ size 514293760
data/gso-train-00009.tar ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:514f96778bf30d496db592efdcf2082e6e647de1ef907e16581a164d552eecea
3
+ size 510044160
data/gso-train-00010.tar ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d3ac0f10cef6408d1c7c0ea500828180614fa3c43fbba574aa149657a738d0e3
3
+ size 506050560
data/gso-train-00011.tar ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:98098cb159f25efeb409d71197661c6f2a48986314f41059e9ad1a5b6829bd4c
3
+ size 512624640
data/gso-train-00012.tar ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:41cf95e3ad89610d47e0af24526bbaef42a9309f17aeb7ff6b3f7860eead9763
3
+ size 517826560
data/gso-train-00013.tar ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5afb69ab7641bc6362f07ddeb2239bbfbfade3df986bcaf2dae373ab0a6f61e8
3
+ size 512266240
data/gso-train-00014.tar ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:17104e4137f0e9046f66d295705c4e75cc80b4704f6849850cf0802e410b3cae
3
+ size 511068160
data/gso-train-00015.tar ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e2540e91c3bccdbd8bbcfecd3a2d3e508c0ab190289a303fea25cc3d02209695
3
+ size 511590400
data/gso-train-00016.tar ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:adc347119ac5a16f27af5e678fdfd29784866b10850d9be86fef1df1de2155e8
3
+ size 516567040
data/gso-train-00017.tar ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ebb01d8ef74fa936e55f0d94ec8c8ad4700e305324d276c99a6759ee058cf44a
3
+ size 516096000
data/gso-train-00018.tar ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1a9a69e8ef3827c6ecc628ca33bda64f2b45ebafe72e149f56c1aa5168536a86
3
+ size 492933120
data/gso-train-00019.tar ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c960d4a2f45194b1f89d436ae27697e74e791193337edbd75bee887354e42a76
3
+ size 517806080
data/gso-train-00020.tar ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:589327a4445ea8897b64c709a22e211a12112d0f582f5cd0e1fcb37a8f90e3d4
3
+ size 519956480
data/gso-train-00021.tar ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:26d9daaf1d3aca0e0d0d7579bfe9563ce8841578bb218c2dadc05c8445140fee
3
+ size 511416320
data/gso-train-00022.tar ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a6e416631ead7c7689544c6be9381715eca8ebb2443c5846a2f45366cbf31c34
3
+ size 516454400
data/gso-train-00023.tar ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2692f95f9628391e364a123d84c8c03d364cacb25dc1cdd85a49c574402c9316
3
+ size 508098560
data/gso-train-00024.tar ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:cc4441943b6244e838b7ff1efb9d5952f63245a67b4ef87c5daadbba27c41e06
3
+ size 520888320
data/gso-train-00025.tar ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:704d03d1763dcf6914dac5fdb96aa426133ef2350f97665bbd07f9867deb03d2
3
+ size 518051840
data/gso-train-00026.tar ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:505f1ca294006ccf25c6b4d8f9d1c5d372d832e95dcb1d669d4ed041fb022060
3
+ size 510801920
data/gso-train-00027.tar ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a6d93513b5d3db509e581e110fe78c7c0570acd603797ef525d302b11f13919f
3
+ size 517130240
data/gso-train-00028.tar ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:015566c8b6ac68480b8d6026bc5e5b9deab674ea9738f79d756215050d94c7c6
3
+ size 512880640
data/gso-train-00029.tar ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ef37297eed4d32c22ffc295d26eb5193e051908793c5bba407e2a9514d943c13
3
+ size 520366080
data/gso-train-00030.tar ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3b8aa7153f84410d623f02bd56ca65620110901b69e7366e8e52ef0f53aa23a1
3
+ size 513208320
data/gso-train-00031.tar ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a23c00a76a320a2c57ab44d3e7060c5bbb57ee4a795c087cfb349b40516a2efa
3
+ size 506204160
data/gso-train-00032.tar ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:97df0988d6d151169b5ab2f412885036a64ed1ceaae33247b57036ac0177a0f7
3
+ size 503869440
data/gso-train-00033.tar ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3cd04069bfb988ea3a5dc0a1a70ea122be34f1adf58b217b497a6c55ab425fc8
3
+ size 515420160
data/gso-train-00034.tar ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7dff347837a3bd88b7c17a989c94cd4418e78af605b49298b1cd94d6fb7b8cf5
3
+ size 519331840
data/gso-train-00035.tar ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:08c7b2b46a6ee03d8de758b21c6c6df9663a1fc52ead2dfe725c9d2d5a7e196d
3
+ size 513925120
data/gso-train-00036.tar ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c03613470a28ce854093b6cfd659217512c50f74056c2a2c7e536f6613ae9ee9
3
+ size 505333760
data/gso-train-00037.tar ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:00c6efe04de25cb96bb644d9bcd2442009493d5a7494832a56fcda44d386ee2f
3
+ size 513525760
data/gso-train-00038.tar ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:34c8f7515313e0fdd53b8c74e4cec10f4f564643c5ea0ced3fbba321c25a1c44
3
+ size 521728000
data/gso-train-00039.tar ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6634dbc3592acd8f225adbf2e54f806c0f9fc2a5fa999b94674576dc655bfeac
3
+ size 522465280
data/gso-train-00040.tar ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6654c20450b3ba8d8953c42b64efbdba4928228ac8effa266500201767f08d7b
3
+ size 506900480
data/gso-train-00041.tar ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fd09ccb7a6b7ec8326cb22a1071858d2cb3686bb34e1574ead9bd0425a317332
3
+ size 506286080
data/gso-train-00042.tar ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d61b90e0ff59b408a1c8276c13eff27fd20d7314b5744de0952d83b3977f365f
3
+ size 391628800
stats/processing_log.jsonl ADDED
The diff for this file is too large to render. See raw diff