nexuslrf commited on
Commit
55c51fb
·
verified ·
1 Parent(s): c407959

Upload folder using huggingface_hub

Browse files
.gitattributes CHANGED
@@ -33,3 +33,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
 
 
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
36
+ asset/teaser.jpg filter=lfs diff=lfs merge=lfs -text
README.md ADDED
@@ -0,0 +1,24 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: other
3
+ library_name: DiffusionRenderer
4
+ arxiv: 2501.18590
5
+ tags:
6
+ - nvidia
7
+ - rendering
8
+ - diffusion
9
+ pipeline_tag: rendering
10
+ ---
11
+
12
+ # DiffusionRenderer: Neural Inverse and Forward Rendering with Video Diffusion Models
13
+
14
+ ![img](asset/teaser.jpg)
15
+
16
+ [Ruofan Liang](https://www.cs.toronto.edu/~ruofan/)\*, [Zan Gojcic](https://zgojcic.github.io/), [Huan Ling](https://www.cs.toronto.edu/~linghuan/), [Jacob Munkberg](https://research.nvidia.com/person/jacob-munkberg), [Jon Hasselgren](https://research.nvidia.com/person/jon-hasselgren), [Zhi-Hao Lin](https://chih-hao-lin.github.io/), [Jun Gao](https://www.cs.toronto.edu/~jungao/), [Alexander Keller](https://research.nvidia.com/person/alex-keller), [Nandita Vijaykumar](https://www.cs.toronto.edu/~nandita/), [Sanja Fidler](https://www.cs.toronto.edu/~fidler/), [Zian Wang](https://www.cs.toronto.edu/~zianwang/)\*
17
+
18
+ \* indicates equal contribution
19
+
20
+ **[Paper](https://arxiv.org/abs/2501.18590) | [Project Page](https://research.nvidia.com/labs/toronto-ai/DiffusionRenderer/)**
21
+
22
+ **Overview.**
23
+ DiffusionRenderer is a general-purpose framework that achieves high-quality geometry and material estimation from real-world videos (inverse rendering), and photorealistic image/video synthesis from G-buffers and lighting (forward rendering). Both the inverse and forward renderers are video diffusion models trained on a combination of curated synthetic datasets and auto-labeled real-world videos.
24
+ Unlike classic PBR, which relies on precise geometry and path tracing, DiffusionRenderer provides a data-driven approximation of light transport through video GenAI models. It synthesizes realistic lighting effects without explicit simulation, complementing PBR for real-world applications such as relighting and material editing, especially when explicit geometry is inaccessible or inaccurate.
asset/teaser.jpg ADDED

Git LFS Details

  • SHA256: 51fd54a67fb473680d4163b7b737bcedc998cd69c8e90fcf3b9262195d25a6bf
  • Pointer size: 131 Bytes
  • Size of remote file: 125 kB
model_index.json ADDED
@@ -0,0 +1,24 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_class_name": "RGBXVideoDiffusionPipeline",
3
+ "_diffusers_version": "0.28.0",
4
+ "feature_extractor": [
5
+ null,
6
+ null
7
+ ],
8
+ "image_encoder": [
9
+ null,
10
+ null
11
+ ],
12
+ "scheduler": [
13
+ "diffusers",
14
+ "EulerDiscreteScheduler"
15
+ ],
16
+ "unet": [
17
+ "src.models.custom_unet_st",
18
+ "UNetCustomSpatioTemporalConditionModel"
19
+ ],
20
+ "vae": [
21
+ "diffusers",
22
+ "AutoencoderKLTemporalDecoder"
23
+ ]
24
+ }
scheduler/scheduler_config.json ADDED
@@ -0,0 +1,22 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_class_name": "EulerDiscreteScheduler",
3
+ "_diffusers_version": "0.28.0",
4
+ "beta_end": 0.012,
5
+ "beta_schedule": "scaled_linear",
6
+ "beta_start": 0.00085,
7
+ "clip_sample": false,
8
+ "final_sigmas_type": "zero",
9
+ "interpolation_type": "linear",
10
+ "num_train_timesteps": 1000,
11
+ "prediction_type": "v_prediction",
12
+ "rescale_betas_zero_snr": false,
13
+ "set_alpha_to_one": false,
14
+ "sigma_max": 700.0,
15
+ "sigma_min": 0.002,
16
+ "skip_prk_steps": true,
17
+ "steps_offset": 1,
18
+ "timestep_spacing": "trailing",
19
+ "timestep_type": "continuous",
20
+ "trained_betas": null,
21
+ "use_karras_sigmas": true
22
+ }
unet/config.json ADDED
@@ -0,0 +1,40 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_class_name": "UNetCustomSpatioTemporalConditionModel",
3
+ "_diffusers_version": "0.28.0",
4
+ "_name_or_path": "../logs/checkpoint-38000",
5
+ "addition_time_embed_dim": 256,
6
+ "block_out_channels": [
7
+ 320,
8
+ 640,
9
+ 1280,
10
+ 1280
11
+ ],
12
+ "context_embedding_type": "clip",
13
+ "context_vocab_size": 6,
14
+ "cross_attention_dim": 1024,
15
+ "down_block_types": [
16
+ "CrossAttnDownBlockSpatioTemporal",
17
+ "CrossAttnDownBlockSpatioTemporal",
18
+ "CrossAttnDownBlockSpatioTemporal",
19
+ "DownBlockSpatioTemporal"
20
+ ],
21
+ "in_channels": 8,
22
+ "layers_per_block": 2,
23
+ "num_attention_heads": [
24
+ 5,
25
+ 10,
26
+ 20,
27
+ 20
28
+ ],
29
+ "num_frames": 14,
30
+ "out_channels": 4,
31
+ "projection_class_embeddings_input_dim": 768,
32
+ "sample_size": 96,
33
+ "transformer_layers_per_block": 1,
34
+ "up_block_types": [
35
+ "UpBlockSpatioTemporal",
36
+ "CrossAttnUpBlockSpatioTemporal",
37
+ "CrossAttnUpBlockSpatioTemporal",
38
+ "CrossAttnUpBlockSpatioTemporal"
39
+ ]
40
+ }
unet/diffusion_pytorch_model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f9552d85fcac9d32ef643ba9f8ed663386706a3797162c1e844e26b19983ee84
3
+ size 6098707136
vae/config.json ADDED
@@ -0,0 +1,24 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_class_name": "AutoencoderKLTemporalDecoder",
3
+ "_diffusers_version": "0.28.0",
4
+ "_name_or_path": "/lustre/fsw/portfolios/nvr/projects/nvr_torontoai_holodeck/huggingface_home/hub/models--stabilityai--stable-video-diffusion-img2vid/snapshots/9cf024d5bfa8f56622af86c884f26a52f6676f2e/",
5
+ "block_out_channels": [
6
+ 128,
7
+ 256,
8
+ 512,
9
+ 512
10
+ ],
11
+ "down_block_types": [
12
+ "DownEncoderBlock2D",
13
+ "DownEncoderBlock2D",
14
+ "DownEncoderBlock2D",
15
+ "DownEncoderBlock2D"
16
+ ],
17
+ "force_upcast": true,
18
+ "in_channels": 3,
19
+ "latent_channels": 4,
20
+ "layers_per_block": 2,
21
+ "out_channels": 3,
22
+ "sample_size": 768,
23
+ "scaling_factor": 0.18215
24
+ }
vae/diffusion_pytorch_model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:af602cd0eb4ad6086ec94fbf1438dfb1be5ec9ac03fd0215640854e90d6463a3
3
+ size 195531910