YuXingyao commited on
Commit
7df4cd1
·
0 Parent(s):

Publish the DeepCAD test dataset

Browse files
Files changed (5) hide show
  1. .gitattributes +60 -0
  2. README.md +93 -0
  3. SHA256SUMS +3 -0
  4. data.zip +3 -0
  5. manifest.json +0 -0
.gitattributes ADDED
@@ -0,0 +1,60 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ *.7z filter=lfs diff=lfs merge=lfs -text
2
+ *.arrow filter=lfs diff=lfs merge=lfs -text
3
+ *.avro filter=lfs diff=lfs merge=lfs -text
4
+ *.bin filter=lfs diff=lfs merge=lfs -text
5
+ *.bz2 filter=lfs diff=lfs merge=lfs -text
6
+ *.ckpt filter=lfs diff=lfs merge=lfs -text
7
+ *.ftz filter=lfs diff=lfs merge=lfs -text
8
+ *.gz filter=lfs diff=lfs merge=lfs -text
9
+ *.h5 filter=lfs diff=lfs merge=lfs -text
10
+ *.joblib filter=lfs diff=lfs merge=lfs -text
11
+ *.lfs.* filter=lfs diff=lfs merge=lfs -text
12
+ *.lz4 filter=lfs diff=lfs merge=lfs -text
13
+ *.mds filter=lfs diff=lfs merge=lfs -text
14
+ *.mlmodel filter=lfs diff=lfs merge=lfs -text
15
+ *.model filter=lfs diff=lfs merge=lfs -text
16
+ *.msgpack filter=lfs diff=lfs merge=lfs -text
17
+ *.npy filter=lfs diff=lfs merge=lfs -text
18
+ *.npz filter=lfs diff=lfs merge=lfs -text
19
+ *.onnx filter=lfs diff=lfs merge=lfs -text
20
+ *.ot filter=lfs diff=lfs merge=lfs -text
21
+ *.parquet filter=lfs diff=lfs merge=lfs -text
22
+ *.pb filter=lfs diff=lfs merge=lfs -text
23
+ *.pickle filter=lfs diff=lfs merge=lfs -text
24
+ *.pkl filter=lfs diff=lfs merge=lfs -text
25
+ *.pt filter=lfs diff=lfs merge=lfs -text
26
+ *.pth filter=lfs diff=lfs merge=lfs -text
27
+ *.rar filter=lfs diff=lfs merge=lfs -text
28
+ *.safetensors filter=lfs diff=lfs merge=lfs -text
29
+ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
30
+ *.tar.* filter=lfs diff=lfs merge=lfs -text
31
+ *.tar filter=lfs diff=lfs merge=lfs -text
32
+ *.tflite filter=lfs diff=lfs merge=lfs -text
33
+ *.tgz filter=lfs diff=lfs merge=lfs -text
34
+ *.wasm filter=lfs diff=lfs merge=lfs -text
35
+ *.xz filter=lfs diff=lfs merge=lfs -text
36
+ *.zip filter=lfs diff=lfs merge=lfs -text
37
+ *.zst filter=lfs diff=lfs merge=lfs -text
38
+ *tfevents* filter=lfs diff=lfs merge=lfs -text
39
+ # Audio files - uncompressed
40
+ *.pcm filter=lfs diff=lfs merge=lfs -text
41
+ *.sam filter=lfs diff=lfs merge=lfs -text
42
+ *.raw filter=lfs diff=lfs merge=lfs -text
43
+ # Audio files - compressed
44
+ *.aac filter=lfs diff=lfs merge=lfs -text
45
+ *.flac filter=lfs diff=lfs merge=lfs -text
46
+ *.mp3 filter=lfs diff=lfs merge=lfs -text
47
+ *.ogg filter=lfs diff=lfs merge=lfs -text
48
+ *.wav filter=lfs diff=lfs merge=lfs -text
49
+ # Image files - uncompressed
50
+ *.bmp filter=lfs diff=lfs merge=lfs -text
51
+ *.gif filter=lfs diff=lfs merge=lfs -text
52
+ *.png filter=lfs diff=lfs merge=lfs -text
53
+ *.tiff filter=lfs diff=lfs merge=lfs -text
54
+ # Image files - compressed
55
+ *.jpg filter=lfs diff=lfs merge=lfs -text
56
+ *.jpeg filter=lfs diff=lfs merge=lfs -text
57
+ *.webp filter=lfs diff=lfs merge=lfs -text
58
+ # Video files - compressed
59
+ *.mp4 filter=lfs diff=lfs merge=lfs -text
60
+ *.webm filter=lfs diff=lfs merge=lfs -text
README.md ADDED
@@ -0,0 +1,93 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: other
3
+ license_name: upstream-terms
4
+ license_link: https://huggingface.co/datasets/YuXingyao/HoLa-BRep#sources-and-licensing
5
+ language:
6
+ - en
7
+ size_categories:
8
+ - 1K<n<10K
9
+ tags:
10
+ - cad
11
+ - brep
12
+ - 3d
13
+ - deepcad
14
+ - test-split
15
+ pretty_name: HoLa-BRep DeepCAD Test Set
16
+ ---
17
+
18
+ # HoLa-BRep: DeepCAD test set
19
+
20
+ This release contains the **original 2,424-object DeepCAD test split** used by the HoLa-BRep data interface, with historical geometry and multimodal condition assets. It is intended for evaluation and reproducibility of [HoLa: B-Rep Generation using a Holistic Latent Representation](https://arxiv.org/abs/2504.14257).
21
+
22
+ **Only the test split is included.** There are no training or validation samples, checkpoints, or light-field-distance (LFD) features. The original test membership is preserved.
23
+
24
+ ## Download and extract
25
+
26
+ Install the Hugging Face CLI if needed:
27
+
28
+ ```bash
29
+ pip install -U huggingface_hub
30
+ ```
31
+
32
+ From your HoLa-BRep project directory:
33
+
34
+ ```bash
35
+ hf download YuXingyao/HoLa-BRep \
36
+ data.zip manifest.json SHA256SUMS README.md \
37
+ --repo-type dataset --local-dir hola-test-download
38
+
39
+ (cd hola-test-download && sha256sum -c SHA256SUMS)
40
+ unzip hola-test-download/data.zip -d data
41
+ ```
42
+
43
+ The ZIP contains `organized_data/` and `data_index/` directly. Extracting with `-d data` produces the paths expected by the [HoLa-BRep repository](https://github.com/yilinliu77/HoLa-Brep):
44
+
45
+ ```text
46
+ data/
47
+ ├── data_index/
48
+ │ └── deduplicated_deepcad_testing_7_30.txt
49
+ └── organized_data/
50
+ ├── 00000093/
51
+ │ ├── data.npz
52
+ │ ├── img_feature_dinov2.npy
53
+ │ ├── imgs.npz
54
+ │ ├── normalized_shape.step
55
+ │ ├── pc.ply
56
+ │ ├── text.txt
57
+ │ └── text_feat.npy
58
+ └── ...
59
+ ```
60
+
61
+ There is **no `data_lfd_feat/` directory** in this release. Original LFD/novelty commands that need those features or training references are not supported by this package alone.
62
+
63
+ ## Files and layout
64
+
65
+ Each of the 2,424 IDs has seven files (16,968 object files in total). Their combined size before ZIP packaging is 10,533,747,354 bytes, approximately 10.53 GB / 9.81 GiB, excluding the split and release metadata.
66
+
67
+ | File | Contents |
68
+ | --- | --- |
69
+ | `data.npz` | Historical B-Rep arrays, including `sample_points_faces`, `sample_points_lines`, `face_adj`, `edge_face_connectivity`, and `zero_positions`. Objects have 7–30 faces. |
70
+ | `normalized_shape.step` | Historical normalized STEP geometry. |
71
+ | `imgs.npz` | RGB uint8 images at 224×224: 64 `svr_imgs`, 64 `sketch_imgs`, and 512 `mvr_imgs`. |
72
+ | `img_feature_dinov2.npy` | Float32 array `(640, 1024)`: SVR rows 0–63, sketch rows 64–127, then eight MVR camera groups of 64 rows. |
73
+ | `pc.ply` | 10,000 points with XYZ coordinates and normals. |
74
+ | `text.txt` | Text2CAD-derived descriptions associated with the CAD model. |
75
+ | `text_feat.npy` | Float32 array `(4, 1024)` containing precomputed text features. |
76
+
77
+ The 64-entry dimension follows the historical Euler augmentation enumeration, which includes repeated spatial rotations. It is not a set of 64 unique camera views. Within MVR, camera is the outer index and augmentation is the inner index.
78
+
79
+ `manifest.json` records every archive member's relative path, byte size and SHA256, plus the original ID order and archive information. `SHA256SUMS` covers the archive, manifest and this README.
80
+
81
+ ## Sources and licensing
82
+
83
+ This release preserves HoLa's original test membership from [DeepCAD](https://github.com/rundiwu/DeepCAD), together with historical HoLa preprocessing and condition assets. DeepCAD traces its CAD models to public Onshape documents linked by ABC. The historical text preparation pipeline uses annotations from [Text2CAD](https://huggingface.co/datasets/SadilKhan/Text2CAD). Please cite HoLa, DeepCAD and Text2CAD when using their assets.
84
+
85
+ Materials retain their applicable upstream terms; this packaging release does not relicense the underlying assets. The [HoLa source repository's license file](https://github.com/yilinliu77/HoLa-Brep/blob/8438eb328e01e3b54415e92370fac5dbec54a2df/LICENSE) contains GNU GPL Version 3. Text2CAD's official dataset card specifies **CC BY-NC-SA 4.0** for its annotations. Refer to the linked DeepCAD project for its data provenance and notices; its software license is not presented here as a separate license for all underlying CAD documents. The Hub metadata points to this section because the package contains materials from multiple upstream sources.
86
+
87
+ ## Release identity
88
+
89
+ - Release: `test-v1`.
90
+ - Test objects: **2,424**; training/validation objects included: **0**.
91
+ - Split file SHA256: `16352426a1878ee6836c3ddb306080a65313e92a5204a519e1386bdc59fc643a`.
92
+ - Historical loader reference: HoLa-BRep commit `8438eb328e01e3b54415e92370fac5dbec54a2df`.
93
+ - Paper: [HoLa: B-Rep Generation using a Holistic Latent Representation](https://arxiv.org/abs/2504.14257).
SHA256SUMS ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ 2b96707be7d6b750d3a5048a21a8fbf11f2c2d9dd8b8276c585043bbe32bb684 README.md
2
+ 3d5816e0e083d02d8f5ad3a79ada9466a6fe20e30c5d575a56bb435f2f423ee5 data.zip
3
+ 3a6ce96f112b7e583cc9e5ed36edff71abd45bacd15c781fa336e30c88bb9b86 manifest.json
data.zip ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3d5816e0e083d02d8f5ad3a79ada9466a6fe20e30c5d575a56bb435f2f423ee5
3
+ size 9044182223
manifest.json ADDED
The diff for this file is too large to render. See raw diff