Point Cloud Datasets
This repository provides ShapeNetCore.v2, ShapeNetPart, ModelNet40 and ModelNet10 datasets in HDF5 format. For each shape in these datasets, we use farthest point sampling algorithm to uniformly sample 2,048 points from shape surface. All points are then centered and scaled. We follow the train/val/test split in official documents.
We also provide code to load and visualize our datasets with PyTorch 1.2 and Python 3.7. See dataset.py
and run it to have a try.
To visualize, run visualize.py
to generate XML file and use Mitsuba to render it. Our code is from this repo.
ย
Download link:
- ShapeNetCore.v2 (0.98G)โ[TsinghuaCloud]โ[BaiduDisk]
- ShapeNetPart (338M)โ[TsinghuaCloud]โ[BaiduDisk]
- ModelNet40 (194M)โ[TsinghuaCloud]โ[BaiduDisk]
- ModelNet10 (72.5M)โ[TsinghuaCloud]โ[BaiduDisk]
ย
ShapeNetCore.v2
ShapeNetCore.v2 datset contains 51,127 pre-aligned shapes from 55 categories, which are split into 35,708 (70%) for training, 5,158 (10%) shapes for validation and 10,261 (20%) shapes for testing. In official document there should be 51,190 shapes in total, but 63 shapes are missing in original downloaded ShapeNetCore.v2 dataset from here.
The 55 categories include: airplane
, bag
, basket
, bathtub
, bed
, bench
, birdhouse
, bookshelf
, bottle
, bowl
, bus
, cabinet
, camera
, can
, cap
, car
, cellphone
, chair
, clock
, dishwasher
, earphone
, faucet
, file
, guitar
, helmet
, jar
, keyboard
, knife
, lamp
, laptop
, mailbox
, microphone
, microwave
, monitor
, motorcycle
, mug
, piano
, pillow
, pistol
, pot
, printer
, remote_control
, rifle
, rocket
, skateboard
, sofa
, speaker
, stove
, table
, telephone
, tin_can
, tower
, train
, vessel
, washer
.
Some visualized point clouds in our ShapeNetCore.v2 dataset:
โโโโโearphoneโโโโโโโโโโโlampโโโโโโโโโโโโtowerย
ShapeNetPart
ShapeNetPart dataset contains 16,881 pre-aligned shapes from 16 categories, annotated with 50 segmentation parts in total. Most object categories are labeled with two to five segmentation parts. There are 12,137 (70%) shapes for training, 1,870 (10%) shapes for validation, and 2,874 (20%) shapes for testing. We also pack the segementation label in our dataset. The link for official dataset is here.
The 16 categories include: airplane
, bag
, cap
, car
, chair
, earphone
, guitar
, knife
, lamp
, laptop
, motorbike
, mug
, pistol
, rocket
, skateboard
, table
.
Although ShapeNetPart is made from ShapeNetCore, the number of points per shape in official ShapeNetPart dataset is not very large and sometimes less than 2,048. Thus the uniform sampling quality of our ShapeNetPart dataset is lower than our ShapeNetCore.v2 dataset.
In this dataset, we change segmentation label for each point into range 0~49 according to its category. You can find a index mapping list in dataset.py
.
Some visualized point clouds in our ShapeNetPart dataset:
โโโโโairplaneโโโโโโโโโโโโtableโโโโโโโโโโโโโchairย
ModelNet40
ModelNet40 dataset contains 12,311 pre-aligned shapes from 40 categories, which are split into 9,843 (80%) for training and 2,468 (20%) for testing. The link for official dataset is here.
The 40 categories include: airplane
, bathtub
, bed
, bench
, bookshelf
, bottle
, bowl
, car
, chair
, cone
, cup
, curtain
, desk
, door
, dresser
, flower_pot
, glass_box
, guitar
, keyboard
, lamp
, laptop
, mantel
, monitor
, night_stand
, person
, piano
, plant
, radio
, range_hood
, sink
, sofa
, stairs
, stool
, table
, tent
, toilet
, tv_stand
, vase
, wardrobe
, xbox
.
Note: The widely used 2,048 points sampled ModelNet40 dataset (link) only contains 9,840 shapes for training, not 9,843 in official. Our ModelNet40 dataset fixs this problem and can substitute the above mentioned dataset perfectly.
Some visualized point clouds in our ModelNet40 dataset:
โโโโโโvaseโโโโโโโโโโโbookshelfโโโโโโโโโโโโplantย
ModelNet10
ModelNet10 dataset is a part of ModelNet40 dataset, containing 4,899 pre-aligned shapes from 10 categories. There are 3,991 (80%) shapes for training and 908 (20%) shapes for testing. The link for official dataset is here.
The 10 categories include: bathtub
, bed
, chair
, desk
, dresser
, monitor
, night_stand
, sofa
, table
, toilet
.
ย
Dataset performance
Repos below use our datasets:
- antao97/UnsupervisedPointCloudReconstruction
- coming soon ...
ย