Closed mzouiouich closed 1 year ago
Hello,
I am having the following error when trying to predict on StarDist2D:
TypeError Traceback (most recent call last) in 90 91 if Mask_images: ---> 92 imsave(FILEnames[i], labels, polygons) 93 94 if Region_of_interests: /usr/local/lib/python3.8/dist-packages/tifffile/tifffile.py in imsave(*args, *kwargs) 1235 stacklevel=2, 1236 ) -> 1237 imwrite(args, **kwargs) 1238 1239 TypeError: imwrite() takes from 1 to 2 positional arguments but 3 were given
TypeError Traceback (most recent call last)
in 90 91 if Mask_images: ---> 92 imsave(FILEnames[i], labels, polygons) 93 94 if Region_of_interests:
/usr/local/lib/python3.8/dist-packages/tifffile/tifffile.py in imsave(*args, *kwargs) 1235 stacklevel=2, 1236 ) -> 1237 imwrite(args, **kwargs) 1238 1239
TypeError: imwrite() takes from 1 to 2 positional arguments but 3 were given
Bests, Mehdi
Dear @mzouiouich I have updated the notebook already and now it should work :)
Hello,
I am having the following error when trying to predict on StarDist2D:
Bests, Mehdi