文档服务地址:http://47.92.0.57:3000/ 周报索引地址:http://47.92.0.57:3000/s/NruNXRYmV

Commit ac7595c5 by 王肇一

channel 3

parent 7a9ce116
......@@ -102,7 +102,7 @@ if __name__ == "__main__":
in_files = args.input
out_files = get_output_filenames(args)
net = UNet(n_channels=1, n_classes=1)
net = UNet(n_channels=3, n_classes=1)
logging.info("Loading model {}".format(args.model))
......
......@@ -146,7 +146,7 @@ if __name__ == '__main__':
# - For 1 class and background, use n_classes=1
# - For 2 classes, use n_classes=1
# - For N > 2 classes, use n_classes=N
net = UNet(n_channels=1, n_classes=1)
net = UNet(n_channels=3, n_classes=1)
logging.info(f'Network:\n'
f'\t{net.n_channels} input channels\n'
f'\t{net.n_classes} output channels (classes)\n'
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment