Skip to content
Snippets Groups Projects
Commit 172ad03d authored by Tamino Huxohl's avatar Tamino Huxohl
Browse files

update dataset in measures

parent 1e16732e
No related branches found
No related tags found
No related merge requests found
...@@ -116,7 +116,7 @@ if __name__ == "__main__": ...@@ -116,7 +116,7 @@ if __name__ == "__main__":
parser.add_argument( parser.add_argument(
"--dataset_dir", "--dataset_dir",
type=str, type=str,
default="data/initial/", default="data/second/",
help="directory where the dataset is found", help="directory where the dataset is found",
) )
parser.add_argument( parser.add_argument(
...@@ -147,7 +147,8 @@ if __name__ == "__main__": ...@@ -147,7 +147,8 @@ if __name__ == "__main__":
torch.set_grad_enabled(False) torch.set_grad_enabled(False)
device = torch.device(args.device) device = torch.device(args.device)
model = UNet(features=[32, 64, 128, 256, 512]) # model = UNet(features=[32, 64, 128, 256, 512])
model = UNet(features=[64, 128, 256, 512])
model.load_state_dict(torch.load(args.weights, map_location=device)) model.load_state_dict(torch.load(args.weights, map_location=device))
model = model.to(device).eval() model = model.to(device).eval()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment