Improve dataset card: Add paper, project page, code, task categories, tags, and sample usage
#4
by nielsr HF Staff - opened
README.md
CHANGED
|
@@ -1,5 +1,86 @@
|
|
| 1 |
-
---
|
| 2 |
-
license: apache-2.0
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: apache-2.0
|
| 3 |
+
task_categories:
|
| 4 |
+
- text-to-video
|
| 5 |
+
- text-to-3d
|
| 6 |
+
tags:
|
| 7 |
+
- autonomous-driving
|
| 8 |
+
- video-generation
|
| 9 |
+
- 3d-reconstruction
|
| 10 |
+
- diffusion-models
|
| 11 |
+
- lidar
|
| 12 |
+
---
|
| 13 |
+
|
| 14 |
+
# OpenDWM Data Packages
|
| 15 |
+
|
| 16 |
+
This repository contains data packages used by the [Open Driving World Models (OpenDWM)](https://github.com/SenseTime-FVG/OpenDWM) project. The OpenDWM initiative focuses on autonomous driving video generation, offering a high-quality, controllable tool for generating multi-view videos and 4D reconstructions.
|
| 17 |
+
|
| 18 |
+
The data packages support research presented in papers such as [CVD-STORM: Cross-View Video Diffusion with Spatial-Temporal Reconstruction Model for Autonomous Driving](https://huggingface.co/papers/2510.07944). This work proposes CVD-STORM, a cross-view video diffusion model leveraging a spatial-temporal reconstruction Variational Autoencoder (VAE) to generate long-term, multi-view videos with 4D reconstruction capabilities under various control inputs. This is crucial for enabling generative models in world modeling for environment simulation and future state prediction in autonomous driving.
|
| 19 |
+
|
| 20 |
+
**Paper**: [CVD-STORM: Cross-View Video Diffusion with Spatial-Temporal Reconstruction Model for Autonomous Driving](https://huggingface.co/papers/2510.07944)
|
| 21 |
+
**Project Page**: [https://sensetime-fvg.github.io/CVD-STORM/](https://sensetime-fvg.github.io/CVD-STORM/)
|
| 22 |
+
**Code**: [https://github.com/SenseTime-FVG/OpenDWM](https://github.com/SenseTime-FVG/OpenDWM)
|
| 23 |
+
|
| 24 |
+
## Data Packages
|
| 25 |
+
|
| 26 |
+
These data packages are essential resources for training and running examples within the OpenDWM project, particularly for layout-conditioned video and LiDAR generation tasks. Examples of such packages, referenced in the OpenDWM GitHub repository, include:
|
| 27 |
+
|
| 28 |
+
* [`nuscenes_scene-0627_package.zip`](https://huggingface.co/datasets/wzhgba/opendwm-data/resolve/main/nuscenes_scene-0627_package.zip?download=true): Layout resources based on the nuScenes dataset, used for video generation examples.
|
| 29 |
+
* [`carla_town04_package.zip`](https://huggingface.co/datasets/wzhgba/opendwm-data/resolve/main/carla_town04_package.zip?download=true): Layout resources based on the Carla simulation environment, also used for video generation examples.
|
| 30 |
+
* [`nuscenes_scene-0627_lidar_package.zip`](https://huggingface.co/datasets/wzhgba/opendwm-data/resolve/main/nuscenes_scene-0627_lidar_package.zip?download=true): LiDAR data package for LiDAR generation examples.
|
| 31 |
+
|
| 32 |
+
## Sample Usage
|
| 33 |
+
|
| 34 |
+
This section provides instructions to set up the OpenDWM environment and run examples for generating driving videos and LiDAR data using the models and code from the [OpenDWM GitHub repository](https://github.com/SenseTime-FVG/OpenDWM).
|
| 35 |
+
|
| 36 |
+
### 1. Setup
|
| 37 |
+
|
| 38 |
+
First, ensure you have PyTorch (>= 2.5) installed. Then, clone the OpenDWM repository and install its dependencies:
|
| 39 |
+
|
| 40 |
+
```bash
|
| 41 |
+
python -m pip install torch==2.5.1 torchvision==0.20.1 # Or a compatible PyTorch version
|
| 42 |
+
cd OpenDWM
|
| 43 |
+
git submodule update --init --recursive
|
| 44 |
+
python -m pip install -r requirements.txt
|
| 45 |
+
```
|
| 46 |
+
|
| 47 |
+
### 2. T2I, T2V generation with CTSD pipeline
|
| 48 |
+
|
| 49 |
+
Download a base model (for VAE, text encoders, scheduler config) and a driving generation model checkpoint (e.g., from [wzhgba/opendwm-models](https://huggingface.co/wzhgba/opendwm-models)). Edit the [path](https://github.com/SenseTime-FVG/OpenDWM/blob/main/examples/ctsd_35_6views_image_generation.json#L102) and [prompts](https://github.com/SenseTime-FVG/OpenDWM/blob/main/examples/ctsd_35_6views_image_generation.json#L221) in your JSON config file (e.g., `examples/ctsd_35_6views_image_generation.json`), then run this command:
|
| 50 |
+
|
| 51 |
+
```bash
|
| 52 |
+
PYTHONPATH=src python examples/ctsd_generation_example.py -c examples/ctsd_35_6views_image_generation.json -o output/ctsd_35_6views_image_generation
|
| 53 |
+
```
|
| 54 |
+
|
| 55 |
+
### 3. Layout conditioned T2V generation with CTSD pipeline
|
| 56 |
+
|
| 57 |
+
1. Download a base model and driving generation model checkpoint, and edit the [path](https://github.com/SenseTime-FVG/OpenDWM/blob/main/examples/ctsd_35_6views_video_generation_with_layout.json#L156) in your JSON config file.
|
| 58 |
+
2. Download a layout resource package (e.g., [`nuscenes_scene-0627_package.zip`](https://huggingface.co/datasets/wzhgba/opendwm-data/resolve/main/nuscenes_scene-0627_package.zip?download=true) from this dataset, or [`carla_town04_package`](https://huggingface.co/datasets/wzhgba/opendwm-data/resolve/main/carla_town04_package.zip?download=true)) and unzip it to a specified `{RESOURCE_PATH}`. Then, edit the meta [path](https://github.com/SenseTime-FVG/OpenDWM/blob/main/examples/ctsd_35_6views_video_generation_with_layout.json#L162) in the JSON config as `{RESOURCE_PATH}/data.json`.
|
| 59 |
+
3. Run this command to generate the video:
|
| 60 |
+
|
| 61 |
+
```bash
|
| 62 |
+
PYTHONPATH=src python src/dwm/preview.py -c examples/ctsd_35_6views_video_generation_with_layout.json -o output/ctsd_35_6views_video_generation_with_layout
|
| 63 |
+
```
|
| 64 |
+
|
| 65 |
+
### 4. Layout conditioned LiDAR generation with Diffusion pipeline
|
| 66 |
+
|
| 67 |
+
1. Download LiDAR VAE and LiDAR Diffusion generation model checkpoints (e.g., from [wzhgba/opendwm-models](https://huggingface.co/wzhgba/opendwm-models)).
|
| 68 |
+
2. Prepare the dataset (e.g., [`nuscenes_scene-0627_lidar_package.zip`](https://huggingface.co/datasets/wzhgba/opendwm-data/resolve/main/nuscenes_scene-0627_lidar_package.zip?download=true) from this dataset).
|
| 69 |
+
3. Modify the values of `json_file`, `autoencoder_ckpt_path`, and `diffusion_model_ckpt_path` to the paths of your dataset and checkpoints in the json file `examples/lidar_diffusion_temporal_preview.json`.
|
| 70 |
+
4. Run the following command to generate LiDAR data according to the reference frame autoregressively:
|
| 71 |
+
|
| 72 |
+
```bash
|
| 73 |
+
PYTHONPATH=src python3 -m torch.distributed.run --nnodes 1 --nproc-per-node 2 --node-rank 0 --master-addr 127.0.0.1 --master-port 29000 src/dwm/preview.py -c examples/lidar_diffusion_temporal_preview.json -o output/temporal_diffusion
|
| 74 |
+
```
|
| 75 |
+
|
| 76 |
+
## Citation
|
| 77 |
+
|
| 78 |
+
If you find the OpenDWM project useful in your research or refer to the provided baseline results, please star :star: its repository and consider citing:
|
| 79 |
+
|
| 80 |
+
```bibtex
|
| 81 |
+
@misc{opendwm,
|
| 82 |
+
Year = {2025},
|
| 83 |
+
Note = {https://github.com/SenseTime-FVG/OpenDWM},
|
| 84 |
+
Title = {OpenDWM: Open Driving World Models}
|
| 85 |
+
}
|
| 86 |
+
```
|