Skip to content

Commit ad1e21a

Browse files
committed
Do not pass dataset metadata to model
1 parent c2c5699 commit ad1e21a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

the_well/benchmark/train.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,8 @@ def train(
5757
)
5858
model: torch.nn.Module = instantiate(
5959
cfg.model,
60-
dset_metadata=dset_metadata,
60+
n_spatial_dims=dset_metadata.n_spatial_dims,
61+
spatial_resolution=dset_metadata.spatial_resolution,
6162
dim_in=n_input_fields,
6263
dim_out=n_output_fields,
6364
)

0 commit comments

Comments
 (0)