HenriquesLab / ZeroCostDL4Mic

ZeroCostDL4Mic: A Google Colab based no-cost toolbox to explore Deep-Learning in Microscopy
MIT License
566 stars 130 forks source link

Issue with StarDist2D 6.1 Generate predictions #228

Closed mzouiouich closed 1 year ago

mzouiouich commented 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

Bests, Mehdi

esgomezm commented 1 year ago

Dear @mzouiouich I have updated the notebook already and now it should work :)