YuantaoChen commited on
Commit
077bdce
·
verified ·
1 Parent(s): aa1a2a3

Upload checkpoints

Browse files
checkpoints/forehoi.ckpt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9178a51e18ffb1d3fe476c9e614c877fda8e748f8572c457678c8ab38f6e4f8f
3
+ size 4338324930
checkpoints/pipeline.yaml ADDED
@@ -0,0 +1,108 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ _target_: sam3d_objects.pipeline.inference_pipeline_pointmap.InferencePipelinePointMap
2
+ ss_generator_config_path: ss_generator.yaml
3
+ ss_generator_ckpt_path: ss_generator.ckpt
4
+ slat_generator_config_path: slat_generator.yaml
5
+ slat_generator_ckpt_path: slat_generator.ckpt
6
+ ss_encoder_config_path: ss_encoder.yaml
7
+ ss_encoder_ckpt_path: ss_encoder.pt
8
+ ss_decoder_config_path: ss_decoder.yaml
9
+ ss_decoder_ckpt_path: ss_decoder.ckpt
10
+ slat_decoder_gs_config_path: slat_decoder_gs.yaml
11
+ slat_decoder_gs_ckpt_path: slat_decoder_gs.ckpt
12
+ slat_decoder_gs_4_config_path: slat_decoder_gs_4.yaml
13
+ slat_decoder_gs_4_ckpt_path: slat_decoder_gs_4.ckpt
14
+ slat_decoder_mesh_config_path: slat_decoder_mesh.yaml
15
+ slat_decoder_mesh_ckpt_path: slat_decoder_mesh.ckpt
16
+ pad_size: 1.0
17
+ dtype: float16
18
+ version: 3dfy_v9
19
+ slat_cfg_strength: 1
20
+ slat_rescale_t: 1
21
+ downsample_ss_dist: 1
22
+ compile_model: true
23
+ ss_condition_input_mapping: []
24
+ ss_preprocessor:
25
+ _target_: sam3d_objects.data.dataset.tdfy.preprocessor.PreProcessor
26
+ img_mask_joint_transform: []
27
+ img_mask_pointmap_joint_transform:
28
+ - _partial_: true
29
+ _target_: sam3d_objects.data.dataset.tdfy.img_and_mask_transforms.resize_all_to_same_size
30
+ - _partial_: true
31
+ _target_: sam3d_objects.data.dataset.tdfy.img_and_mask_transforms.crop_around_mask_with_padding
32
+ box_size_factor: 1.2
33
+ padding_factor: 0.0
34
+ img_transform:
35
+ _target_: torchvision.transforms.Compose
36
+ transforms:
37
+ - _partial_: true
38
+ _target_: sam3d_objects.data.dataset.tdfy.img_processing.pad_to_square_centered
39
+ - _target_: torchvision.transforms.Resize
40
+ size: 518
41
+ mask_transform:
42
+ _target_: torchvision.transforms.Compose
43
+ transforms:
44
+ - _partial_: true
45
+ _target_: sam3d_objects.data.dataset.tdfy.img_processing.pad_to_square_centered
46
+ - _target_: torchvision.transforms.Resize
47
+ interpolation: 0
48
+ size: 518
49
+ normalize_pointmap: true
50
+ pointmap_normalizer:
51
+ _target_: sam3d_objects.data.dataset.tdfy.img_and_mask_transforms.ObjectCentricSSI
52
+ allow_scale_and_shift_override: true
53
+ use_scene_scale: true
54
+ pointmap_transform:
55
+ _target_: torchvision.transforms.Compose
56
+ transforms:
57
+ - _partial_: true
58
+ _target_: sam3d_objects.data.dataset.tdfy.img_processing.pad_to_square_centered
59
+ - _target_: torchvision.transforms.Resize
60
+ interpolation: 0
61
+ size: 518
62
+ pose_decoder_name: ScaleShiftInvariant
63
+ depth_model:
64
+ _target_: sam3d_objects.pipeline.depth_models.moge.MoGe
65
+ model:
66
+ _target_: moge.model.v1.MoGeModel.from_pretrained
67
+ pretrained_model_name_or_path: Ruicheng/moge-vitl
68
+ slat_condition_input_mapping: []
69
+ slat_preprocessor:
70
+ _target_: sam3d_objects.data.dataset.tdfy.preprocessor.PreProcessor
71
+ img_transform:
72
+ _target_: torchvision.transforms.Compose
73
+ transforms:
74
+ - _target_: sam3d_objects.data.dataset.tdfy.img_processing.pad_to_square_centered
75
+ _partial_: true
76
+ - _target_: torchvision.transforms.Resize
77
+ size: 518
78
+ mask_transform:
79
+ _target_: torchvision.transforms.Compose
80
+ transforms:
81
+ - _target_: sam3d_objects.data.dataset.tdfy.img_processing.pad_to_square_centered
82
+ _partial_: true
83
+ - _target_: torchvision.transforms.Resize
84
+ size: 518
85
+ interpolation: 0
86
+ img_mask_joint_transform:
87
+ - _target_: sam3d_objects.data.dataset.tdfy.img_and_mask_transforms.crop_around_mask_with_padding
88
+ _partial_: true
89
+ box_size_factor: 1.2
90
+ padding_factor: 0.0
91
+ slat_mean:
92
+ - 0.12211431
93
+ - 0.37204156
94
+ - -1.26521907
95
+ - -2.05276058
96
+ - -3.10432536
97
+ - -0.11294304
98
+ - -0.85146744
99
+ - 0.45506954
100
+ slat_std:
101
+ - 2.37326008
102
+ - 2.13174402
103
+ - 2.2413953
104
+ - 2.30589401
105
+ - 2.1191894
106
+ - 1.8969511
107
+ - 2.41684989
108
+ - 2.08374642
checkpoints/slat_decoder_gs.ckpt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f8077c36a06eaf890dd93cda1937411f793dea1eb80b3dd9329f2038ba84a111
3
+ size 171476155
checkpoints/slat_decoder_gs.yaml ADDED
@@ -0,0 +1,25 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ _target_: sam3d_objects.model.backbone.tdfy_dit.models.structured_latent_vae.decoder_gs.SLatGaussianDecoderTdfyWrapper
2
+ resolution: 64
3
+ model_channels: 768
4
+ latent_channels: 8
5
+ num_blocks: 12
6
+ num_heads: 12
7
+ mlp_ratio: 4
8
+ attn_mode: swin
9
+ window_size: 8
10
+ representation_config:
11
+ lr:
12
+ _xyz: 1.0
13
+ _features_dc: 1.0
14
+ _opacity: 1.0
15
+ _scaling: 1.0
16
+ _rotation: 0.1
17
+ perturb_offset: true
18
+ voxel_size: 1.5
19
+ num_gaussians: 32
20
+ 2d_filter_kernel_size: 0.1
21
+ 3d_filter_kernel_size: 0.0009
22
+ scaling_bias: 0.004
23
+ opacity_bias: 0.1
24
+ scaling_activation: softplus
25
+ use_fp16: true
checkpoints/slat_decoder_gs_4.ckpt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:731a0eceaa47945b52aa27f650d695b2aea9cc70945751e5609e5cb5b49f0186
3
+ size 170269801
checkpoints/slat_decoder_gs_4.yaml ADDED
@@ -0,0 +1,25 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ _target_: sam3d_objects.model.backbone.tdfy_dit.models.structured_latent_vae.decoder_gs.SLatGaussianDecoderTdfyWrapper
2
+ resolution: 64
3
+ model_channels: 768
4
+ latent_channels: 8
5
+ num_blocks: 12
6
+ num_heads: 12
7
+ mlp_ratio: 4
8
+ attn_mode: swin
9
+ window_size: 8
10
+ representation_config:
11
+ lr:
12
+ _xyz: 1.0
13
+ _features_dc: 1.0
14
+ _opacity: 1.0
15
+ _scaling: 1.0
16
+ _rotation: 0.1
17
+ perturb_offset: true
18
+ voxel_size: 1.5
19
+ num_gaussians: 4
20
+ 2d_filter_kernel_size: 0.1
21
+ 3d_filter_kernel_size: 0.0009
22
+ scaling_bias: 0.004
23
+ opacity_bias: 0.1
24
+ scaling_activation: softplus
25
+ use_fp16: true
checkpoints/slat_decoder_mesh.ckpt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:85907b37b67d8ce5b099a96629bdcfbd873eb407dee6b3aa9a75deb15038db33
3
+ size 363726862
checkpoints/slat_decoder_mesh.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:93333fcd57a3e36ded0b3bca6969e05ce2b35142029dadab514f41df46d2f985
3
+ size 363728714
checkpoints/slat_decoder_mesh.yaml ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ _target_: sam3d_objects.model.backbone.tdfy_dit.models.structured_latent_vae.decoder_mesh.SLatMeshDecoderTdfyWrapper
2
+ resolution: 64
3
+ model_channels: 768
4
+ latent_channels: 8
5
+ num_blocks: 12
6
+ num_heads: 12
7
+ mlp_ratio: 4
8
+ attn_mode: swin
9
+ window_size: 8
10
+ representation_config:
11
+ use_color: true
12
+ use_fp16: true
checkpoints/slat_generator.ckpt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:91529bde8e7daa12d09618a66c319e3a5a6398db6b23b958cedcb1c3f28faabb
3
+ size 4906537684
checkpoints/slat_generator.yaml ADDED
@@ -0,0 +1,60 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ module:
2
+ condition_embedder:
3
+ backbone:
4
+ _target_: sam3d_objects.model.backbone.dit.embedder.embedder_fuser.EmbedderFuser
5
+ embedder_list:
6
+ - - _target_: sam3d_objects.model.backbone.dit.embedder.dino.Dino
7
+ dino_model: dinov2_vitl14_reg
8
+ input_size: 518
9
+ normalize_images: true
10
+ prenorm_features: true
11
+ - - - image
12
+ - cropped
13
+ - - rgb_image
14
+ - full
15
+ - - _target_: sam3d_objects.model.backbone.dit.embedder.dino.Dino
16
+ dino_model: dinov2_vitl14_reg
17
+ input_size: 518
18
+ normalize_images: true
19
+ prenorm_features: true
20
+ - - - mask
21
+ - cropped
22
+ - - rgb_image_mask
23
+ - full
24
+ projection_net_hidden_dim_multiplier: 4.0
25
+ use_pos_embedding: learned
26
+ generator:
27
+ backbone:
28
+ _target_: sam3d_objects.model.backbone.generator.flow_matching.model.FlowMatching
29
+ inference_steps: 12
30
+ reverse_fn:
31
+ _target_: sam3d_objects.model.backbone.generator.classifier_free_guidance.ClassifierFreeGuidance
32
+ backbone:
33
+ _target_: sam3d_objects.model.backbone.tdfy_dit.models.structured_latent_flow.SLatFlowModelTdfyWrapper
34
+ cond_channels: 1024
35
+ condition_embedder: null
36
+ force_zeros_cond: true
37
+ in_channels: 8
38
+ io_block_channels:
39
+ - 128
40
+ mlp_ratio: 4
41
+ model_channels: 1024
42
+ num_blocks: 24
43
+ num_heads: 16
44
+ num_io_res_blocks: 2
45
+ out_channels: 8
46
+ patch_size: 2
47
+ pe_mode: ape
48
+ qk_rms_norm: true
49
+ resolution: 64
50
+ use_fp16: true
51
+ p_unconditional: 0.0
52
+ strength: 0.0
53
+ unconditional_handling: add_flag
54
+ sigma_min: 0.0
55
+ time_scale: 1000.0
56
+ training_time_sampler_fn:
57
+ _partial_: true
58
+ _target_: sam3d_objects.model.backbone.generator.flow_matching.model.lognorm_sampler
59
+ mean: -1.0
60
+ std: 1.0
checkpoints/ss_decoder.ckpt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6dac1cd7b7fda5a38e0614fadae441f1794f80e39ea2981f1ac8aff0a7e99340
3
+ size 147609242
checkpoints/ss_decoder.yaml ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ _target_: sam3d_objects.model.backbone.tdfy_dit.models.sparse_structure_vae.SparseStructureDecoderTdfyWrapper
2
+ out_channels: 1
3
+ latent_channels: 8
4
+ num_res_blocks: 2
5
+ num_res_blocks_middle: 2
6
+ channels:
7
+ - 512
8
+ - 128
9
+ - 32
10
+ reshape_input_to_cube: false
checkpoints/ss_encoder.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8988011a27a83c4eb71536b89d394056fc675a2b453b2f5940d4e050b88dc1e0
3
+ size 237204248
checkpoints/ss_encoder.yaml ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ _target_: sam3d_objects.model.backbone.tdfy_dit.models.sparse_structure_vae.SparseStructureEncoderTdfyWrapper
2
+ in_channels: 1
3
+ latent_channels: 8
4
+ num_res_blocks: 2
5
+ num_res_blocks_middle: 2
6
+ channels:
7
+ - 32
8
+ - 128
9
+ - 512
checkpoints/ss_generator.ckpt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:225f40479e4cff4f39d6fa14c55be3abad1475bf55b61af3bec1e19ed2f6c146
3
+ size 6690136964
checkpoints/ss_generator.yaml ADDED
@@ -0,0 +1,144 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ module:
2
+ condition_embedder:
3
+ backbone:
4
+ _target_: sam3d_objects.model.backbone.dit.embedder.embedder_fuser.EmbedderFuser
5
+ drop_modalities_weight:
6
+ - - - pointmap
7
+ - rgb_pointmap
8
+ - 1.0
9
+ dropout_prob: 0.0
10
+ embedder_list:
11
+ - - _target_: sam3d_objects.model.backbone.dit.embedder.dino.Dino
12
+ dino_model: dinov2_vitl14_reg
13
+ input_size: 518
14
+ normalize_images: true
15
+ - - - image
16
+ - cropped
17
+ - - rgb_image
18
+ - full
19
+ - - _target_: sam3d_objects.model.backbone.dit.embedder.dino.Dino
20
+ dino_model: dinov2_vitl14_reg
21
+ input_size: 518
22
+ normalize_images: true
23
+ - - - mask
24
+ - cropped
25
+ - - rgb_image_mask
26
+ - full
27
+ - - _target_: sam3d_objects.model.backbone.dit.embedder.pointmap.PointPatchEmbed
28
+ embed_dim: 512
29
+ input_size: 256
30
+ patch_size: 8
31
+ remap_output: linear
32
+ - - - pointmap
33
+ - cropped
34
+ - - rgb_pointmap
35
+ - full
36
+ force_drop_modalities: null
37
+ freeze: true
38
+ projection_net_hidden_dim_multiplier: 4.0
39
+ use_pos_embedding: learned
40
+ generator:
41
+ backbone:
42
+ _target_: sam3d_objects.model.backbone.generator.shortcut.model.ShortCut
43
+ batch_mode: true
44
+ cfg_modalities:
45
+ - shape
46
+ inference_steps: 2
47
+ loss_weights:
48
+ # 6drotation_normalized: 0.0
49
+ 6drotation_normalized: 0.1
50
+ _target_: sam3d_objects.config.utils.make_dict
51
+ scale: 0.1
52
+ # scale: 0.0
53
+ shape: 1.0 # 保持 1.0: 多视角的核心价值就是训 shape 学更好几何, 不冻结(那是单图 SAM3D 才需要)
54
+ translation: 1.0
55
+ # translation: 0.0
56
+ translation_scale: 0.0
57
+ ratio_cfg_samples_in_self_consistency_target: 0.25
58
+ rescale_t: 1
59
+ reverse_fn:
60
+ _target_: sam3d_objects.model.backbone.generator.classifier_free_guidance.ClassifierFreeGuidanceWithExternalUnconditionalProbability
61
+ backbone:
62
+ _target_: sam3d_objects.model.backbone.tdfy_dit.models.mot_sparse_structure_flow.SparseStructureFlowTdfyWrapper
63
+ cond_channels: 1024
64
+ condition_embedder: null
65
+ force_zeros_cond: true
66
+ freeze_d_time_embedder: true
67
+ freeze_shared_parameters: true
68
+ in_channels: 8
69
+ is_shortcut_model: true
70
+ latent_mapping:
71
+ 6drotation_normalized:
72
+ _target_: sam3d_objects.model.backbone.tdfy_dit.models.mm_latent.Latent
73
+ in_channels: 6
74
+ model_channels: 1024
75
+ pos_embedder:
76
+ _target_: sam3d_objects.model.backbone.tdfy_dit.models.mm_latent.LearntPositionEmbedder
77
+ model_channels: 1024
78
+ token_len: 1
79
+ scale:
80
+ _target_: sam3d_objects.model.backbone.tdfy_dit.models.mm_latent.Latent
81
+ in_channels: 3
82
+ model_channels: 1024
83
+ pos_embedder:
84
+ _target_: sam3d_objects.model.backbone.tdfy_dit.models.mm_latent.LearntPositionEmbedder
85
+ model_channels: 1024
86
+ token_len: 1
87
+ shape:
88
+ _target_: sam3d_objects.model.backbone.tdfy_dit.models.mm_latent.Latent
89
+ in_channels: 8
90
+ model_channels: 1024
91
+ pos_embedder:
92
+ _target_: sam3d_objects.model.backbone.tdfy_dit.models.mm_latent.ShapePositionEmbedder
93
+ model_channels: 1024
94
+ patch_size: 1
95
+ resolution: 16
96
+ translation:
97
+ _target_: sam3d_objects.model.backbone.tdfy_dit.models.mm_latent.Latent
98
+ in_channels: 3
99
+ model_channels: 1024
100
+ pos_embedder:
101
+ _target_: sam3d_objects.model.backbone.tdfy_dit.models.mm_latent.LearntPositionEmbedder
102
+ model_channels: 1024
103
+ token_len: 1
104
+ translation_scale:
105
+ _target_: sam3d_objects.model.backbone.tdfy_dit.models.mm_latent.Latent
106
+ in_channels: 1
107
+ model_channels: 1024
108
+ pos_embedder:
109
+ _target_: sam3d_objects.model.backbone.tdfy_dit.models.mm_latent.LearntPositionEmbedder
110
+ model_channels: 1024
111
+ token_len: 1
112
+ latent_share_transformer:
113
+ 6drotation_normalized:
114
+ - 6drotation_normalized
115
+ - translation
116
+ - scale
117
+ - translation_scale
118
+ mlp_ratio: 4
119
+ model_channels: 1024
120
+ num_blocks: 24
121
+ num_heads: 16
122
+ out_channels: 8
123
+ patch_size: 1
124
+ pe_mode: ape
125
+ qk_rms_norm: true
126
+ resolution: 16
127
+ use_checkpoint: false
128
+ use_fp16: false
129
+ interval:
130
+ - 0
131
+ - 500
132
+ p_unconditional: 0.1
133
+ strength: 2.0
134
+ unconditional_handling: add_flag
135
+ self_consistency_cfg_strength: 2.0
136
+ self_consistency_prob: 0.25
137
+ shortcut_loss_weight: 1.0
138
+ sigma_min: 0.0
139
+ time_scale: 1000.0
140
+ training_time_sampler_fn:
141
+ _partial_: true
142
+ _target_: sam3d_objects.model.backbone.generator.flow_matching.model.lognorm_sampler
143
+ mean: -1.0
144
+ std: 1.0