ggrayt commited on
Commit
8a062e7
·
verified ·
1 Parent(s): 1c0194a

Publish OAT3D inference weights

Browse files
README.md ADDED
@@ -0,0 +1,25 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: pytorch
3
+ tags:
4
+ - structural-topology-optimization
5
+ - 3d
6
+ - safetensors
7
+ ---
8
+
9
+ # OAT3D weights
10
+
11
+ Inference weights for **OAT3D**, a model that generates a 3D structural density field from supports, applied loads, domain dimensions, and a target volume fraction. The inference code and 50 boundary-condition examples are available in the [OAT3D repository](https://github.com/HongRayChen/OAT3D).
12
+
13
+ | Files | Role |
14
+ | --- | --- |
15
+ | `dense_dit.safetensors`, `sparse_dit.safetensors` | Dense support and sparse density generators |
16
+ | `support_encoder.safetensors`, `load_encoder.safetensors`, `bng_encoder.safetensors` | Encode supports, nodal forces, and the balanced Navier–Green field |
17
+ | `dense_decoder.safetensors`, `sparse_decoder.safetensors` | Decode coarse support and native-grid densities |
18
+ | `architecture.json`, `normalization.json` | Model dimensions and latent scaling |
19
+
20
+ From the inference repository, run the following commands.
21
+
22
+ ```bash
23
+ hf download ggrayt/OAT3D_weights --local-dir weights
24
+ python generate.py --case examples/00109b45acda42b1.npz --weights weights --out outputs
25
+ ```
SHA256SUMS ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ 54dee9cbf1c32114e55815f3473c0392ecfed7ee745ea8bdd5fa6d16b7f6d354 bng_encoder.safetensors
2
+ d6b25209757fa596c40afc64a22c7c50206ca8c2debdf19a53c5ec4c14e8c9b9 dense_decoder.safetensors
3
+ d2d915d3c01c856f70378fd1a11229f9fc0fbb24b37ee12ae6301e6793b94ab0 dense_dit.safetensors
4
+ ac6ef775c50e944a90664b72c69c83ebbec4b1517f479874ca4bdc4e511893ab load_encoder.safetensors
5
+ 8c894849d248ef776fcd7f37971f4a38fae17d68220873b97821d2d7e1a0afb9 sparse_decoder.safetensors
6
+ d819d799f6ddcf0c0ca9258ee6429e11fce3dcd323efaa95f49ad85c59169884 sparse_dit.safetensors
7
+ aa3029e7f405dc17c4b7ed0b65bd39219c9e7225c739fd01396425e9fc760eab support_encoder.safetensors
8
+ 9ad4d74f58cfe01f5b20de6354cb4fc9fca4c976f8723a25f1b0aeebd117f00a architecture.json
9
+ 1157c52323fd9ef9539a1c4ec7dcf0b3885cd675349a2174e673b5012b73c823 normalization.json
architecture.json ADDED
@@ -0,0 +1,52 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "dense": {
3
+ "bng_conditioning": true,
4
+ "cond_channels": 1024,
5
+ "dense_channels": 8,
6
+ "dense_resolution": 16,
7
+ "geometry_bands": 8,
8
+ "geometry_cross_attention": false,
9
+ "mlp_ratio": 4.0,
10
+ "model_channels": 1024,
11
+ "num_blocks": 36,
12
+ "num_heads_dense": 16,
13
+ "num_heads_sparse": 32,
14
+ "num_kv_heads_sparse": 2,
15
+ "qk_rms_norm_cross_dense": true,
16
+ "qk_rms_norm_cross_sparse": false,
17
+ "qk_rms_norm_self": true,
18
+ "sparse_channels": 16,
19
+ "sparse_compression_block_size": 8,
20
+ "sparse_compression_version": "v1",
21
+ "sparse_resolution": 64,
22
+ "sparse_selection_block_size": 8,
23
+ "sparse_topk": 8,
24
+ "sparse_window_size": 8,
25
+ "timestep_count": 1000
26
+ },
27
+ "sparse": {
28
+ "bng_conditioning": true,
29
+ "cond_channels": 1024,
30
+ "dense_channels": 8,
31
+ "dense_resolution": 16,
32
+ "geometry_bands": 8,
33
+ "geometry_cross_attention": true,
34
+ "mlp_ratio": 4.0,
35
+ "model_channels": 1024,
36
+ "num_blocks": 36,
37
+ "num_heads_dense": 16,
38
+ "num_heads_sparse": 32,
39
+ "num_kv_heads_sparse": 2,
40
+ "qk_rms_norm_cross_dense": true,
41
+ "qk_rms_norm_cross_sparse": true,
42
+ "qk_rms_norm_self": false,
43
+ "sparse_channels": 16,
44
+ "sparse_compression_block_size": 8,
45
+ "sparse_compression_version": "v1",
46
+ "sparse_resolution": 64,
47
+ "sparse_selection_block_size": 8,
48
+ "sparse_topk": 8,
49
+ "sparse_window_size": 8,
50
+ "timestep_count": 1000
51
+ }
52
+ }
bng_encoder.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:54dee9cbf1c32114e55815f3473c0392ecfed7ee745ea8bdd5fa6d16b7f6d354
3
+ size 90538352
dense_decoder.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d6b25209757fa596c40afc64a22c7c50206ca8c2debdf19a53c5ec4c14e8c9b9
3
+ size 534968180
dense_dit.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d2d915d3c01c856f70378fd1a11229f9fc0fbb24b37ee12ae6301e6793b94ab0
3
+ size 3351959752
load_encoder.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ac6ef775c50e944a90664b72c69c83ebbec4b1517f479874ca4bdc4e511893ab
3
+ size 90555112
normalization.json ADDED
@@ -0,0 +1,168 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bng_active": {
3
+ "mean": [
4
+ -0.21735414801438027,
5
+ -0.0010691234243949813,
6
+ -0.005477009747850062,
7
+ 0.003284781946476409,
8
+ -0.002426658780451099,
9
+ -0.0030206269857908307,
10
+ 0.002570519484761573,
11
+ 0.02546044094045796,
12
+ 0.004530392660585477,
13
+ 0.005688731152614187,
14
+ 0.004881433044254799,
15
+ 0.0010144406753871994
16
+ ],
17
+ "std": [
18
+ 0.8211961435547737,
19
+ 0.0044258975205610845,
20
+ 0.0052862834806874206,
21
+ 0.003880213399867792,
22
+ 0.0046883160252951485,
23
+ 0.004670135800941934,
24
+ 0.004366473537111955,
25
+ 0.4242359976069937,
26
+ 0.0048594177540328964,
27
+ 0.006744224809643426,
28
+ 0.0034766514363069522,
29
+ 0.003897253113532946
30
+ ]
31
+ },
32
+ "dense_density": {
33
+ "mean": [
34
+ -0.022209666579201984,
35
+ 0.029076311397349015,
36
+ 0.02531471680365633,
37
+ -0.004393487583391609,
38
+ 0.015736672166260342,
39
+ -0.0703303939048425,
40
+ 0.00668349921232616,
41
+ -0.021286953578457453
42
+ ],
43
+ "std": [
44
+ 0.19715124851973193,
45
+ 0.18762529631301542,
46
+ 0.2124636029813189,
47
+ 0.18848201643325613,
48
+ 0.19198655127139935,
49
+ 0.1713425829149987,
50
+ 0.18752905806300768,
51
+ 0.17672475118519013
52
+ ]
53
+ },
54
+ "fixed_bc_active_pooled": {
55
+ "mean": [
56
+ 0.14273482645984395,
57
+ -0.00034626494950530564,
58
+ 0.0008224014494325127,
59
+ 0.000739118127640896,
60
+ -0.0017582147886568906,
61
+ 0.023300269857566388,
62
+ -0.0007490926381890757,
63
+ 0.00042699786052818997,
64
+ -0.0013150840139760666,
65
+ 0.0005325629807321806,
66
+ 0.002408524494251989,
67
+ -0.002355235197295137,
68
+ -0.0004698600687274189,
69
+ -0.002401656774691131,
70
+ 0.0012739343699388736,
71
+ 0.0017933598454359296
72
+ ],
73
+ "std": [
74
+ 0.9957411449173847,
75
+ 0.004241274952209407,
76
+ 0.004691204146899105,
77
+ 0.0036854960900001266,
78
+ 0.004766626755505463,
79
+ 0.7056260092857405,
80
+ 0.003929655141428568,
81
+ 0.005579517843887567,
82
+ 0.0040115029057329185,
83
+ 0.003923161335826112,
84
+ 0.0031790214217108257,
85
+ 0.0033116024754643093,
86
+ 0.0035252808361684747,
87
+ 0.005308676881814047,
88
+ 0.002673048027134309,
89
+ 0.004976102324610611
90
+ ]
91
+ },
92
+ "load_bc_active_pooled": {
93
+ "mean": [
94
+ 0.0024205480688368483,
95
+ 0.004289424436235212,
96
+ 0.0015824880128447992,
97
+ 0.0014785672906694107,
98
+ -0.00042693890249727144,
99
+ 0.007673349861649668,
100
+ -0.004119767106412666,
101
+ 0.000626577448851332,
102
+ 0.0001567320346141777,
103
+ 0.0030869786055228447,
104
+ -0.0007017468047645219,
105
+ 0.007348666898564814,
106
+ -0.030159586016006653,
107
+ -0.004642866315036871,
108
+ 0.0012529959020755068,
109
+ -0.004438251685714361
110
+ ],
111
+ "std": [
112
+ 0.004799057343619015,
113
+ 0.00361534112444412,
114
+ 0.004368102741215396,
115
+ 0.005114625366143566,
116
+ 0.006088389986397122,
117
+ 0.007009940170567259,
118
+ 1.1534048048517338,
119
+ 0.006217399669338746,
120
+ 0.004246794516724652,
121
+ 0.0038453597150138645,
122
+ 0.005083020329048807,
123
+ 0.005588135790547597,
124
+ 0.9096645846241782,
125
+ 0.006167764057959481,
126
+ 0.00456836795849139,
127
+ 0.005427351496717907
128
+ ]
129
+ },
130
+ "sparse_density": {
131
+ "mean": [
132
+ -0.005938999475705036,
133
+ -0.0003683311040444294,
134
+ 0.016828301564198914,
135
+ -0.018649773617173623,
136
+ 0.004288666621402204,
137
+ -0.007103115157276406,
138
+ 0.0008130511779056394,
139
+ -0.03418762997782089,
140
+ 0.00019654932009024727,
141
+ 0.002992468418062979,
142
+ -0.0003042844581258393,
143
+ -0.0006319864856555123,
144
+ 0.010054484706735967,
145
+ 0.00020282397637804827,
146
+ 0.0022107228118786095,
147
+ -0.010336790062025038
148
+ ],
149
+ "std": [
150
+ 0.6928479513031148,
151
+ 0.008983046409125542,
152
+ 0.6412898326381292,
153
+ 0.541382272623806,
154
+ 0.8201193223977884,
155
+ 0.9490756256357746,
156
+ 0.00646748909211254,
157
+ 1.0728105746407486,
158
+ 0.004845462987824155,
159
+ 0.807250281634742,
160
+ 0.0031318532655499856,
161
+ 0.008691080856557029,
162
+ 0.6015274299818333,
163
+ 0.007687142927468043,
164
+ 0.6700528068959413,
165
+ 0.8600112978646078
166
+ ]
167
+ }
168
+ }
sparse_decoder.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8c894849d248ef776fcd7f37971f4a38fae17d68220873b97821d2d7e1a0afb9
3
+ size 60952996
sparse_dit.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d819d799f6ddcf0c0ca9258ee6429e11fce3dcd323efaa95f49ad85c59169884
3
+ size 3558401400
support_encoder.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:aa3029e7f405dc17c4b7ed0b65bd39219c9e7225c739fd01396425e9fc760eab
3
+ size 90555112