File tree Expand file tree Collapse file tree 2 files changed +9
-5
lines changed
Expand file tree Collapse file tree 2 files changed +9
-5
lines changed Original file line number Diff line number Diff line change @@ -152,6 +152,9 @@ class DataConfig(BaseModel):
152152 # DataLoader configuration
153153 batch_size : int = Field (default = 4 , description = "Batch size for DataLoader" )
154154 dtype : str = Field (default = "float32" , description = "Data type (float32 or float64)" )
155+ use_normalization : bool = Field (
156+ default = False , description = "Whether to use normalization (for Well datasets)"
157+ )
155158
156159 def get_source_type (self ) -> DataSourceType :
157160 """Automatically determine data source type from configuration."""
@@ -161,10 +164,9 @@ def get_source_type(self) -> DataSourceType:
161164 # Auto-detect based on fields
162165 if self .well_dataset_name is not None :
163166 return DataSourceType .WELL_NATIVE
164- elif self .data_path is not None :
167+ if self .data_path is not None :
165168 return DataSourceType .FILE
166- else :
167- return DataSourceType .GENERATED
169+ return DataSourceType .GENERATED
168170
169171
170172class TeacherForcingConfig (BaseModel ):
Original file line number Diff line number Diff line change @@ -15,8 +15,9 @@ formatter_type: "default_channels_first"
1515model_params :
1616 modes1 : 16
1717 modes2 : 16
18- width : 20
19- n_blocks : 4
18+ hidden_channels : 128
19+ # width: 20
20+ # n_blocks: 4
2021
2122# Data configuration - The Well native dataset
2223# Setting well_dataset_name automatically uses WELL_NATIVE source type
2627 n_steps_input : 4
2728 n_steps_output : 1
2829 batch_size : 4
30+ use_normalization : true
2931
3032# No simulator section needed for native Well datasets!
3133
You can’t perform that action at this time.
0 commit comments