pytorch-UNet
pytorch-UNet copied to clipboard
test_dice
After the prediction code is run, only the output image is obtained. How to use these outputs to obtain the dice coefficient? Did you calculate the dice coefficient of the prediction set?How do you calculate that?
I run predict.py file with my own configuration arguments, but it outputs error: NameEooor: name 'unet' is not defined. If I write "import unet', it also outputs error: model = Model(unet, checkpoint_folder=args.results_path, device=args.device) TypeError: init() missing 2 required positional arguments: 'loss' and 'optimizer'
Hi, I am getting the same error. Did you @fu123456 manage to solve this?