Skip to content

Commit

Permalink
minor changes
Browse files Browse the repository at this point in the history
  • Loading branch information
unknown authored and unknown committed Jul 2, 2021
1 parent 86fa659 commit 0f0a2a2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions UnMicst1-5.py
Original file line number Diff line number Diff line change
Expand Up @@ -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]:
Expand All @@ -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]))
Expand Down

0 comments on commit 0f0a2a2

Please sign in to comment.