jakeret / tf_unet

Generic U-Net Tensorflow implementation for image segmentation
GNU General Public License v3.0
1.9k stars 748 forks source link

util.py里的代码问题 #240

Closed zhulf0804 closed 5 years ago

zhulf0804 commented 5 years ago

如下代码段是否应该是if np.amax(img) != 0:

if np.argmax(img) != 0: img /= np.amax(img)

jakeret commented 5 years ago

what do you mean?

zhulf0804 commented 5 years ago

I'm sorry to describe it in Chinese.

I mean, the 77th line in the code file of https://github.com/jakeret/tf_unet/blob/master/tf_unet/util.py, you may have a very little mistake.

And i find you have corrected it 9 hours ago.