You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The following lines in anemoi/training/train/forecaster.py, break the training functionality if a hierarchical graph is used:
# Check if the model is a stretched grid
if graph_data["hidden"].node_type == "StretchedTriNodes":
mask_name = config.graph.nodes.hidden.node_builder.mask_attr_name
limited_area_mask = graph_data[config.graph.data][mask_name].squeeze().bool()
else:
limited_area_mask = torch.ones((1,))
Hierarchical graphs have a graph structure defined as:
What happened?
The following lines in anemoi/training/train/forecaster.py, break the training functionality if a hierarchical graph is used:
Hierarchical graphs have a graph structure defined as:
therefore cannot access graph_data["hidden"], as it does not exist.
In case of hierarchical graphs multiple masks can be computed, each per dept.
What are the steps to reproduce the bug?
Run any training config using a hierarchical graph architecture.
Version
training-0.3.3
Platform (OS and architecture)
Linux
Relevant log output
Accompanying data
No response
Organisation
MeteoSwiss
The text was updated successfully, but these errors were encountered: