[WIP] Upload folder using huggingface_hub (multi-commit e1602c6949cf91d4856ee781547e9851fa581170b58e07c610ba47cb1be1c7fd)

#2
This view is limited to 50 files because it contains too many changes.  See the raw diff here.
Files changed (50) hide show
  1. .gitignore +0 -189
  2. README.md +1 -11
  3. ckpts/random_states_0.pkl +0 -3
  4. ckpts/scaler.pt +0 -3
  5. ckpts/scheduler.bin +0 -3
  6. ckpts/unet/config.json +0 -67
  7. ckpts/unet/diffusion_pytorch_model.bin +0 -3
  8. configs/mvdiffusion-joint-ortho-6views.yaml +0 -42
  9. configs/mvdiffusion-joint-plus.yaml +0 -50
  10. example_images/000-astronaut.jpg +0 -0
  11. example_images/000-cat.jpg +0 -0
  12. example_images/000-character.jpg +0 -0
  13. example_images/000-firefox.jpg +0 -0
  14. example_images/000-monkey.jpg +0 -0
  15. example_images/14_10_29_489_Tiger_1__1.png +0 -0
  16. example_images/American_PitBull_Terrier.png +0 -0
  17. example_images/Baby_Elephant.png +0 -0
  18. example_images/Camel_600.png +0 -0
  19. example_images/Galapagos_Turtle.png +0 -0
  20. example_images/Koala.png +0 -0
  21. example_images/Rabbit.png +0 -0
  22. example_images/bear.png +0 -0
  23. example_images/blue_bird.png +0 -0
  24. example_images/blue_dragon2.png +0 -0
  25. example_images/box.png +0 -0
  26. example_images/bread.png +0 -0
  27. example_images/cartoon_dinosaur.png +0 -0
  28. example_images/cat_head.png +0 -0
  29. example_images/chair_wood.jpg +0 -0
  30. example_images/color_fox.png +0 -0
  31. example_images/cute_monkey.png +0 -0
  32. example_images/dog.png +0 -0
  33. example_images/dragon2.png +0 -0
  34. example_images/duola.png +0 -0
  35. example_images/fox.png +0 -0
  36. example_images/gelute.png +0 -0
  37. example_images/generated_1715763329_frame0.png +0 -0
  38. example_images/haimianbaobao.png +0 -0
  39. example_images/hair-11-3d-model-obj-mtl-stl-ztl-zbp.png +0 -0
  40. example_images/halloween.png +0 -0
  41. example_images/happy-british-bulldog-head-3d-model-obj-stl.png +0 -0
  42. example_images/head.png +0 -0
  43. example_images/jelly.png +0 -0
  44. example_images/kettle.png +0 -0
  45. example_images/kunkun.png +0 -0
  46. example_images/lion.png +0 -0
  47. example_images/man-head2.jpeg +0 -0
  48. example_images/monkey.png +0 -0
  49. example_images/mushroom_teapot.jpg +0 -0
  50. example_images/owl.png +0 -0
