With get_segmentation_learner(architecture_name='hrnet', backbone_name='hrnet_w18').
Using the following callback to save the models during training:
SaveModelCallback(monitor='dice_multi', fname='best_model', with_opt=True)
The results of the predictions after loading "best_model.pth" with learner.load are zero-filled masks.
The prediction using the learner right after training are correct.
With
get_segmentation_learner(architecture_name='hrnet', backbone_name='hrnet_w18').Using the following callback to save the models during training:
SaveModelCallback(monitor='dice_multi', fname='best_model', with_opt=True)The results of the predictions after loading "best_model.pth" with
learner.loadare zero-filled masks.The prediction using the learner right after training are correct.