We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4cd7560 commit 01b3d0aCopy full SHA for 01b3d0a
test.py
@@ -27,7 +27,7 @@
27
print('len(test_loader) : {} @bs={}'.format(len(test_loader), cfg.test_bs))
28
29
# defining the model
30
-model = UNet(n_classes = 1, depth = 3, padding = True).to(device)
+model = UNet(n_classes = 1, depth = cfg.depth, padding = True).to(device)
31
32
ckpt_path = os.path.join(cfg.models_dir, cfg.ckpt)
33
ckpt = torch.load(ckpt_path)
0 commit comments