Datasets:

Tasks:
Other
Modalities:
3D
ArXiv:
License:
Dataset Viewer
Auto-converted to Parquet Duplicate
text
stringlengths
28
32
e6f0811f15286120cedbd07f4cf21a81
1890f6391df25286394b1e418d5c594
a5639c976e677ce6e719b5362fe06bbb
a5215569ae825265ff3feb917a6004b
cf911e274fb613fbbf3143b1cb6076a
79dba7fc4ba0829d62b600da24e0965
87cf8f265536d4369a6e43b878d5b335
bad95673c40e3bbd66cf1b4a8fc3914e
4843a702815e8ab442ffb0c016ee58f9
4d13a1b180422efc2d0334ee3a22c9fc
4d223d7a0e8162cabd46d022fd7d80aa
99ee9ae50909ac0cd3cd0742a4ec7e9b
3f69370401d4dc9a275386e1d3ac388e
da9c541228a171b7ca8607f540cc62ba
6b84749eaca0e657f37f38dedb2f1219
b3950d8c2c1da884e52afb4158d0847e
67636e7d15d082089412a62cd6b1bf5
cae48a376cb607547d3b11085e75c7ad
37b1f7f02c4b87dbca8607f540cc62ba
49f400e6574c75554c3a35cee92bb95b
74a5f937c22aa08a3e70653c1b3170b5
b45e5b92bb4623ff151f2df200a24ac
b7bd7a753da0aa113ce4891c7dcdfb1c
cc40acee83422fe892b90699bc4724f9
9469590435736800b87697d3904b168b
688f4e273beef132f0daafcf2996daaa
fbcc12c5530ab67cad659a74e36b6387
f47c5c54c4e49f62e0a768dae1badf69
3ae96a1e1bb488942296d88107d065f6
420f3bb771e8e75ed878249aca2571f
da67955425ffe66071d03b466c72ce41
e5abd988cb34ed9cdc82b8fee1057b30
adaadca2be822544d81b6465d8dc20b5
bf5d6902e75fd8812296d88107d065f6
4bae467a3dad502b90b1d6deb98feec6
85fd79b9fe5948ff62b600da24e0965
bb7d526405e9347b8f6810e1a2b6aa04
420f92d84c88244b9a6e43b878d5b335
9550774ad1c19b24a5a118bd15e6e34f
5678fc24603d25cb74745e8fbb11e3df
d24f2a1da14a00ce16b34c3751bc447d
6a54d956a8adb2d0e691625fb79e2c2
bb91e932504e90ffcc14f1e6f4f4f49b
ffbc31352a34c3e1ffb94dfdd6ddfaf0
5d7b52a58c667ca835fc197bbabcd5bd
63a2144cfae402149b30aa09067b7eef
8383e10a1d1faf89c7749c7e68c22ddc
125417c3fa9bc1b130f57e42c77d3894
43e078c68d2fa3b4d5d30e1306d90d74
dd949574a91719eb7ab25516d117381a
8c0c8307c5de1b65ac96c03d6280efb7
732ff6155a096fb0151f2df200a24ac
dcded0031a71305c52d6957c59c3d213
83b55a6e1677563d6ae6891f58c50f
754d9b0f12e6c6104af5b53e1d2ec5b6
e52f08852429e6117dc01d89d8a05b74
d5ad529ad399086e4e9a6f7cd468e49d
b2960c2be8fad9dac140e34b6af37a1d
3cab1ffcff8b84cbcad035c2ab458
c6ab8acad9e61a3e48227c7754aae2a1
fa9d933674352c3711a50c43722a30cb
19604020a86ab1790b1d6deb98feec6
e15f4c98857b67e41e287f9f679ab620
e08402fb1e5953a2a93f0f952e72609
ae857883c77d156b71d03b466c72ce41
6615d159d2e250376969ef231a00a44b
e0385af10bddc6a0ca8607f540cc62ba
85c9fba37bb685d7ca8607f540cc62ba
2b0a2bb1556c96b94f762cd8ae1b1c4b
7bad9d15c0f0d3c03554ccf8c30febe7
ecc50d702133b1531e9da99095f71c63
5b985bc192961c595de04aad18bd94c3
2dcc844fe9c4d4d99b0fce6a4905cf2b
93c38745ac281f6b8aeaf14658928f6
da1acb401541235be4d2773f0358b43b
b356ef92a2052648b8494b55ada518dc
78edc61edc8835b5bc0909d98a1ff2b4
4ed5983b7721f1da7f79d93424b708f0
21c7cc3e5f27540be6553f96496649c9
a3bafea9edc457463da2ae40e7681e7e
5a0fe6557b4e2b9ea8e091cb544689d5
a00ed5d078c6244c37678474be485ca
14161a05a21cbd6f62b600da24e0965
9a29495f38c07b0526a6eb5f28c0aecb
dfa36bffe436a98ee0534173b9189765
c9620ae77d3eb16ea3123c495342b850
5a38f5eb63dd8b20ab9d1113aabc16f5
6dfde67c8b905939bc0909d98a1ff2b4
10eeb119fd5508e0d6d949577c389a84
aeb538b2f1c36a8d9e811b082458229e
e2275ee8d6b175f2f446f92b52bbd82a
cbacce3a17e061251ab9df4be75138d0
83e4e523003294ab9a6e43b878d5b335
8af730a8f082af9167b9bb226efd81df
10af5de930178a161596c26b5af806fe
162ed8d0d989f3acc1ccec171a275967
2be6cc069c95951a4304ffdb51711149
4635326bc4fdc3e9297cd7e2ef7dfa80
8cf06a71987992cf90a51833252023c7
aebc4c46b3cb7c3bca8607f540cc62ba
End of preview. Expand in Data Studio

