-
Notifications
You must be signed in to change notification settings - Fork 64
Open
Description
Hi, I tried running your code but it hangs around the line below with `"unet TypeError: function takes exactly 1 argument (3 given)".
I have commented the section. Please kindly advise,
Training process
if TRAIN:
unet_model.train()
path = os.path.join('saved_models',MODEL_NAME) if SAVE_MODEL else None
unet_train_history = unet_classifier.train(EPOCHS,trainloader,mini_batch=100,save_best=path)
print(f'Training Finished after {EPOCHS} epoches')
Testing process on test data.
unet_model.eval()
unet_score = unet_classifier.test(testloader) #unet TypeError: function takes exactly 1 argument (3 given)
print(f'\n\nDice Score {unet_score}')
Dice Score 0.7446110107881675
`
Metadata
Metadata
Assignees
Labels
No labels