Chest-X-Ray-Images-Pneumonia肺炎X射线图像识别健康或肺炎患者,基于tensorflow2.0 CNN

github:https://github.com/zoe9698/Chest-X-Ray-Images-Pneumonia-

参考文献:https://tensorflow.google.cn/tutorials

 

  • 数据集:Chest X-Ray Images (Pneumonia)

  • 数据集观察:肺炎肺有雾化的阴影
  • 数据预处理:
'''
图片预处理
'''
def preprocess_image(image):
    '''
    image=img_raw
    '''
    image = tf.image.decode_png(image,channels=3)
    
    image = tf.image.resize(image,[128,128]) #裁剪大小
    image /= 255.0 #归一化
    return image

def load_and_preprocess_

你可能感兴趣的:(tensorflow)