ShapeNetSDF

Signed Distance Field (SDF) point samples derived from ShapeNet Core, for training and evaluating implicit neural representations / neural fields on 3D shapes.

Each shape is converted into a watertight manifold, normalized into the unit cube [-1, 1]³, and sampled into three point sets (uniform, surface, groundtruth), each stored as a [N, 4] float32 array of [x, y, z, sdf].

This dataset is produced by process_shapenet_to_sdf.py from the wsr.pytorch neural-field codebase.

Dataset structure

ShapeNetSDF/
├── <category>/                     # 51 category folders (chair, table, airplane, ...)
│   ├── uniform/<model_id>.npy      # [262144, 4]  points uniform in [-1,1]³ + SDF
│   ├── surface/<model_id>.npy      # [262144, 4]  near-surface points (+noise) + SDF
│   ├── groundtruth/<model_id>.npy  # [262144, 4]  exact surface points (SDF ≈ 0)
│   ├── train.txt                   # model ids, ~80% split
│   ├── val.txt                     # model ids, ~10% split
│   └── test.txt                    # model ids, ~10% split
├── all/                            # aggregated view across all categories
│   ├── uniform/ surface/ groundtruth/
│   ├── train.txt / val.txt / test.txt   # global splits (all categories)
│   ├── 10k10c.txt / 5k10c.txt / 5k5c.txt / 100_5c.txt   # curated subsets
│   └── labels.json                 # category ↔ model_id mappings
└── README.md
  • 51 categories: airplane, bag, basket, bathtub, bed, bench, birdhouse, bookshelf, bottle, bowl, bus, cabinet, camera, can, cap, car, chair, dishwasher, display, earphone, faucet, file_cabinet, guitar, jar, keyboard, knife, lamp, laptop, loudspeaker, mailbox, microphone, motorbike, mug, piano, pillow, pistol, printer, remote, rifle, rocket, skateboard, sofa, stove, table, telephone, tower, train, trash_bin, washer, watercraft (plus the aggregated all/ folder).
  • Total size: ~512 GB.

File format

Every .npy file is a float32 array of shape [N, 4]:

column meaning range
0 (x) x coordinate [-1, 1]
1 (y) y coordinate [-1, 1]
2 (z) z coordinate [-1, 1]
3 (sdf) signed distance to the surface negative inside, positive outside
  • uniformN = 64³ = 262,144 points sampled uniformly in [-1, 1]³, with their exact signed distance. Use these to supervise the field in free space.
  • surface — points sampled on the mesh surface with a small Gaussian perturbation (noise scale ≈ 0.02), so SDF values are close to (but not exactly) zero. Intended for training near the surface.
  • groundtruth — exact on-surface points (SDF ≈ 0), with no noise. Intended for evaluation (e.g. surface reconstruction / Chamfer / IoU).

Splits

Splits are plain-text files with one model_id per line. Per-category splits live in each category folder; global splits and curated subsets live in all/:

  • train.txt / val.txt / test.txt — ~80% / 10% / 10% split (seed 42).
  • 10k10c.txt, 5k10c.txt, 5k5c.txt, 100_5c.txt — curated subsets (<num_models><num_categories>c, e.g. 5k5c = 5,000 models across 5 categories) for quick experiments.
  • labels.json{"category_to_filename": {...}, "filename_to_category": {...}} mapping each category to its model ids and vice versa.

Usage

import numpy as np
from huggingface_hub import hf_hub_download

# Download a single shape's uniform samples.
path = hf_hub_download(
    repo_id="EPFL-IVRL/ShapeNetSDF",
    repo_type="dataset",
    filename="chair/uniform/209994649e7fdf052ff84f70e18e9c53.npy",
)
points = np.load(path)          # [262144, 4] -> [x, y, z, sdf]
xyz, sdf = points[:, :3], points[:, 3]

Or download a whole category / split locally:

from huggingface_hub import snapshot_download

snapshot_download(
    repo_id="EPFL-IVRL/ShapeNetSDF",
    repo_type="dataset",
    allow_patterns=["chair/**", "all/train.txt", "all/labels.json"],
    local_dir="ShapeNetSDF",
)

How it was created

For each ShapeNet Core model (models/model_normalized.obj):

  1. Convert the mesh to a watertight manifold (via point_cloud_utils).
  2. Normalize into the unit cube centered at the origin (scale 0.98 of the max vertex distance).
  3. Sample uniform, surface (+noise), and groundtruth point sets.
  4. Compute the signed distance for every point and save as [N, 4] float32.

Processing is deterministic (per-model_id seeding), so results are reproducible. See neural_field/scripts/process_shapenet_to_sdf.py for the full pipeline and configuration.

License & citation

This dataset is derived from ShapeNet and is subject to the ShapeNet terms of use. Use it for non-commercial research only, and cite ShapeNet:

@article{chang2015shapenet,
  title   = {ShapeNet: An Information-Rich 3D Model Repository},
  author  = {Chang, Angel X. and Funkhouser, Thomas and Guibas, Leonidas and
             Hanrahan, Pat and Huang, Qixing and Li, Zimo and Savarese, Silvio
             and Savva, Manolis and Song, Shuran and Su, Hao and Xiao, Jianxiong
             and Yi, Li and Yu, Fisher},
  journal = {arXiv preprint arXiv:1512.03012},
  year    = {2015}
}
Downloads last month
5

Paper for EPFL-IVRL/ShapeNetSDF