Add feature-extraction task category and usage information

#2
by nielsr HF Staff - opened
Files changed (1) hide show
  1. README.md +26 -4
README.md CHANGED
@@ -1,5 +1,7 @@
1
  ---
2
  license: mit
 
 
3
  viewer: false
4
  tags:
5
  - weight-space-learning
@@ -11,10 +13,29 @@ tags:
11
 
12
  [![paper](https://img.shields.io/badge/arxiv-paper-darkred?logo=arxiv)](https://arxiv.org/abs/2502.09623)
13
  [![code](https://img.shields.io/badge/github-code-blue?logo=github)](https://github.com/CVLAB-Unibo/gmnerf)
 
14
  [![models](https://img.shields.io/badge/huggingface-models-plum?logo=huggingface)](https://huggingface.co/frallebini/gmnerf)
15
 
16
  ![teaser](https://cvlab-unibo.github.io/gmnerf/static/images/teaser.svg)
17
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
18
  ## NeRF weights
19
 
20
  Main dataset structure:
@@ -114,15 +135,15 @@ Main dataset structure:
114
  └── *.h5
115
  ```
116
  where `model`s are:
117
- - `l_con`, aka \\(\mathcal{L}_\text{C}\\)
118
- - `l_rec`, aka \\(\mathcal{L}_\text{R}\\)
119
- - `l_rec_con`, aka \\(\mathcal{L}_\text{R+C}\\)
120
 
121
  Unseen architectures (`emb/model/shapenet/hash_unseen`, `emb/model/shapenet/mlp_unseen`, and `emb/model/shapenet/triplane_unseen`) and Objaverse NeRFs (`emb/model/objaverse`) have analogous directory structures.
122
 
123
  ## Language data
124
 
125
- The `language` directory contains \\(\mathcal{L}_\text{R+C}\\) embeddings (i.e. those found in `emb/l_rec_con/shapenet`) paired with textual annotations from the [ShapeNeRF-Text dataset](https://huggingface.co/datasets/andreamaduzzi/ShapeNeRF-Text/tree/main). This directory structure allows running the [official LLaNA code](https://github.com/CVLAB-Unibo/LLaNA) without any additional preprocessing.
126
 
127
  ## Cite us
128
 
@@ -134,4 +155,5 @@ If you find our work useful, please cite us:
134
  author = {Ballerini, Francesco and Zama Ramirez, Pierluigi and Di Stefano, Luigi and Salti, Samuele},
135
  booktitle = {The Fourteenth International Conference on Learning Representations},
136
  year = {2026}
 
137
  ```
 
1
  ---
2
  license: mit
3
+ task_categories:
4
+ - feature-extraction
5
  viewer: false
6
  tags:
7
  - weight-space-learning
 
13
 
14
  [![paper](https://img.shields.io/badge/arxiv-paper-darkred?logo=arxiv)](https://arxiv.org/abs/2502.09623)
15
  [![code](https://img.shields.io/badge/github-code-blue?logo=github)](https://github.com/CVLAB-Unibo/gmnerf)
16
+ [![project](https://img.shields.io/badge/project-page-green)](https://cvlab-unibo.github.io/gmnerf)
17
  [![models](https://img.shields.io/badge/huggingface-models-plum?logo=huggingface)](https://huggingface.co/frallebini/gmnerf)
18
 
19
  ![teaser](https://cvlab-unibo.github.io/gmnerf/static/images/teaser.svg)
20
 
21
+ This repository contains the dataset for the paper [Weight Space Representation Learning on Diverse NeRF Architectures](https://huggingface.co/papers/2502.09623). The framework is capable of processing NeRFs with diverse architectures (MLPs, tri-planes, and hash tables) by training a Graph Meta-Network to obtain architecture-agnostic latent spaces.
22
+
23
+ ## Usage
24
+
25
+ You can use the official scripts provided in the [GitHub repository](https://github.com/CVLAB-Unibo/gmnerf) to interact with the data.
26
+
27
+ ### Graph computation
28
+ To compute the graphs of NeRFs (e.g., test set of the MLP architecture):
29
+ ```bash
30
+ python export_graphs.py --data-root ./data --dataset shapenet --arch mlp --split test
31
+ ```
32
+
33
+ ### Embedding computation
34
+ To compute embeddings produced by the trained $\mathcal{L}_{\text{R+C}}$ encoder:
35
+ ```bash
36
+ python export_embs.py --ckpt_name l_rec_con --data.root ./data --dataset shapenet --arch mlp --split test
37
+ ```
38
+
39
  ## NeRF weights
40
 
41
  Main dataset structure:
 
135
  └── *.h5
136
  ```
137
  where `model`s are:
138
+ - `l_con`, aka $\mathcal{L}_\text{C}$
139
+ - `l_rec`, aka $\mathcal{L}_\text{R}$
140
+ - `l_rec_con`, aka $\mathcal{L}_\text{R+C}$
141
 
142
  Unseen architectures (`emb/model/shapenet/hash_unseen`, `emb/model/shapenet/mlp_unseen`, and `emb/model/shapenet/triplane_unseen`) and Objaverse NeRFs (`emb/model/objaverse`) have analogous directory structures.
143
 
144
  ## Language data
145
 
146
+ The `language` directory contains $\mathcal{L}_\text{R+C}$ embeddings (i.e. those found in `emb/l_rec_con/shapenet`) paired with textual annotations from the [ShapeNeRF-Text dataset](https://huggingface.co/datasets/andreamaduzzi/ShapeNeRF-Text/tree/main). This directory structure allows running the [official LLaNA code](https://github.com/CVLAB-Unibo/LLaNA) without any additional preprocessing.
147
 
148
  ## Cite us
149
 
 
155
  author = {Ballerini, Francesco and Zama Ramirez, Pierluigi and Di Stefano, Luigi and Salti, Samuele},
156
  booktitle = {The Fourteenth International Conference on Learning Representations},
157
  year = {2026}
158
+ }
159
  ```