Skip to content

Commit

Permalink
remove scale_dims
Browse files Browse the repository at this point in the history
  • Loading branch information
JPXKQX committed Feb 20, 2025
1 parent e7ad5d9 commit 06d3aab
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions training/tests/train/test_loss_scaling.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@ def fake_data(request: SubRequest) -> tuple[DictConfig, IndexCollection]:
"additional_scaler": request.param,
"general_variable": {
"_target_": "anemoi.training.losses.scalers.GeneralVariableLossScaler",
"scale_dim": -1, # dimension on which scaling applied
"weights": {
"default": 1,
"z": 0.1,
Expand Down Expand Up @@ -99,7 +98,6 @@ def fake_data(request: SubRequest) -> tuple[DictConfig, IndexCollection]:
"_target_": "anemoi.training.losses.scalers.GraphNodeAttributeScaler",
"nodes_name": "test_nodes",
"nodes_attribute_name": "test_attr",
"apply_output_mask": False,
"norm": "unit-sum",
}

Expand All @@ -109,7 +107,6 @@ def fake_data(request: SubRequest) -> tuple[DictConfig, IndexCollection]:
"nodes_attribute_name": "test_attr",
"scaling_mask_attribute_name": "mask",
"weight_frac_of_total": 0.4,
"apply_output_mask": False,
"norm": "unit-sum",
}

Expand Down

0 comments on commit 06d3aab

Please sign in to comment.