brucechou1983 / CheXNet-Keras

This project is a tool to build CheXNet-like models, written in Keras.
MIT License
294 stars 145 forks source link

Scaling and normalisation #50

Closed samunaai closed 4 years ago

samunaai commented 4 years ago

When you scale by 255, some of the pixels which already have a value close to zero (such as black part of the image) will have a very small number as the value. However, when you go on to substract the imagenet mean, some pixels will have negative values. Is this as intended?