Initial dataset card for Voxel-GS
#1
by
nielsr HF Staff - opened
README.md
ADDED
|
@@ -0,0 +1,92 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
task_categories:
|
| 3 |
+
- OTHER
|
| 4 |
+
tags:
|
| 5 |
+
- gaussian-splatting
|
| 6 |
+
- 3d-compression
|
| 7 |
+
---
|
| 8 |
+
|
| 9 |
+
# Voxel-GS Dataset
|
| 10 |
+
|
| 11 |
+
This repository contains datasets and resources related to the paper [Voxel-GS: Quantized Scaffold Gaussian Splatting Compression with Run-Length Coding](https://huggingface.co/papers/2512.17528).
|
| 12 |
+
|
| 13 |
+
Voxel-GS proposes a simple yet highly effective framework for compressing substantial Gaussian splatting format point clouds. It achieves competitive performance using a lightweight rate proxy and run-length coding, departing from complex neural entropy models.
|
| 14 |
+
|
| 15 |
+
**Paper:** [https://huggingface.co/papers/2512.17528](https://huggingface.co/papers/2512.17528)
|
| 16 |
+
**Code:** [https://github.com/zb12138/VoxelGS](https://github.com/zb12138/VoxelGS)
|
| 17 |
+
|
| 18 |
+
### Dataset Structure
|
| 19 |
+
The `voxelGS/data` directory, as described in the associated GitHub repository, contains various 3D scene datasets structured as follows:
|
| 20 |
+
|
| 21 |
+
```
|
| 22 |
+
voxelGS/data
|
| 23 |
+
├── DeepBlending
|
| 24 |
+
├── drjohnson
|
| 25 |
+
└── playroom
|
| 26 |
+
├── MipNerf360
|
| 27 |
+
├── bicycle
|
| 28 |
+
├── bonsai
|
| 29 |
+
├── counter
|
| 30 |
+
├── flowers
|
| 31 |
+
├── garden
|
| 32 |
+
├── kitchen
|
| 33 |
+
├── room
|
| 34 |
+
├── stump
|
| 35 |
+
└── treehill
|
| 36 |
+
├── Nerf_Synthetic
|
| 37 |
+
├── chair
|
| 38 |
+
├── drums
|
| 39 |
+
├── ficus
|
| 40 |
+
├── hotdog
|
| 41 |
+
├── lego
|
| 42 |
+
├── materials
|
| 43 |
+
├── mic
|
| 44 |
+
└── ship
|
| 45 |
+
└── T2T
|
| 46 |
+
├── train
|
| 47 |
+
└── truck
|
| 48 |
+
```
|
| 49 |
+
|
| 50 |
+
### Sample Usage
|
| 51 |
+
|
| 52 |
+
The following sections provide instructions for setting up the environment and using the `Train.py` and `Coder.py` scripts from the [GitHub repository](https://github.com/zb12138/VoxelGS) to interact with Voxel-GS.
|
| 53 |
+
|
| 54 |
+
#### Environment Setup
|
| 55 |
+
To set up the environment with cuda 11.7 and python 3.8:
|
| 56 |
+
|
| 57 |
+
```bash
|
| 58 |
+
conda install pytorch==1.13.1 torchvision==0.14.1 torchaudio==0.13.1 pytorch-cuda=11.7 -c pytorch -c nvidia
|
| 59 |
+
pip install omegaconf,loguru,open3d==0.19.0,opencv-python,plyfile,tensorboard,termcolor,torch_scatter,jaxtyping,einops,lpips
|
| 60 |
+
pip install models/submodules/* # from Scaffold-GS
|
| 61 |
+
```
|
| 62 |
+
|
| 63 |
+
#### Training
|
| 64 |
+
You can train the model using `Train.py`. After training, `stat_log` will generate statistical information and save the results in the output folder.
|
| 65 |
+
|
| 66 |
+
```bash
|
| 67 |
+
python Train.py
|
| 68 |
+
```
|
| 69 |
+
|
| 70 |
+
Alternatively, you can [download pre-compressed binary files](https://huggingface.co/datasets/zb1213899/VoxelGS_BIN/tree/main) and decompress them directly:
|
| 71 |
+
|
| 72 |
+
```bash
|
| 73 |
+
python Coder.py -bin Results/BIN/DeepBlending/playroom/gsbin -eval
|
| 74 |
+
```
|
| 75 |
+
|
| 76 |
+
#### Encoding, Decoding, and Evaluation
|
| 77 |
+
The `Coder.py` script can be used for encoding PLY files, decoding binary files, and for visualization and evaluation.
|
| 78 |
+
|
| 79 |
+
1. **Encode** a PLY file:
|
| 80 |
+
```bash
|
| 81 |
+
python Coder.py -ply output/base/Nerf_Synthetic/hotdog/point_cloud/point_cloud_30000.quantized.ply -encode
|
| 82 |
+
```
|
| 83 |
+
|
| 84 |
+
2. **Decode** a binary (gsbin) file:
|
| 85 |
+
```bash
|
| 86 |
+
python Coder.py -bin output/base/Nerf_Synthetic/hotdog/gsbin
|
| 87 |
+
```
|
| 88 |
+
|
| 89 |
+
3. **Visualize and Evaluate** a binary (gsbin) file:
|
| 90 |
+
```bash
|
| 91 |
+
python Coder.py -bin output/base/Nerf_Synthetic/hotdog/gsbin -show -eval
|
| 92 |
+
```
|