bnsreenu / python_for_microscopists

https://www.youtube.com/channel/UC34rW-HtPJulxr5wp2Xa04w?sub_confirmation=1
MIT License
3.78k stars 2.35k forks source link

Need help to get out of the below error. #59

Open nagamani86 opened 1 year ago

nagamani86 commented 1 year ago

Hi All, while i am executing 228-semantic segmentation of arieal images using U_net i encountered the below error. Please help me in resolving this. WARNING:matplotlib.image:Clipping input data to the valid range for imshow with RGB data ([0..1] for floats or [0..255] for integers).

IndexError Traceback (most recent call last)

in 7 plt.imshow(np.reshape(image_dataset[image_number], (patch_size, patch_size, 3))) 8 plt.subplot(122) ----> 9 plt.imshow(np.reshape(mask_dataset[image_number], (patch_size, patch_size, 3))) 10 plt.show() IndexError: list index out of range
PankajKannavedia commented 8 months ago

can you help me with specified version or requirement.txt