Skip to content
This repository has been archived by the owner on Dec 20, 2024. It is now read-only.

Commit

Permalink
replace "hidden" by variable
Browse files Browse the repository at this point in the history
  • Loading branch information
JPXKQX committed Jun 10, 2024
1 parent c63601e commit eac91e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/anemoi/models/graph/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ def __init__(self, graph_data: dict, config: DotDict) -> None:
self.num_nodes = {name: graph_data[name]["coords"].shape[0] for name in self.mesh_names}
self.num_node_features = {name: 2 * graph_data[name]["coords"].shape[1] for name in self.mesh_names}
self.num_trainable_params = {
name: config.model.trainable_parameters["data" if name != "hidden" else name]
name: config.model.trainable_parameters["data" if name != self.hidden_name else name]
for name in self.mesh_names
}

Expand Down

0 comments on commit eac91e3

Please sign in to comment.