From 0f0a2a2b125b4913d2884b018e454e1c9523e3ef Mon Sep 17 00:00:00 2001 From: unknown Date: Thu, 1 Jul 2021 20:21:07 -0400 Subject: [PATCH] minor changes --- UnMicst1-5.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/UnMicst1-5.py b/UnMicst1-5.py index 193e98b..5d180d0 100644 --- a/UnMicst1-5.py +++ b/UnMicst1-5.py @@ -820,6 +820,7 @@ def singleImageInference(image, mode, pmIndex): 'metadata': None, 'append': False, } + print(nClass) if args.stackOutput: slice = 0 for iClass in args.classOrder[::-1]: @@ -841,6 +842,7 @@ def singleImageInference(image, mode, pmIndex): skimage.io.imsave(args.outputPath + '//qc//' + fileNamePrefix[0] + '_Preview_' + str(dapiChannel) + '.tif', np.uint8(255 * rawI), **append_kwargs) slice = slice + 1 + print(slice) else: contours = np.uint8(255 * UNet2D.singleImageInference(cells, 'accumulate', args.classOrder[1]))