# 圖像增強 inputs = tf.image.random_flip_left_right(inputs) # 圖像隨機翻轉 inputs = tf.image.random_brightness(inputs,max_delta=0.1) # 圖像隨機光照 inputs = tf.image.random_contrast(inputs,lower=0.2,upper=1.8) # 圖像對比度
# 圖像增強 inputs = tf.image.random_flip_left_right(inputs) # 圖像隨機翻轉 inputs = tf.image.random_brightness(inputs,max_delta=0.1) # 圖像隨機光照 inputs = tf.image.random_contrast(inputs,lower=0.2,upper=1.8) # 圖像對比度
本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。