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 node_weights tensor is never passed as an argument to individual losses. The node_loss_weights resolves with hydra in a GraphNodeAttribute which does not translate anywhere into a tensor other than through the get_node_weights method from the GraphForecaster.
It means that the node_weights tensor is provided as a kwarg to the CombinedLoss init, which does not need it, but when hydra instantiates the individual losses, there is no tensor but only a GraphNodeAttribute object.
Reminder: the CombinedLoss is not tested.
What are the steps to reproduce the bug?
Write that in the training config (the documentation string is wrong, node_weights is not provided anywhere if you follow it).
What happened?
The node_weights tensor is never passed as an argument to individual losses. The node_loss_weights resolves with hydra in a GraphNodeAttribute which does not translate anywhere into a tensor other than through the get_node_weights method from the GraphForecaster.
It means that the node_weights tensor is provided as a kwarg to the CombinedLoss init, which does not need it, but when hydra instantiates the individual losses, there is no tensor but only a GraphNodeAttribute object.
Reminder: the CombinedLoss is not tested.
What are the steps to reproduce the bug?
Write that in the training config (the documentation string is wrong, node_weights is not provided anywhere if you follow it).
Version
latest develop
Platform (OS and architecture)
Linux balfrin-ln002 5.14.21-150400.24.81_12.0.87-cray_shasta_c
Relevant log output
No response
Accompanying data
MeteoSwiss
Organisation
MeteoSwiss
The text was updated successfully, but these errors were encountered: