wclw1021 commited on
Commit
5211b85
·
verified ·
1 Parent(s): 7e9711d

Add fancy_fluid checkpoint config

Browse files
Files changed (1) hide show
  1. fancy_fluid/checkpoint/config.yaml +79 -0
fancy_fluid/checkpoint/config.yaml ADDED
@@ -0,0 +1,79 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # ========================================================
2
+ # ⚠️ Model Capacity Constraints
3
+ # ========================================================
4
+ # 1. cconv_embedding_dim: output feature dimension of continuous convolutions.
5
+ # Higher values increase model capacity.
6
+ #
7
+ # 2. slot_attn_heads: number of attention heads in slot attention.
8
+ # Must satisfy:
9
+ # combined_feat_dim % slot_attn_heads == 0
10
+ # where
11
+ # combined_feat_dim = cconv_embedding_dim * factor
12
+ # factor = 3 for fluid data, 2 for protein data
13
+ # Each head dimension: dim_head = combined_feat_dim / slot_attn_heads
14
+ #
15
+ # 3. particle_position_rope_dim: RoPE encoding dimension for particle positions.
16
+ # Must satisfy:
17
+ # particle_position_rope_dim % 6 == 0 # 3D positions × (cos + sin)
18
+ # particle_position_rope_dim <= dim_head
19
+ #
20
+ # 4. CrossAttentionWeightedPoswithFeature:
21
+ # input feature dimension `dim` must be divisible by n_heads:
22
+ # dim % n_heads == 0
23
+ # ========================================================
24
+
25
+ device: cuda
26
+ batch_size: 1
27
+ num_workers: 16
28
+ seed: 42
29
+
30
+ lr: 0.0001
31
+ epochs: 50000
32
+
33
+ pos_loss_weight: 100.0
34
+ vel_loss_weight: 100.0
35
+
36
+ max_skip_frames: 1
37
+ max_traj_len: 3
38
+
39
+ gravity: [0.0, -9.81, 0.0]
40
+ timestep: 0.01
41
+ particle_radius: 0.012
42
+
43
+ kernel_size: [4, 4, 4]
44
+ cconv_embedding_dim: 384
45
+ radius_scale: 1.5
46
+ coordinate_mapping: ball_to_cube_volume_preserving
47
+ interpolation: linear
48
+ use_window: true
49
+ # Topology branch controls:
50
+ # - null => use built-in rules declared in FluidDataset.py
51
+ # - true/false or numeric radius => manual override
52
+ use_topology_conv: null
53
+ topology_search_radius: null
54
+ # topology_blend_alpha:
55
+ # - null => learnable alpha
56
+ # - number in [0,1] => fixed alpha
57
+ topology_blend_alpha: null
58
+
59
+ slot_compression_ratio: 4 # never used
60
+ slot_attn_iters: 6
61
+ slot_attn_heads: 16
62
+ k_partite: 2
63
+ particle_position_rope_dim: 48 # 必须 %6 == 0
64
+ num_decoder_layers: 8
65
+ decoder_attn_heads: 12
66
+ decoder_attn_ffn_hidden_dim: 512
67
+ decoder_attn_dropout: 0.1
68
+ output_hidden_dim: 512
69
+ output_layers: 5
70
+ verbose: false
71
+
72
+ project_name: fancy_fluid
73
+ tab_name: AAA_test_1
74
+ data: fancy_fluid
75
+ velhead: True
76
+ val_rollout: 590
77
+
78
+ frame_start: 0
79
+ frame_end: 600