Upload folder using huggingface_hub
Browse files- Compressible flow over plane/config.yaml +64 -0
- Compressible flow over plane/full_transform_params.json +37 -0
- Compressible flow over plane/latent_features.npy +3 -0
- Compressible flow over plane/pca_embedding.npy +3 -0
- Compressible flow over plane/pca_reducer.pkl +3 -0
- Compressible flow over plane/pca_scaler.pkl +3 -0
- Compressible flow over plane/train_dist.npz +3 -0
- Incompressible flow inside artery/config.yaml +41 -0
- Incompressible flow inside artery/full_transform_params.json +50 -0
- Incompressible flow inside artery/train_dist.npz +3 -0
- Incompressible flow over car/config.yaml +62 -0
- Incompressible flow over car/full_transform_params.json +40 -0
- Incompressible flow over car/latent_features.npy +3 -0
- Incompressible flow over car/pca_embedding.npy +3 -0
- Incompressible flow over car/pca_reducer.pkl +3 -0
- Incompressible flow over car/pca_scaler.pkl +3 -0
- Incompressible flow over car/train_dist.npz +3 -0
- Structural analysis of bracket/config.yaml +58 -0
- Structural analysis of bracket/full_transform_params.json +61 -0
- Structural analysis of bracket/train_dist.npz +3 -0
- Vehicle crash analysis/config.yaml +58 -0
- Vehicle crash analysis/full_transform_params.json +61 -0
- Vehicle crash analysis/train_dist.npz +3 -0
Compressible flow over plane/config.yaml
ADDED
|
@@ -0,0 +1,64 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#data
|
| 2 |
+
dataset_name: plane_transonic
|
| 3 |
+
test_name: "baseline_ep1000_v2_100"
|
| 4 |
+
gpu_id: 0
|
| 5 |
+
epochs: 300
|
| 6 |
+
data_dir: /raid/ansysai/udbhav/alpha_Xdata/data_prep_transformer/${dataset_name}_v2/1_VTK_surface/
|
| 7 |
+
|
| 8 |
+
json_file: ${data_dir}/params.json
|
| 9 |
+
|
| 10 |
+
splits_file: ${data_dir}/
|
| 11 |
+
data_folder: ${dataset_name}
|
| 12 |
+
|
| 13 |
+
input_normalization: "none" #"shift_axis" # options: "min_max", "std_norm", "none"
|
| 14 |
+
normalization: "std_norm"
|
| 15 |
+
norm_vars: "pressure"
|
| 16 |
+
physical_scale_for_test: True
|
| 17 |
+
diff_input_velocity: False # If true, inlet_x_velocity is added as an input feature
|
| 18 |
+
|
| 19 |
+
|
| 20 |
+
# num_points: 40000
|
| 21 |
+
num_points: 30000 #30000
|
| 22 |
+
num_workers: 1
|
| 23 |
+
|
| 24 |
+
#model
|
| 25 |
+
indim: 3
|
| 26 |
+
outdim: 1
|
| 27 |
+
model: ansysLPFMs
|
| 28 |
+
hidden_dim: 256
|
| 29 |
+
n_heads: 8
|
| 30 |
+
n_decoder: 8
|
| 31 |
+
mlp_ratio: 2
|
| 32 |
+
|
| 33 |
+
|
| 34 |
+
#training
|
| 35 |
+
val_iter: 1
|
| 36 |
+
lr: 0.001
|
| 37 |
+
batch_size: 1
|
| 38 |
+
|
| 39 |
+
optimizer:
|
| 40 |
+
type: AdamW
|
| 41 |
+
scheduler: OneCycleLR #OneCycleLR
|
| 42 |
+
loss_type: huber # options: mse, mae, huber
|
| 43 |
+
|
| 44 |
+
# scheduler: LinearWarmupCosineAnnealingLR
|
| 45 |
+
num_processes: 1
|
| 46 |
+
max_grad_norm: 1.0
|
| 47 |
+
mixed_precision: True #currently default fp16 is selected by torch.autocast(). Fp16 gave the best results for Transformer based models.
|
| 48 |
+
eval: False
|
| 49 |
+
|
| 50 |
+
|
| 51 |
+
chunked_eval: True # Default with True is evaluation of max chunks of size num_points that can fit in a data sample, to avoid small last chunks
|
| 52 |
+
train_ckpt_load: False ## Will load best model if ckpt_load is false
|
| 53 |
+
|
| 54 |
+
#logging
|
| 55 |
+
# test_name: "Final_surface_only_OCLR_3p9M_float32_A100"
|
| 56 |
+
|
| 57 |
+
pos_embed_sincos: False
|
| 58 |
+
use_rope : False
|
| 59 |
+
use_xavier_init: False # Set to true for Xavier uniform initialization, false for truncated normal
|
| 60 |
+
|
| 61 |
+
# sigma for confidence score
|
| 62 |
+
sigma: 0.05
|
| 63 |
+
|
| 64 |
+
project_name: ${dataset_name}
|
Compressible flow over plane/full_transform_params.json
ADDED
|
@@ -0,0 +1,37 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"mesh_stats": {
|
| 3 |
+
"min": [
|
| 4 |
+
7.045689443e-06,
|
| 5 |
+
-41.00179814,
|
| 6 |
+
-3.982239961
|
| 7 |
+
],
|
| 8 |
+
"max": [
|
| 9 |
+
77.2491069,
|
| 10 |
+
41.00179814,
|
| 11 |
+
17.56380467
|
| 12 |
+
],
|
| 13 |
+
"mean": [
|
| 14 |
+
25.50086541120836,
|
| 15 |
+
2.7514762491576034e-14,
|
| 16 |
+
1.3779085606454433
|
| 17 |
+
],
|
| 18 |
+
"std": [
|
| 19 |
+
14.20950999685366,
|
| 20 |
+
8.283627425964518,
|
| 21 |
+
2.0614220403323915
|
| 22 |
+
]
|
| 23 |
+
},
|
| 24 |
+
"scalars": {
|
| 25 |
+
"pressure": {
|
| 26 |
+
"min": -18114.4549,
|
| 27 |
+
"max": 16682.95124,
|
| 28 |
+
"mean": -1659.761628946487,
|
| 29 |
+
"std": 3701.8950182476274
|
| 30 |
+
}
|
| 31 |
+
},
|
| 32 |
+
"boundary_conditions_max": {
|
| 33 |
+
"fluid_density": 1.184,
|
| 34 |
+
"inlet_velocity": 30.0,
|
| 35 |
+
"viscosity_dynamic": 1.847e-05
|
| 36 |
+
}
|
| 37 |
+
}
|
Compressible flow over plane/latent_features.npy
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:43fb1f5c3d2ff76159b372c6afa7e5406fab45574feaa942f116b2f33f121770
|
| 3 |
+
size 178304
|
Compressible flow over plane/pca_embedding.npy
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e59a7f72be4b38f18c86e643a8b859558eb6c6afca0801cadc265eb4a0fbd992
|
| 3 |
+
size 824
|
Compressible flow over plane/pca_reducer.pkl
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:0b511c4d5368bc70e0e79a090183eb12a17c5c806cb30c2b4bac33f20ad038c6
|
| 3 |
+
size 30720772
|
Compressible flow over plane/pca_scaler.pkl
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:aa67ca7a567c3ba2799c46168878e91a1e70e2ba8a17e71eed70edb550c09ff6
|
| 3 |
+
size 61440498
|
Compressible flow over plane/train_dist.npz
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f34f5e7107b3cc05c1e5691c7cb78021f7d78b17ab9f8d10474743f9713c128d
|
| 3 |
+
size 126618
|
Incompressible flow inside artery/config.yaml
ADDED
|
@@ -0,0 +1,41 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
dataset_name: artery
|
| 2 |
+
test_name: baseline_w_sincos_v1
|
| 3 |
+
gpu_id: 0
|
| 4 |
+
data_dir: /raid/ansysai/udbhav/alpha_Xdata/xgm_data/data_prep_transformer/0_Incompressible_internal_flow/artery/1_VTK_surface
|
| 5 |
+
json_file: ${data_dir}/../full_transform_params.json
|
| 6 |
+
splits_file: ${data_dir}/../
|
| 7 |
+
data_folder: ${dataset_name}
|
| 8 |
+
|
| 9 |
+
normalization: "std_norm"
|
| 10 |
+
norm_vars: "pressure"
|
| 11 |
+
physical_scale_for_test: True
|
| 12 |
+
diff_input_velocity: false
|
| 13 |
+
|
| 14 |
+
# num_points: 40000
|
| 15 |
+
num_points: 10000 #15600
|
| 16 |
+
num_workers: 1
|
| 17 |
+
indim: 3
|
| 18 |
+
outdim: 4
|
| 19 |
+
model: ansysLPFMs
|
| 20 |
+
hidden_dim: 256
|
| 21 |
+
n_heads: 8
|
| 22 |
+
n_decoder: 8
|
| 23 |
+
mlp_ratio: 2
|
| 24 |
+
val_iter: 1
|
| 25 |
+
lr: 0.001
|
| 26 |
+
batch_size: 1
|
| 27 |
+
epochs: 300
|
| 28 |
+
optimizer:
|
| 29 |
+
type: AdamW
|
| 30 |
+
scheduler: OneCycleLR
|
| 31 |
+
loss_type: huber
|
| 32 |
+
num_processes: 1
|
| 33 |
+
max_grad_norm: 1.0
|
| 34 |
+
mixed_precision: true
|
| 35 |
+
eval: false
|
| 36 |
+
chunked_eval: true
|
| 37 |
+
train_ckpt_load: false
|
| 38 |
+
pos_embed_sincos: true
|
| 39 |
+
use_rope : False
|
| 40 |
+
use_xavier_init: False # Set to true for Xavier uniform initialization, false for truncated normal
|
| 41 |
+
project_name: ${dataset_name}
|
Incompressible flow inside artery/full_transform_params.json
ADDED
|
@@ -0,0 +1,50 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"mesh_stats": {
|
| 3 |
+
"min": [
|
| 4 |
+
0.025,
|
| 5 |
+
-1.204112099,
|
| 6 |
+
-1.222944777
|
| 7 |
+
],
|
| 8 |
+
"max": [
|
| 9 |
+
9.975,
|
| 10 |
+
1.199037878,
|
| 11 |
+
1.197492383
|
| 12 |
+
],
|
| 13 |
+
"mean": [
|
| 14 |
+
5.000000000023512,
|
| 15 |
+
-0.0050070103447356455,
|
| 16 |
+
0.0028514114550009695
|
| 17 |
+
],
|
| 18 |
+
"std": [
|
| 19 |
+
2.8867160058379673,
|
| 20 |
+
0.2890868787382987,
|
| 21 |
+
0.29065190404236046
|
| 22 |
+
]
|
| 23 |
+
},
|
| 24 |
+
"scalars": {
|
| 25 |
+
"pressure": {
|
| 26 |
+
"min": -4.88198,
|
| 27 |
+
"max": 23.20724818437452,
|
| 28 |
+
"mean": 3.2158044839488764,
|
| 29 |
+
"std": 3.9818469542284554
|
| 30 |
+
},
|
| 31 |
+
"x_velocity": {
|
| 32 |
+
"min": -1.070354126,
|
| 33 |
+
"max": 5.2829312809790085,
|
| 34 |
+
"mean": 1.0341798972778575,
|
| 35 |
+
"std": 0.8492951431118362
|
| 36 |
+
},
|
| 37 |
+
"y_velocity": {
|
| 38 |
+
"min": -1.0771796258219577,
|
| 39 |
+
"max": 1.0766134297782608,
|
| 40 |
+
"mean": -0.00017382796364451712,
|
| 41 |
+
"std": 0.2074833123027587
|
| 42 |
+
},
|
| 43 |
+
"z_velocity": {
|
| 44 |
+
"min": -1.109028642942948,
|
| 45 |
+
"max": 1.1098764213186418,
|
| 46 |
+
"mean": 0.0005453850642336799,
|
| 47 |
+
"std": 0.2126440513763686
|
| 48 |
+
}
|
| 49 |
+
}
|
| 50 |
+
}
|
Incompressible flow inside artery/train_dist.npz
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:d5bfb9b4197f81455710966c8e5bd8352368542b2193a5b50708ede030914725
|
| 3 |
+
size 126618
|
Incompressible flow over car/config.yaml
ADDED
|
@@ -0,0 +1,62 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#data
|
| 2 |
+
dataset_name: cadillac
|
| 3 |
+
test_name: "baseline-variable-velocity-axis_v2_long_test"
|
| 4 |
+
gpu_id: 0
|
| 5 |
+
epochs: 1000
|
| 6 |
+
data_dir: Data/${dataset_name}/1_VTK_surface/
|
| 7 |
+
|
| 8 |
+
json_file: ${data_dir}/params.json
|
| 9 |
+
|
| 10 |
+
splits_file: ${data_dir}/
|
| 11 |
+
data_folder: ${dataset_name}
|
| 12 |
+
input_normalization: shift_axis
|
| 13 |
+
normalization: "std_norm"
|
| 14 |
+
norm_vars: "pressure"
|
| 15 |
+
physical_scale_for_test: True
|
| 16 |
+
|
| 17 |
+
diff_input_velocity: True # If true, inlet_x_velocity is added as an input feature
|
| 18 |
+
|
| 19 |
+
# num_points: 40000
|
| 20 |
+
num_points: 30000 #30000 #30000
|
| 21 |
+
num_workers: 1
|
| 22 |
+
|
| 23 |
+
#model
|
| 24 |
+
indim: 4
|
| 25 |
+
outdim: 1
|
| 26 |
+
model: ansysLPFMs
|
| 27 |
+
hidden_dim: 256
|
| 28 |
+
n_heads: 8
|
| 29 |
+
n_decoder: 8
|
| 30 |
+
mlp_ratio: 2
|
| 31 |
+
|
| 32 |
+
|
| 33 |
+
#training
|
| 34 |
+
val_iter: 1
|
| 35 |
+
lr: 0.001
|
| 36 |
+
batch_size: 1
|
| 37 |
+
|
| 38 |
+
optimizer:
|
| 39 |
+
type: AdamW
|
| 40 |
+
scheduler: OneCycleLR #OneCycleLR
|
| 41 |
+
loss_type: huber # options: mse, mae, huber
|
| 42 |
+
|
| 43 |
+
# scheduler: LinearWarmupCosineAnnealingLR
|
| 44 |
+
num_processes: 1
|
| 45 |
+
max_grad_norm: 1.0
|
| 46 |
+
mixed_precision: True #currently default fp16 is selected by torch.autocast(). Fp16 gave the best results for Transformer based models.
|
| 47 |
+
eval: False
|
| 48 |
+
|
| 49 |
+
|
| 50 |
+
chunked_eval: True # Default with True is evaluation of max chunks of size num_points that can fit in a data sample, to avoid small last chunks
|
| 51 |
+
train_ckpt_load: False ## Will load best model if ckpt_load is false
|
| 52 |
+
|
| 53 |
+
#logging
|
| 54 |
+
# test_name: "Final_surface_only_OCLR_3p9M_float32_A100"
|
| 55 |
+
|
| 56 |
+
pos_embed_sincos: False
|
| 57 |
+
use_rope : False
|
| 58 |
+
use_xavier_init: False # Set to true for Xavier uniform initialization, false for truncated normal
|
| 59 |
+
# sigma for confidence score
|
| 60 |
+
sigma: 3
|
| 61 |
+
|
| 62 |
+
project_name: ${dataset_name}
|
Incompressible flow over car/full_transform_params.json
ADDED
|
@@ -0,0 +1,40 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"mesh_stats": {
|
| 3 |
+
"min": [
|
| 4 |
+
-3.4729325771331787,
|
| 5 |
+
-1.36235511302948,
|
| 6 |
+
-0.09825284779071808
|
| 7 |
+
],
|
| 8 |
+
"max": [
|
| 9 |
+
3.9517974853515625,
|
| 10 |
+
1.36235511302948,
|
| 11 |
+
2.7738349437713623
|
| 12 |
+
],
|
| 13 |
+
"mean": [
|
| 14 |
+
0.04156165739940759,
|
| 15 |
+
-1.009201088640187e-18,
|
| 16 |
+
0.7471213421336442
|
| 17 |
+
],
|
| 18 |
+
"std": [
|
| 19 |
+
1.4202602139692266,
|
| 20 |
+
0.637785422763593,
|
| 21 |
+
0.4729766176454715
|
| 22 |
+
]
|
| 23 |
+
},
|
| 24 |
+
"scalars": {
|
| 25 |
+
"pressure": {
|
| 26 |
+
"min": -2440.914306640625,
|
| 27 |
+
"max": 778.2598266601562,
|
| 28 |
+
"mean": -82.46476859198359,
|
| 29 |
+
"std": 145.29254059628536
|
| 30 |
+
}
|
| 31 |
+
},
|
| 32 |
+
"boundary_conditions_max": {
|
| 33 |
+
"fluid_density": 1.184,
|
| 34 |
+
"inlet_velocity": 35.0,
|
| 35 |
+
"viscosity_dynamic": 1.847e-05
|
| 36 |
+
},
|
| 37 |
+
"max_num_points": 925282,
|
| 38 |
+
"mean_num_points": 662953.6781609196,
|
| 39 |
+
"min_num_points": 469670
|
| 40 |
+
}
|
Incompressible flow over car/latent_features.npy
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:cb0ba314382cd318cdfc0aac111d86fc361a41b4866975b54c93852b5039ef9e
|
| 3 |
+
size 211072
|
Incompressible flow over car/pca_embedding.npy
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:1a453f26faab0fb3be15e9fb484ab8dcdf35bde71257c264d83a5d6faf1642d2
|
| 3 |
+
size 952
|
Incompressible flow over car/pca_reducer.pkl
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:19f552e22f7c2f73d1ee88142d3862c28778dea68929f03a28254b9c2fe5f4ac
|
| 3 |
+
size 30720772
|
Incompressible flow over car/pca_scaler.pkl
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:16de9f26dc9b6dcb9ce1175d3890b829c18504a88aafb1e63837c963d0375a89
|
| 3 |
+
size 61440498
|
Incompressible flow over car/train_dist.npz
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:d16da556fd26a61f40756d78507b268681d137d667bf134da93985c010c95a98
|
| 3 |
+
size 126618
|
Structural analysis of bracket/config.yaml
ADDED
|
@@ -0,0 +1,58 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#data
|
| 2 |
+
dataset_name: deepjeb
|
| 3 |
+
test_name: "baseline"
|
| 4 |
+
gpu_id: 0
|
| 5 |
+
epochs: 300
|
| 6 |
+
data_dir: /raid/ansysai/udbhav/alpha_Xdata/xgm_data/data_prep_transformer/2_Structural_linear_static/deepjeb/1_VTK_surface/
|
| 7 |
+
|
| 8 |
+
json_file: ${data_dir}/../full_transform_params.json
|
| 9 |
+
|
| 10 |
+
splits_file: ${data_dir}/../
|
| 11 |
+
data_folder: ${dataset_name}
|
| 12 |
+
|
| 13 |
+
normalization: "std_norm"
|
| 14 |
+
norm_vars: "von_mises_stress"
|
| 15 |
+
physical_scale_for_test: True
|
| 16 |
+
|
| 17 |
+
|
| 18 |
+
# num_points: 40000
|
| 19 |
+
num_points: 15000
|
| 20 |
+
num_workers: 1
|
| 21 |
+
|
| 22 |
+
#model
|
| 23 |
+
indim: 3
|
| 24 |
+
outdim: 4
|
| 25 |
+
model: ansysLPFMs
|
| 26 |
+
hidden_dim: 256
|
| 27 |
+
n_heads: 8
|
| 28 |
+
n_decoder: 8
|
| 29 |
+
mlp_ratio: 2
|
| 30 |
+
|
| 31 |
+
|
| 32 |
+
#training
|
| 33 |
+
val_iter: 1
|
| 34 |
+
lr: 0.001
|
| 35 |
+
batch_size: 1
|
| 36 |
+
|
| 37 |
+
optimizer:
|
| 38 |
+
type: AdamW
|
| 39 |
+
scheduler: OneCycleLR #OneCycleLR
|
| 40 |
+
loss_type: huber # options: mse, mae, huber
|
| 41 |
+
|
| 42 |
+
# scheduler: LinearWarmupCosineAnnealingLR
|
| 43 |
+
num_processes: 1
|
| 44 |
+
max_grad_norm: 1.0
|
| 45 |
+
mixed_precision: True #currently default fp16 is selected by torch.autocast(). Fp16 gave the best results for Transformer based models.
|
| 46 |
+
eval: False
|
| 47 |
+
|
| 48 |
+
|
| 49 |
+
chunked_eval: True # Default with True is evaluation of max chunks of size num_points that can fit in a data sample, to avoid small last chunks
|
| 50 |
+
train_ckpt_load: False ## Will load best model if ckpt_load is false
|
| 51 |
+
|
| 52 |
+
#logging
|
| 53 |
+
# test_name: "Final_surface_only_OCLR_3p9M_float32_A100"
|
| 54 |
+
|
| 55 |
+
pos_embed_sincos: True
|
| 56 |
+
|
| 57 |
+
|
| 58 |
+
project_name: ${dataset_name}
|
Structural analysis of bracket/full_transform_params.json
ADDED
|
@@ -0,0 +1,61 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"mesh_stats": {
|
| 3 |
+
"min": [
|
| 4 |
+
-39.4561,
|
| 5 |
+
-164.829,
|
| 6 |
+
-0.660644
|
| 7 |
+
],
|
| 8 |
+
"max": [
|
| 9 |
+
73.00727,
|
| 10 |
+
21.59413,
|
| 11 |
+
65.88816
|
| 12 |
+
],
|
| 13 |
+
"mean": [
|
| 14 |
+
14.378833339963359,
|
| 15 |
+
-70.12945824215386,
|
| 16 |
+
19.648179770356553
|
| 17 |
+
],
|
| 18 |
+
"std": [
|
| 19 |
+
25.41684127064301,
|
| 20 |
+
49.219533224947526,
|
| 21 |
+
14.945247349739933
|
| 22 |
+
]
|
| 23 |
+
},
|
| 24 |
+
"scalars": {
|
| 25 |
+
"von_mises_stress": {
|
| 26 |
+
"min": -379.1768394875346,
|
| 27 |
+
"max": 425.25385344927463,
|
| 28 |
+
"mean": 22.799127814174668,
|
| 29 |
+
"std": 77.70355231295902
|
| 30 |
+
},
|
| 31 |
+
"x_displacement": {
|
| 32 |
+
"min": -0.27920543884164056,
|
| 33 |
+
"max": 0.33591902881152996,
|
| 34 |
+
"mean": 0.028007646216518724,
|
| 35 |
+
"std": 0.059356218220308093
|
| 36 |
+
},
|
| 37 |
+
"y_displacement": {
|
| 38 |
+
"min": -0.10354705206573399,
|
| 39 |
+
"max": 0.10148109386521943,
|
| 40 |
+
"mean": -0.001005061685581641,
|
| 41 |
+
"std": 0.019455714218423757
|
| 42 |
+
},
|
| 43 |
+
"z_displacement": {
|
| 44 |
+
"min": -0.200961,
|
| 45 |
+
"max": 0.6233766340719438,
|
| 46 |
+
"mean": 0.08011871363216146,
|
| 47 |
+
"std": 0.10814779545698262
|
| 48 |
+
}
|
| 49 |
+
},
|
| 50 |
+
"boundary_conditions_max": {
|
| 51 |
+
"youngs_modulus": 113.8,
|
| 52 |
+
"poissons_ratio": 0.342,
|
| 53 |
+
"material_density": 0.00447,
|
| 54 |
+
"force_x": 0.0,
|
| 55 |
+
"force_y": 0.0,
|
| 56 |
+
"force_z": 35.6,
|
| 57 |
+
"torque_x": 0.0,
|
| 58 |
+
"torque_y": 0.0,
|
| 59 |
+
"torque_z": 0.0
|
| 60 |
+
}
|
| 61 |
+
}
|
Structural analysis of bracket/train_dist.npz
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f62cc7f80d090474c39fd0021e6b430d0e94117f31b37b3b7de4edfa1a8dc10b
|
| 3 |
+
size 126618
|
Vehicle crash analysis/config.yaml
ADDED
|
@@ -0,0 +1,58 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#data
|
| 2 |
+
dataset_name: deepjeb
|
| 3 |
+
test_name: "baseline"
|
| 4 |
+
gpu_id: 0
|
| 5 |
+
epochs: 300
|
| 6 |
+
data_dir: /raid/ansysai/udbhav/alpha_Xdata/xgm_data/data_prep_transformer/2_Structural_linear_static/deepjeb/1_VTK_surface/
|
| 7 |
+
|
| 8 |
+
json_file: ${data_dir}/../full_transform_params.json
|
| 9 |
+
|
| 10 |
+
splits_file: ${data_dir}/../
|
| 11 |
+
data_folder: ${dataset_name}
|
| 12 |
+
|
| 13 |
+
normalization: "std_norm"
|
| 14 |
+
norm_vars: "von_mises_stress"
|
| 15 |
+
physical_scale_for_test: True
|
| 16 |
+
|
| 17 |
+
|
| 18 |
+
# num_points: 40000
|
| 19 |
+
num_points: 2000 #15000
|
| 20 |
+
num_workers: 1
|
| 21 |
+
|
| 22 |
+
#model
|
| 23 |
+
indim: 3
|
| 24 |
+
outdim: 4
|
| 25 |
+
model: ansysLPFMs
|
| 26 |
+
hidden_dim: 256
|
| 27 |
+
n_heads: 8
|
| 28 |
+
n_decoder: 8
|
| 29 |
+
mlp_ratio: 2
|
| 30 |
+
|
| 31 |
+
|
| 32 |
+
#training
|
| 33 |
+
val_iter: 1
|
| 34 |
+
lr: 0.001
|
| 35 |
+
batch_size: 1
|
| 36 |
+
|
| 37 |
+
optimizer:
|
| 38 |
+
type: AdamW
|
| 39 |
+
scheduler: OneCycleLR #OneCycleLR
|
| 40 |
+
loss_type: huber # options: mse, mae, huber
|
| 41 |
+
|
| 42 |
+
# scheduler: LinearWarmupCosineAnnealingLR
|
| 43 |
+
num_processes: 1
|
| 44 |
+
max_grad_norm: 1.0
|
| 45 |
+
mixed_precision: True #currently default fp16 is selected by torch.autocast(). Fp16 gave the best results for Transformer based models.
|
| 46 |
+
eval: False
|
| 47 |
+
|
| 48 |
+
|
| 49 |
+
chunked_eval: True # Default with True is evaluation of max chunks of size num_points that can fit in a data sample, to avoid small last chunks
|
| 50 |
+
train_ckpt_load: False ## Will load best model if ckpt_load is false
|
| 51 |
+
|
| 52 |
+
#logging
|
| 53 |
+
# test_name: "Final_surface_only_OCLR_3p9M_float32_A100"
|
| 54 |
+
|
| 55 |
+
pos_embed_sincos: True
|
| 56 |
+
|
| 57 |
+
|
| 58 |
+
project_name: ${dataset_name}
|
Vehicle crash analysis/full_transform_params.json
ADDED
|
@@ -0,0 +1,61 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"mesh_stats": {
|
| 3 |
+
"min": [
|
| 4 |
+
-39.4561,
|
| 5 |
+
-164.829,
|
| 6 |
+
-0.660644
|
| 7 |
+
],
|
| 8 |
+
"max": [
|
| 9 |
+
73.00727,
|
| 10 |
+
21.59413,
|
| 11 |
+
65.88816
|
| 12 |
+
],
|
| 13 |
+
"mean": [
|
| 14 |
+
14.378833339963359,
|
| 15 |
+
-70.12945824215386,
|
| 16 |
+
19.648179770356553
|
| 17 |
+
],
|
| 18 |
+
"std": [
|
| 19 |
+
25.41684127064301,
|
| 20 |
+
49.219533224947526,
|
| 21 |
+
14.945247349739933
|
| 22 |
+
]
|
| 23 |
+
},
|
| 24 |
+
"scalars": {
|
| 25 |
+
"von_mises_stress": {
|
| 26 |
+
"min": -379.1768394875346,
|
| 27 |
+
"max": 425.25385344927463,
|
| 28 |
+
"mean": 22.799127814174668,
|
| 29 |
+
"std": 77.70355231295902
|
| 30 |
+
},
|
| 31 |
+
"x_displacement": {
|
| 32 |
+
"min": -0.27920543884164056,
|
| 33 |
+
"max": 0.33591902881152996,
|
| 34 |
+
"mean": 0.028007646216518724,
|
| 35 |
+
"std": 0.059356218220308093
|
| 36 |
+
},
|
| 37 |
+
"y_displacement": {
|
| 38 |
+
"min": -0.10354705206573399,
|
| 39 |
+
"max": 0.10148109386521943,
|
| 40 |
+
"mean": -0.001005061685581641,
|
| 41 |
+
"std": 0.019455714218423757
|
| 42 |
+
},
|
| 43 |
+
"z_displacement": {
|
| 44 |
+
"min": -0.200961,
|
| 45 |
+
"max": 0.6233766340719438,
|
| 46 |
+
"mean": 0.08011871363216146,
|
| 47 |
+
"std": 0.10814779545698262
|
| 48 |
+
}
|
| 49 |
+
},
|
| 50 |
+
"boundary_conditions_max": {
|
| 51 |
+
"youngs_modulus": 113.8,
|
| 52 |
+
"poissons_ratio": 0.342,
|
| 53 |
+
"material_density": 0.00447,
|
| 54 |
+
"force_x": 0.0,
|
| 55 |
+
"force_y": 0.0,
|
| 56 |
+
"force_z": 35.6,
|
| 57 |
+
"torque_x": 0.0,
|
| 58 |
+
"torque_y": 0.0,
|
| 59 |
+
"torque_z": 0.0
|
| 60 |
+
}
|
| 61 |
+
}
|
Vehicle crash analysis/train_dist.npz
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f62cc7f80d090474c39fd0021e6b430d0e94117f31b37b3b7de4edfa1a8dc10b
|
| 3 |
+
size 126618
|