.gitignore DELETED
@@ -1,189 +0,0 @@
1
- # Initially taken from Github's Python gitignore file
2
-
3
- # Byte-compiled / optimized / DLL files
4
- __pycache__/
5
- *.py[cod]
6
- *$py.class
7
-
8
- # C extensions
9
- *.so
10
-
11
- # tests and logs
12
- tests/fixtures/cached_*_text.txt
13
- logs/
14
- lightning_logs/
15
- lang_code_data/
16
-
17
- # Distribution / packaging
18
- .Python
19
- build/
20
- develop-eggs/
21
- dist/
22
- downloads/
23
- eggs/
24
- .eggs/
25
- lib/
26
- lib64/
27
- parts/
28
- sdist/
29
- var/
30
- wheels/
31
- *.egg-info/
32
- .installed.cfg
33
- *.egg
34
- MANIFEST
35
-
36
- # PyInstaller
37
- # Usually these files are written by a python script from a template
38
- # before PyInstaller builds the exe, so as to inject date/other infos into it.
39
- *.manifest
40
- *.spec
41
-
42
- # Installer logs
43
- pip-log.txt
44
- pip-delete-this-directory.txt
45
-
46
- # Unit test / coverage reports
47
- htmlcov/
48
- .tox/
49
- .nox/
50
- .coverage
51
- .coverage.*
52
- .cache
53
- nosetests.xml
54
- coverage.xml
55
- *.cover
56
- .hypothesis/
57
- .pytest_cache/
58
-
59
- # Translations
60
- *.mo
61
- *.pot
62
-
63
- # Django stuff:
64
- *.log
65
- local_settings.py
66
- db.sqlite3
67
-
68
- # Flask stuff:
69
- instance/
70
- .webassets-cache
71
-
72
- # Scrapy stuff:
73
- .scrapy
74
-
75
- # Sphinx documentation
76
- docs/_build/
77
-
78
- # PyBuilder
79
- target/
80
-
81
- # Jupyter Notebook
82
- .ipynb_checkpoints
83
-
84
- # IPython
85
- profile_default/
86
- ipython_config.py
87
-
88
- # pyenv
89
- .python-version
90
-
91
- # celery beat schedule file
92
- celerybeat-schedule
93
-
94
- # SageMath parsed files
95
- *.sage.py
96
-
97
- # Environments
98
- .env
99
- .venv
100
- env/
101
- venv/
102
- ENV/
103
- env.bak/
104
- venv.bak/
105
-
106
- # Spyder project settings
107
- .spyderproject
108
- .spyproject
109
-
110
- # Rope project settings
111
- .ropeproject
112
-
113
- # mkdocs documentation
114
- /site
115
-
116
- # mypy
117
- .mypy_cache/
118
- .dmypy.json
119
- dmypy.json
120
-
121
- # Pyre type checker
122
- .pyre/
123
-
124
- # vscode
125
- .vs
126
- .vscode
127
-
128
- # Pycharm
129
- .idea
130
-
131
- # TF code
132
- tensorflow_code
133
-
134
- # Models
135
- proc_data
136
-
137
- # examples
138
- runs
139
- /runs_old
140
- /wandb
141
- /examples/runs
142
- /examples/**/*.args
143
- /examples/rag/sweep
144
-
145
- # data
146
- /data
147
- serialization_dir
148
-
149
- # emacs
150
- *.*~
151
- debug.env
152
-
153
- # vim
154
- .*.swp
155
-
156
- #ctags
157
- tags
158
-
159
- # pre-commit
160
- .pre-commit*
161
-
162
- # .lock
163
- *.lock
164
-
165
- # DS_Store (MacOS)
166
- .DS_Store
167
- # RL pipelines may produce mp4 outputs
168
- *.mp4
169
-
170
- # dependencies
171
- /transformers
172
-
173
- # ruff
174
- .ruff_cache
175
-
176
- # ckpts
177
- *.ckpt
178
-
179
- outputs/*
180
-
181
- NeuS/exp/*
182
- NeuS/test_scenes/*
183
- NeuS/mesh2tex/*
184
- neus_configs
185
- vast/*
186
- render_results
187
- experiments/*
188
- neus/*
189
- ckpts/*
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
README.md CHANGED
@@ -1,13 +1,3 @@
1
  ---
2
- title: Wonder3D
3
- emoji: 🚀
4
- colorFrom: indigo
5
- colorTo: pink
6
- sdk: gradio
7
- sdk_version: 4.42.0
8
- app_file: gradio_app.py
9
- pinned: false
10
- license: agpl-3.0
11
  ---
12
-
13
- Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
 
1
  ---
2
+ license: cc-by-nc-sa-4.0
 
 
 
 
 
 
 
 
3
  ---
 
 
ckpts/random_states_0.pkl DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:0b2bff2cafd1c4c3f242e8ea15db5d00b5d7beb3774a43fba414a673ccbfa4a4
3
- size 21579
 
 
 
 
ckpts/scaler.pt DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:c20e680f2df4327c94842ee1a266b2f31860a1deac1a3fcffb91468b9e106df5
3
- size 559
 
 
 
 
ckpts/scheduler.bin DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:c043895a7a3520ba971f376e41cfc83f5de26523964c7166e1e4f67ffacd4c1e
3
- size 623
 
 
 
 
ckpts/unet/config.json DELETED
@@ -1,67 +0,0 @@
1
- {
2
- "_class_name": "UNetMV2DConditionModel",
3
- "_diffusers_version": "0.19.3",
4
- "_name_or_path": "lambdalabs/sd-image-variations-diffusers",
5
- "act_fn": "silu",
6
- "addition_embed_type": null,
7
- "addition_embed_type_num_heads": 64,
8
- "addition_time_embed_dim": null,
9
- "attention_head_dim": 8,
10
- "block_out_channels": [
11
- 320,
12
- 640,
13
- 1280,
14
- 1280
15
- ],
16
- "center_input_sample": false,
17
- "class_embed_type": "projection",
18
- "class_embeddings_concat": false,
19
- "conv_in_kernel": 3,
20
- "conv_out_kernel": 3,
21
- "cross_attention_dim": 768,
22
- "cross_attention_norm": null,
23
- "down_block_types": [
24
- "CrossAttnDownBlockMV2D",
25
- "CrossAttnDownBlockMV2D",
26
- "CrossAttnDownBlockMV2D",
27
- "DownBlock2D"
28
- ],
29
- "downsample_padding": 1,
30
- "dual_cross_attention": false,
31
- "encoder_hid_dim": null,
32
- "encoder_hid_dim_type": null,
33
- "flip_sin_to_cos": true,
34
- "freq_shift": 0,
35
- "in_channels": 8,
36
- "joint_attention": false,
37
- "layers_per_block": 2,
38
- "mid_block_only_cross_attention": null,
39
- "mid_block_scale_factor": 1,
40
- "mid_block_type": "UNetMidBlockMV2DCrossAttn",
41
- "norm_eps": 1e-05,
42
- "norm_num_groups": 32,
43
- "num_attention_heads": null,
44
- "num_class_embeds": null,
45
- "num_views": 6,
46
- "only_cross_attention": false,
47
- "out_channels": 4,
48
- "projection_class_embeddings_input_dim": 10,
49
- "resnet_out_scale_factor": 1.0,
50
- "resnet_skip_time_act": false,
51
- "resnet_time_scale_shift": "default",
52
- "sample_size": 32,
53
- "time_cond_proj_dim": null,
54
- "time_embedding_act_fn": null,
55
- "time_embedding_dim": null,
56
- "time_embedding_type": "positional",
57
- "timestep_post_act": null,
58
- "transformer_layers_per_block": 1,
59
- "up_block_types": [
60
- "UpBlock2D",
61
- "CrossAttnUpBlockMV2D",
62
- "CrossAttnUpBlockMV2D",
63
- "CrossAttnUpBlockMV2D"
64
- ],
65
- "upcast_attention": false,
66
- "use_linear_projection": false
67
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
ckpts/unet/diffusion_pytorch_model.bin DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:25a338df9e3e913ac9de83fb6d1585ea01031dba03434e2adc32237127fddbab
3
- size 3643509774
 
 
 
 
configs/mvdiffusion-joint-ortho-6views.yaml DELETED
@@ -1,42 +0,0 @@
1
- pretrained_model_name_or_path: 'lambdalabs/sd-image-variations-diffusers'
2
- pretrained_unet_path: './ckpts/'
3
- revision: null
4
- validation_dataset:
5
- root_dir: "./example_images" # the folder path stores testing images
6
- num_views: 6
7
- bg_color: 'white'
8
- img_wh: [256, 256]
9
- num_validation_samples: 1000
10
- crop_size: 192
11
- filepaths: ['owl.png'] # the test image names. leave it empty, test all images in the folder
12
-
13
- save_dir: 'outputs/'
14
-
15
- pred_type: 'joint'
16
- seed: 42
17
- validation_batch_size: 1
18
- dataloader_num_workers: 64
19
-
20
- local_rank: -1
21
-
22
- pipe_kwargs:
23
- camera_embedding_type: 'e_de_da_sincos'
24
- num_views: 6
25
-
26
- validation_guidance_scales: [3.0]
27
- pipe_validation_kwargs:
28
- eta: 1.0
29
- validation_grid_nrow: 6
30
-
31
- unet_from_pretrained_kwargs:
32
- camera_embedding_type: 'e_de_da_sincos'
33
- projection_class_embeddings_input_dim: 10
34
- num_views: 6
35
- sample_size: 32
36
- zero_init_conv_in: false
37
- zero_init_camera_projection: false
38
-
39
- num_views: 6
40
- camera_embedding_type: 'e_de_da_sincos'
41
-
42
- enable_xformers_memory_efficient_attention: true
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
configs/mvdiffusion-joint-plus.yaml DELETED
@@ -1,50 +0,0 @@
1
- pretrained_model_name_or_path: 'lambdalabs/sd-image-variations-diffusers' # or './ckpts'
2
- pretrained_unet_path: '/mvfs/workspace/code/mv_proj/outputs-v6/stage3_w_pretrain_single_crop/unet-20000/unet'
3
- revision: null
4
- validation_dataset:
5
- root_dir: "example_images" # the folder path stores testing images
6
- num_views: 6
7
- bg_color: 'white'
8
- img_wh: [256, 256]
9
- num_validation_samples: 1000
10
- crop_size: 192
11
- filepaths: ['owl.png']
12
- cam_types: ['ortho']
13
- load_cam_type: true
14
-
15
- save_dir: 'outputs-inference/'
16
-
17
- pred_type: 'joint_color_normal'
18
- seed: 33
19
- validation_batch_size: 1
20
- dataloader_num_workers: 64
21
-
22
- local_rank: -1
23
-
24
- pipe_kwargs:
25
- camera_embedding_type: 'e_de_da_sincos'
26
- num_views: 6
27
- pred_type: 'joint_color_normal'
28
-
29
- validation_guidance_scales: [2.0]
30
- pipe_validation_kwargs:
31
- eta: 1.0
32
- validation_grid_nrow: 6
33
-
34
- unet_from_pretrained_kwargs:
35
- camera_embedding_type: 'e_de_da_sincos'
36
- projection_class_embeddings_input_dim: 14
37
- num_views: 6
38
- sample_size: 32
39
- cd_attention_mid: true
40
- zero_init_conv_in: false
41
- zero_init_camera_projection: false
42
- multiview_attention: true
43
- sparse_mv_attention: false
44
- mvcd_attention: false
45
-
46
- num_views: 6
47
- camera_embedding_type: 'e_de_da_sincos'
48
- load_task: true
49
-
50
- enable_xformers_memory_efficient_attention: False
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
example_images/000-astronaut.jpg DELETED
Binary file (178 kB)
 
example_images/000-cat.jpg DELETED
Binary file (142 kB)
 
example_images/000-character.jpg DELETED
Binary file (232 kB)
 
example_images/000-firefox.jpg DELETED
Binary file (362 kB)
 
example_images/000-monkey.jpg DELETED
Binary file (361 kB)
 
example_images/14_10_29_489_Tiger_1__1.png DELETED
Binary file (430 kB)
 
example_images/American_PitBull_Terrier.png DELETED
Binary file (184 kB)
 
example_images/Baby_Elephant.png DELETED
Binary file (166 kB)
 
example_images/Camel_600.png DELETED
Binary file (185 kB)
 
example_images/Galapagos_Turtle.png DELETED
Binary file (190 kB)
 
example_images/Koala.png DELETED
Binary file (141 kB)
 
example_images/Rabbit.png DELETED
Binary file (176 kB)
 
example_images/bear.png DELETED
Binary file (30.3 kB)
 
example_images/blue_bird.png DELETED
Binary file (64.1 kB)
 
example_images/blue_dragon2.png DELETED
Binary file (999 kB)
 
example_images/box.png DELETED
Binary file (34.6 kB)
 
example_images/bread.png DELETED
Binary file (27.3 kB)
 
example_images/cartoon_dinosaur.png DELETED
Binary file (727 kB)
 
example_images/cat_head.png DELETED
Binary file (481 kB)
 
example_images/chair_wood.jpg DELETED
Binary file (12.5 kB)
 
example_images/color_fox.png DELETED
Binary file (36.1 kB)
 
example_images/cute_monkey.png DELETED
Binary file (28.7 kB)
 
example_images/dog.png DELETED
Binary file (24.2 kB)
 
example_images/dragon2.png DELETED
Binary file (19.7 kB)
 
example_images/duola.png DELETED
Binary file (905 kB)
 
example_images/fox.png DELETED
Binary file (27.9 kB)
 
example_images/gelute.png DELETED
Binary file (524 kB)
 
example_images/generated_1715763329_frame0.png DELETED
Binary file (182 kB)
 
example_images/haimianbaobao.png DELETED
Binary file (289 kB)
 
example_images/hair-11-3d-model-obj-mtl-stl-ztl-zbp.png DELETED
Binary file (303 kB)
 
example_images/halloween.png DELETED
Binary file (171 kB)
 
example_images/happy-british-bulldog-head-3d-model-obj-stl.png DELETED
Binary file (275 kB)
 
example_images/head.png DELETED
Binary file (89 kB)
 
example_images/jelly.png DELETED
Binary file (628 kB)
 
example_images/kettle.png DELETED
Binary file (23.8 kB)
 
example_images/kunkun.png DELETED
Binary file (46.6 kB)
 
example_images/lion.png DELETED
Binary file (34.1 kB)
 
example_images/man-head2.jpeg DELETED
Binary file (62.3 kB)
 
example_images/monkey.png DELETED
Binary file (32.5 kB)
 
example_images/mushroom_teapot.jpg DELETED
Binary file (36.3 kB)
 
example_images/owl.png DELETED
Binary file (121 kB)