File size: 4,170 Bytes
b88bdf8
 
 
82a94b9
b88bdf8
 
 
 
 
 
 
 
 
 
 
63599c7
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
edb979f
 
 
 
 
 
331ced2
edb979f
331ced2
 
edb979f
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
---
license: mit
task_categories:
- other
language:
- en
tags:
- topology
- geometric deep-learning
- point clouds
pretty_name: Dataset Of ManNifold strUcTures
size_categories:
- 10K<n<100K
---

# DONUT (Dataset Of MaNifold strUcTures)


This repository contains a dataset of 3D samples made of watertight meshes and corresponding point clouds. Each sample is composed of one or several watertight mesh components and one 8192-point cloud representation.

The dataset contains **29,517 samples** in total.

## Overview

The figure below shows a few samples from the dataset together with their labels.

![A few DONUT samples and their labels](static/donut_samples.png)

## Contents

The repository is organized as follows:

```text
.
├── metadata.csv
├── obj/
│   ├── shard_0/
│   ├── shard_1/
│   └── shard_2/
└── pcd/
    ├── shard_0/
    ├── shard_1/
    └── shard_2/
```

- `obj/` contains the mesh files as `.npz` archives.
- `pcd/` contains the point clouds as `.npy` files.
- `metadata.csv` contains one row per sample with topological metadata.

There are **29,517** mesh files in `obj/` and **29,517** point cloud files in `pcd/`.

## File Format

### Meshes

Each mesh sample is stored as an `.npz` file in `obj/`. The archive contains:

- `vertices.npy`
- `faces.npy`

A sample may contain one or several watertight connected mesh components.

### Point Clouds

Each point cloud sample is stored as a `.npy` file in `pcd/`.

Each point cloud contains **8192 points** and corresponds to the sample with the same `id`.

## Sample Identification

Each sample is identified by a unique `id` string.

The same `id` is used in:

- the filename in `obj/`
- the filename in `pcd/`
- the `id` column in `metadata.csv`

For example, if a sample has id `abc123`, its files are:

- `obj/.../abc123.npz`
- `pcd/.../abc123.npy`

## Metadata

`metadata.csv` contains the following columns:

- `id`: unique identifier of the sample
- `genus`: total number of holes across all mesh components in the sample
- `components`: total number of connected mesh components in the sample
- `sample_code`: array of 6 integers describing how many components of each genus are present

## Meaning of `sample_code`

`sample_code` is an array of 6 integers:

```text
[n0, n1, n2, n3, n4, n5]
```

Here, `ni` is the number of mesh components in the sample whose genus is `i`.

So:

- `n0` is the number of genus-0 components
- `n1` is the number of genus-1 components
- `n2` is the number of genus-2 components
- `n3` is the number of genus-3 components
- `n4` is the number of genus-4 components
- `n5` is the number of genus-5 components

From `sample_code`, the metadata values are computed as:

```text
genus = sum(i * ni for i in [0, 1, 2, 3, 4, 5])
components = sum(ni for i in [0, 1, 2, 3, 4, 5])
```

In other words:

- `genus` is the total number of holes in the full sample
- `components` is the total number of connected components in the full sample

The distribution of labels in the dataset is shown below.

![Distribution of DONUT labels](static/donut_distrib.png)

## Examples

```text
sample_code = [2, 1, 0, 0, 0, 0]
```

This means:

- 2 components of genus 0
- 1 component of genus 1
- total genus = 0 * 2 + 1 * 1 = 1
- total components = 2 + 1 = 3

## Summary

DONUT is a dataset of **29,517** samples of manifold 3D structures.

Each sample provides:

- one mesh file in `.npz` format
- one 8192-point cloud in `.npy` format
- one metadata entry in `metadata.csv`

The metadata describes the global topology of each sample through its total genus, number of connected components, and component-wise genus distribution.

## Citation

If you use DONUT, please cite the paper [FILTR: Extracting Topological Features from Pretrained 3D Models](https://arxiv.org/abs/2604.22334):

```bibtex
@inproceedings{Martinez2026FILTR,
  title={FILTR: Extracting Topological Features from Pretrained 3D Models},
  author={Louis Martinez and Maks Ovsjanikov},
  booktitle={Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR)},
  year={2026},
  url={https://arxiv.org/abs/2604.22334}
}
```