Upload folder using huggingface_hub
Browse files- conditioner/conditioner.safetensors +3 -0
- conditioner/config.json +65 -0
- model/config.json +30 -0
- model/model.safetensors +3 -0
- p3sam.ckpt +3 -0
- p3sam/config.json +6 -0
- p3sam/p3sam.safetensors +3 -0
- scheduler/config.json +6 -0
- shapevae/config.json +22 -0
- shapevae/shapevae.safetensors +3 -0
conditioner/conditioner.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:730518ae5f2b6af51db12137ed0dc0ac791ee04d927cf8e4f2043db9c8218251
|
3 |
+
size 1755920004
|
conditioner/config.json
ADDED
@@ -0,0 +1,65 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"target": "partgen.models.conditioner.condioner_release.Conditioner",
|
3 |
+
"params": {
|
4 |
+
"use_geo": true,
|
5 |
+
"use_obj": true,
|
6 |
+
"use_seg_feat": true,
|
7 |
+
"geo_cfg": {
|
8 |
+
"target": "partgen.models.conditioner.part_encoders.PartEncoder",
|
9 |
+
"output_dim": 1024,
|
10 |
+
"params": {
|
11 |
+
"use_local": true,
|
12 |
+
"local_feat_type": "latents_shape",
|
13 |
+
"num_tokens_cond": 4096,
|
14 |
+
"local_geo_cfg": {
|
15 |
+
"target": "partgen.models.autoencoders.VolumeDecoderShapeVAE",
|
16 |
+
"params": {
|
17 |
+
"num_latents": 4096,
|
18 |
+
"embed_dim": 64,
|
19 |
+
"num_freqs": 8,
|
20 |
+
"include_pi": false,
|
21 |
+
"heads": 16,
|
22 |
+
"width": 1024,
|
23 |
+
"num_encoder_layers": 8,
|
24 |
+
"num_decoder_layers": 16,
|
25 |
+
"qkv_bias": false,
|
26 |
+
"qk_norm": true,
|
27 |
+
"scale_factor": null,
|
28 |
+
"geo_decoder_mlp_expand_ratio": 4,
|
29 |
+
"geo_decoder_downsample_ratio": 1,
|
30 |
+
"geo_decoder_ln_post": true,
|
31 |
+
"point_feats": 4,
|
32 |
+
"pc_size": 81920,
|
33 |
+
"pc_sharpedge_size": 0
|
34 |
+
}
|
35 |
+
}
|
36 |
+
}
|
37 |
+
},
|
38 |
+
"obj_encoder_cfg": {
|
39 |
+
"target": "partgen.models.autoencoders.VolumeDecoderShapeVAE",
|
40 |
+
"output_dim": 1024,
|
41 |
+
"params": {
|
42 |
+
"num_latents": 4096,
|
43 |
+
"embed_dim": 64,
|
44 |
+
"num_freqs": 8,
|
45 |
+
"include_pi": false,
|
46 |
+
"heads": 16,
|
47 |
+
"width": 1024,
|
48 |
+
"num_encoder_layers": 8,
|
49 |
+
"num_decoder_layers": 16,
|
50 |
+
"qkv_bias": false,
|
51 |
+
"qk_norm": true,
|
52 |
+
"scale_factor": 1.0039506158752403,
|
53 |
+
"geo_decoder_mlp_expand_ratio": 4,
|
54 |
+
"geo_decoder_downsample_ratio": 1,
|
55 |
+
"geo_decoder_ln_post": true,
|
56 |
+
"point_feats": 4,
|
57 |
+
"pc_size": 81920,
|
58 |
+
"pc_sharpedge_size": 0
|
59 |
+
}
|
60 |
+
},
|
61 |
+
"seg_feat_cfg": {
|
62 |
+
"target": "partgen.models.conditioner.sonata_extractor.SonataFeatureExtractor"
|
63 |
+
}
|
64 |
+
}
|
65 |
+
}
|
model/config.json
ADDED
@@ -0,0 +1,30 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"target": "partgen.models.partformer_dit.PartFormerDITPlain",
|
3 |
+
"params": {
|
4 |
+
"use_self_attention": true,
|
5 |
+
"use_cross_attention": true,
|
6 |
+
"use_cross_attention_2": true,
|
7 |
+
"use_bbox_cond": false,
|
8 |
+
"num_freqs": 8,
|
9 |
+
"use_part_embed": true,
|
10 |
+
"valid_num": 50,
|
11 |
+
"input_size": "*num_latents",
|
12 |
+
"in_channels": 64,
|
13 |
+
"hidden_size": 2048,
|
14 |
+
"encoder_hidden_dim": "*cross1_output_dim",
|
15 |
+
"encoder_hidden2_dim": "*cross2_output_dim",
|
16 |
+
"depth": 21,
|
17 |
+
"num_heads": 16,
|
18 |
+
"qk_norm": true,
|
19 |
+
"qkv_bias": false,
|
20 |
+
"qk_norm_type": "rms",
|
21 |
+
"with_decoupled_ca": false,
|
22 |
+
"decoupled_ca_dim": "*num_tokens_cond",
|
23 |
+
"decoupled_ca_weight": 1.0,
|
24 |
+
"use_attention_pooling": false,
|
25 |
+
"use_pos_emb": false,
|
26 |
+
"num_moe_layers": 6,
|
27 |
+
"num_experts": 8,
|
28 |
+
"moe_top_k": 2
|
29 |
+
}
|
30 |
+
}
|
model/model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:4ca47998e1357432302d7de0ec85f7e4076b8e64037935f033b881e2fd9973e0
|
3 |
+
size 6630571584
|
p3sam.ckpt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:5c6555ea891939a746512fe2a0b22f861d8e0910aa24b7981c63ea336fa10090
|
3 |
+
size 1353382727
|
p3sam/config.json
ADDED
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"target": "partgen.bbox_estimator.auto_mask_api.AutoMask",
|
3 |
+
"params": {
|
4 |
+
"ckpt_path": "checkpoints/p3sam.ckpt"
|
5 |
+
}
|
6 |
+
}
|
p3sam/p3sam.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:eb76550cfbe06f154c6e9b17167ccfc28222bb4a216ec7b12ac2bf7d762de38c
|
3 |
+
size 450968044
|
scheduler/config.json
ADDED
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"target": "partgen.models.diffusion.schedulers.FlowMatchEulerDiscreteScheduler",
|
3 |
+
"params": {
|
4 |
+
"num_train_timesteps": 1000
|
5 |
+
}
|
6 |
+
}
|
shapevae/config.json
ADDED
@@ -0,0 +1,22 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"target": "partgen.models.autoencoders.VolumeDecoderShapeVAE",
|
3 |
+
"params": {
|
4 |
+
"num_latents": 1024,
|
5 |
+
"embed_dim": 64,
|
6 |
+
"num_freqs": 8,
|
7 |
+
"include_pi": false,
|
8 |
+
"heads": 16,
|
9 |
+
"width": 1024,
|
10 |
+
"num_encoder_layers": 8,
|
11 |
+
"num_decoder_layers": 16,
|
12 |
+
"qkv_bias": false,
|
13 |
+
"qk_norm": true,
|
14 |
+
"scale_factor": 1.0039506158752403,
|
15 |
+
"geo_decoder_mlp_expand_ratio": 4,
|
16 |
+
"geo_decoder_downsample_ratio": 1,
|
17 |
+
"geo_decoder_ln_post": true,
|
18 |
+
"point_feats": 4,
|
19 |
+
"pc_size": 81920,
|
20 |
+
"pc_sharpedge_size": 0
|
21 |
+
}
|
22 |
+
}
|
shapevae/shapevae.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:3d46179a603c529c42ce8c1eac6d56667700b1f16626e4bc5bc319c99a4f3b88
|
3 |
+
size 655539474
|