naderalfares commited on
Commit
a76eb91
·
verified ·
1 Parent(s): 72d3afe

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +70 -3
README.md CHANGED
@@ -1,3 +1,70 @@
1
- ---
2
- license: mit
3
- ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: mit
3
+ language:
4
+ - en
5
+ tags:
6
+ - 3d
7
+ - point-cloud
8
+ - mesh
9
+ - classification
10
+ - modelnet
11
+ pretty_name: ModelNet10
12
+ size_categories:
13
+ - 1G<n<10G
14
+ ---
15
+
16
+ # ModelNet10
17
+
18
+ [ModelNet10](https://modelnet.cs.princeton.edu/) is a subset of ModelNet with **10 object categories** of 3D CAD models, widely used for shape classification and point-cloud experiments. This repository packages the meshes as **OFF** files with a CSV index for use with the [Hugging Face `datasets`](https://huggingface.co/docs/datasets) library.
19
+
20
+ ## Dataset structure
21
+
22
+ - `metadata_modelnet10.csv` — index with columns: `object_id`, `class`, `split`, `object_path`
23
+ - `ModelNet10/` — mesh files (`.off`) organized by category and split
24
+ - `modelnet10.py` — `GeneratorBasedBuilder` loading script
25
+
26
+ Each example exposes string fields `object_id`, `class`, `split`, and `file_path` (absolute path to the `.off` file after resolution).
27
+
28
+ ## Usage
29
+
30
+ Load from the Hub (downloads and caches on first use):
31
+
32
+ ```python
33
+ from datasets import load_dataset
34
+
35
+ ds = load_dataset("naderalfares/ModelNet10")
36
+ ```
37
+
38
+ Load from a local directory that contains `metadata_modelnet10.csv` and the `ModelNet10/` folder:
39
+
40
+ ```python
41
+ from datasets import load_dataset
42
+
43
+ ds = load_dataset(
44
+ "path/to/modelnet10.py",
45
+ name="default",
46
+ data_dir="path/to/ModelNet10",
47
+ )
48
+ ```
49
+
50
+ Access splits:
51
+
52
+ ```python
53
+ train = ds["train"]
54
+ row = train[0]
55
+ print(row["class"], row["file_path"])
56
+ ```
57
+
58
+ ## Citation
59
+
60
+ If you use ModelNet, please cite:
61
+
62
+ ```bibtex
63
+ @inproceedings{wu20153d,
64
+ title={3D ShapeNets: A Deep Representation for Volumetric Shapes},
65
+ author={Wu, Zhirong and Song, Shuran and Khosla, Aditya and Yu, Fisher and Zhang, Linguang and Tang, Xiaoou and Xiao, Jianxiong},
66
+ booktitle={Proceedings of the IEEE conference on computer vision and pattern recognition},
67
+ pages={1912--1920},
68
+ year={2015}
69
+ }
70
+ ```