Skip to content

Commit

Permalink
reading predefined config
Browse files Browse the repository at this point in the history
  • Loading branch information
sarthakpati authored Jul 25, 2023
1 parent 0b08214 commit 6ff7a9a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions testing/test_full.py
Original file line number Diff line number Diff line change
Expand Up @@ -1234,6 +1234,9 @@ def test_train_losses_segmentation_rad_2d(device):
parameters = populate_header_in_parameters(parameters, parameters["headers"])
# loop through selected models and train for single epoch
for loss_type in ["dc", "dc_log", "dcce", "dcce_logits", "tversky", "focal"]:
parameters = parseConfig(
testingDir + "/config_segmentation.yaml", version_check_flag=False
)
parameters["loss_function"] = loss_type
parameters["nested_training"]["testing"] = -5
parameters["nested_training"]["validation"] = -5
Expand Down

0 comments on commit 6ff7a9a

Please sign in to comment.