hugoycj
commited on
Commit
·
7bea053
1
Parent(s):
fe796b7
Init Commit
Browse files- README.md +9 -3
- ckpts/slat_dec_mesh_swin8_B_64l8m256c_fp16.json +17 -0
- ckpts/slat_dec_mesh_swin8_B_64l8m256c_fp16.safetensors +3 -0
- ckpts/slat_flow_normal_dit_L_64l8p2_fp16.json +19 -0
- ckpts/slat_flow_normal_dit_L_64l8p2_fp16.safetensors +3 -0
- ckpts/ss_dec_conv3d_16l8_fp16.json +12 -0
- ckpts/ss_dec_conv3d_16l8_fp16.safetensors +3 -0
- ckpts/ss_flow_normal_dit_L_16l8_fp16.json +17 -0
- ckpts/ss_flow_normal_dit_L_16l8_fp16.safetensors +3 -0
- pipeline.json +58 -0
README.md
CHANGED
@@ -1,3 +1,9 @@
|
|
1 |
-
---
|
2 |
-
|
3 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
library_name: trellis
|
3 |
+
pipeline_tag: image-to-3d
|
4 |
+
license: mit
|
5 |
+
language:
|
6 |
+
- en
|
7 |
+
---
|
8 |
+
|
9 |
+
An improved normal conditioned version of TRELLIS.
|
ckpts/slat_dec_mesh_swin8_B_64l8m256c_fp16.json
ADDED
@@ -0,0 +1,17 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"name": "SLatMeshDecoder",
|
3 |
+
"args": {
|
4 |
+
"resolution": 64,
|
5 |
+
"model_channels": 768,
|
6 |
+
"latent_channels": 8,
|
7 |
+
"num_blocks": 12,
|
8 |
+
"num_heads": 12,
|
9 |
+
"mlp_ratio": 4,
|
10 |
+
"attn_mode": "swin",
|
11 |
+
"window_size": 8,
|
12 |
+
"use_fp16": true,
|
13 |
+
"representation_config": {
|
14 |
+
"use_color": true
|
15 |
+
}
|
16 |
+
}
|
17 |
+
}
|
ckpts/slat_dec_mesh_swin8_B_64l8m256c_fp16.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:3e87aba94b5786407eb06d0502c1ed0885a0027a3f2b8537bfe15b0a92c01859
|
3 |
+
size 181903412
|
ckpts/slat_flow_normal_dit_L_64l8p2_fp16.json
ADDED
@@ -0,0 +1,19 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"name": "SLatFlowModel",
|
3 |
+
"args": {
|
4 |
+
"resolution": 64,
|
5 |
+
"in_channels": 8,
|
6 |
+
"out_channels": 8,
|
7 |
+
"model_channels": 1024,
|
8 |
+
"cond_channels": 1024,
|
9 |
+
"num_blocks": 24,
|
10 |
+
"num_heads": 16,
|
11 |
+
"mlp_ratio": 4,
|
12 |
+
"patch_size": 2,
|
13 |
+
"num_io_res_blocks": 2,
|
14 |
+
"io_block_channels": [128],
|
15 |
+
"pe_mode": "ape",
|
16 |
+
"qk_rms_norm": true,
|
17 |
+
"use_fp16": false
|
18 |
+
}
|
19 |
+
}
|
ckpts/slat_flow_normal_dit_L_64l8p2_fp16.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:f9a5896bba3b876e0560fc4a19c335d171b97502e7358b026260b76e0c4557dc
|
3 |
+
size 1200919136
|
ckpts/ss_dec_conv3d_16l8_fp16.json
ADDED
@@ -0,0 +1,12 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
|
2 |
+
{
|
3 |
+
"name": "SparseStructureDecoder",
|
4 |
+
"args": {
|
5 |
+
"out_channels": 1,
|
6 |
+
"latent_channels": 8,
|
7 |
+
"num_res_blocks": 2,
|
8 |
+
"num_res_blocks_middle": 2,
|
9 |
+
"channels": [512, 128, 32],
|
10 |
+
"use_fp16": true
|
11 |
+
}
|
12 |
+
}
|
ckpts/ss_dec_conv3d_16l8_fp16.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:1c76d4a40519aa2d711cc263a8404105231ac26db31d946bed48b84fee79009a
|
3 |
+
size 147591972
|
ckpts/ss_flow_normal_dit_L_16l8_fp16.json
ADDED
@@ -0,0 +1,17 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"name": "SparseStructureFlowModel",
|
3 |
+
"args": {
|
4 |
+
"resolution": 16,
|
5 |
+
"in_channels": 8,
|
6 |
+
"out_channels": 8,
|
7 |
+
"model_channels": 1024,
|
8 |
+
"cond_channels": 1024,
|
9 |
+
"num_blocks": 24,
|
10 |
+
"num_heads": 16,
|
11 |
+
"mlp_ratio": 4,
|
12 |
+
"patch_size": 1,
|
13 |
+
"pe_mode": "ape",
|
14 |
+
"qk_rms_norm": true,
|
15 |
+
"use_fp16": true
|
16 |
+
}
|
17 |
+
}
|
ckpts/ss_flow_normal_dit_L_16l8_fp16.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:b5f9f3aafead23fe5ee49ca01e57fcc0c3e0345635c05a0d83b39a7e5ccaf281
|
3 |
+
size 1119525912
|
pipeline.json
ADDED
@@ -0,0 +1,58 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"name": "TrellisImageTo3DPipeline",
|
3 |
+
"args": {
|
4 |
+
"models": {
|
5 |
+
"sparse_structure_decoder": "ckpts/ss_dec_conv3d_16l8_fp16",
|
6 |
+
"sparse_structure_flow_model": "ckpts/ss_flow_normal_dit_L_16l8_fp16",
|
7 |
+
"slat_decoder_mesh": "ckpts/slat_dec_mesh_swin8_B_64l8m256c_fp16",
|
8 |
+
"slat_flow_model": "ckpts/slat_flow_normal_dit_L_64l8p2_fp16"
|
9 |
+
},
|
10 |
+
"sparse_structure_sampler": {
|
11 |
+
"name": "FlowEulerGuidanceIntervalSampler",
|
12 |
+
"args": {
|
13 |
+
"sigma_min": 1e-5
|
14 |
+
},
|
15 |
+
"params": {
|
16 |
+
"steps": 25,
|
17 |
+
"cfg_strength": 5.0,
|
18 |
+
"cfg_interval": [0.5, 1.0],
|
19 |
+
"rescale_t": 3.0
|
20 |
+
}
|
21 |
+
},
|
22 |
+
"slat_sampler": {
|
23 |
+
"name": "FlowEulerGuidanceIntervalSampler",
|
24 |
+
"args": {
|
25 |
+
"sigma_min": 1e-5
|
26 |
+
},
|
27 |
+
"params": {
|
28 |
+
"steps": 25,
|
29 |
+
"cfg_strength": 5.0,
|
30 |
+
"cfg_interval": [0.5, 1.0],
|
31 |
+
"rescale_t": 3.0
|
32 |
+
}
|
33 |
+
},
|
34 |
+
"slat_normalization": {
|
35 |
+
"mean": [
|
36 |
+
-2.1687545776367188,
|
37 |
+
-0.004347046371549368,
|
38 |
+
-0.13352349400520325,
|
39 |
+
-0.08418072760105133,
|
40 |
+
-0.5271206498146057,
|
41 |
+
0.7238689064979553,
|
42 |
+
-1.1414450407028198,
|
43 |
+
1.2039363384246826
|
44 |
+
],
|
45 |
+
"std": [
|
46 |
+
2.377650737762451,
|
47 |
+
2.386378288269043,
|
48 |
+
2.124418020248413,
|
49 |
+
2.1748552322387695,
|
50 |
+
2.663944721221924,
|
51 |
+
2.371192216873169,
|
52 |
+
2.6217446327209473,
|
53 |
+
2.684523105621338
|
54 |
+
]
|
55 |
+
},
|
56 |
+
"image_cond_model": "dinov2_vitl14_reg"
|
57 |
+
}
|
58 |
+
}
|