Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test_dice #13

Open
15793723081 opened this issue Oct 15, 2020 · 2 comments
Open

test_dice #13

15793723081 opened this issue Oct 15, 2020 · 2 comments

Comments

@15793723081
Copy link

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?

@fu123456
Copy link

fu123456 commented Aug 8, 2021

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'

@shanpriya3
Copy link

Hi, I am getting the same error. Did you @fu123456 manage to solve this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants