We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0014ae6 commit c97b6aaCopy full SHA for c97b6aa
scripts/huggingface/upload_model.py
@@ -64,7 +64,8 @@ def main(cfg: DictConfig):
64
logger.info(f"Instantiate model {cfg.model._target_}")
65
model = instantiate(
66
cfg.model,
67
- dset_metadata=dset_metadata,
+ n_spatail_dims=dset_metadata.n_spatial_dims,
68
+ spatial_resolution=dset_metadata.spatial_resolution,
69
dim_in=n_input_fields,
70
dim_out=n_output_fields,
71
)
0 commit comments