Spaces:
Runtime error
Runtime error
pengHTYX
commited on
Commit
•
b20a911
1
Parent(s):
ad7ddbe
'test
Browse files- configs/test_unclip-512-6view.yaml +57 -0
- requirements.txt +32 -0
configs/test_unclip-512-6view.yaml
ADDED
@@ -0,0 +1,57 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
pretrained_model_name_or_path: 'stabilityai/stable-diffusion-2-1-unclip'
|
2 |
+
pretrained_unet_path: '../checkpoint_backup/output/unit-unclip-512-6view-randomele-self+row-8w-selfcd-rowmv-2block-linear-depthfilter-step-removewh-bs256-three/checkpoint-40000/unet_ema'
|
3 |
+
revision: null
|
4 |
+
|
5 |
+
num_views: 6
|
6 |
+
validation_dataset:
|
7 |
+
prompt_embeds_path: mvdiffusion/data/fixed_prompt_embeds_6view
|
8 |
+
root_dir: 'evaluate/wonder3D_case'
|
9 |
+
num_views: ${num_views}
|
10 |
+
bg_color: 'white'
|
11 |
+
img_wh: [512, 512]
|
12 |
+
num_validation_samples: 1000
|
13 |
+
crop_size: 420
|
14 |
+
|
15 |
+
pred_type: 'joint'
|
16 |
+
save_dir: 'mv_results'
|
17 |
+
save_mode: 'rgba' # 'concat', 'rgba', 'rgb'
|
18 |
+
seed: 42
|
19 |
+
validation_batch_size: 1
|
20 |
+
dataloader_num_workers: 1
|
21 |
+
local_rank: -1
|
22 |
+
|
23 |
+
pipe_kwargs:
|
24 |
+
num_views: ${num_views}
|
25 |
+
|
26 |
+
validation_guidance_scales: [3.0]
|
27 |
+
pipe_validation_kwargs:
|
28 |
+
num_inference_steps: 40
|
29 |
+
eta: 1.0
|
30 |
+
|
31 |
+
validation_grid_nrow: ${num_views}
|
32 |
+
regress_elevation: true
|
33 |
+
regress_focal_length: true
|
34 |
+
unet_from_pretrained_kwargs:
|
35 |
+
unclip: true
|
36 |
+
sdxl: false
|
37 |
+
num_views: ${num_views}
|
38 |
+
sample_size: 64
|
39 |
+
zero_init_conv_in: false # modify
|
40 |
+
|
41 |
+
regress_elevation: ${regress_elevation}
|
42 |
+
regress_focal_length: ${regress_focal_length}
|
43 |
+
camera_embedding_type: e_de_da_sincos
|
44 |
+
projection_camera_embeddings_input_dim: 4 # 2 for elevation and 6 for focal_length
|
45 |
+
zero_init_camera_projection: false
|
46 |
+
num_regress_blocks: 3
|
47 |
+
|
48 |
+
cd_attention_last: false
|
49 |
+
cd_attention_mid: false
|
50 |
+
multiview_attention: true
|
51 |
+
sparse_mv_attention: true
|
52 |
+
selfattn_block: self_rowwise
|
53 |
+
mvcd_attention: true
|
54 |
+
|
55 |
+
use_dino: false
|
56 |
+
|
57 |
+
enable_xformers_memory_efficient_attention: true
|
requirements.txt
ADDED
@@ -0,0 +1,32 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
--extra-index-url https://download.pytorch.org/whl/cu118
|
2 |
+
diffusers[torch]==0.26.0
|
3 |
+
transformers==4.37.2
|
4 |
+
bitsandbytes==0.35.4
|
5 |
+
decord==0.6.0
|
6 |
+
click==8.1.7
|
7 |
+
pytorch-lightning==1.9.0
|
8 |
+
omegaconf==2.2.3
|
9 |
+
nerfacc==0.3.3
|
10 |
+
trimesh==3.9.8
|
11 |
+
pyhocon==0.3.57
|
12 |
+
icecream==2.1.0
|
13 |
+
PyMCubes==0.1.2
|
14 |
+
accelerate==0.21.0
|
15 |
+
modelcards
|
16 |
+
einops
|
17 |
+
ftfy
|
18 |
+
piq
|
19 |
+
matplotlib
|
20 |
+
opencv-python
|
21 |
+
imageio
|
22 |
+
imageio-ffmpeg
|
23 |
+
scipy
|
24 |
+
pyransac3d
|
25 |
+
torch_efficient_distloss
|
26 |
+
tensorboard
|
27 |
+
rembg
|
28 |
+
segment_anything
|
29 |
+
gradio==3.50.2
|
30 |
+
moviepy
|
31 |
+
kornia
|
32 |
+
huggingface_hub
|