rykov8 / ssd_keras

Port of Single Shot MultiBox Detector to Keras
MIT License
1.1k stars 553 forks source link

Did this implementation do the train data normalization? #145

Open sonallhay opened 6 years ago

sonallhay commented 6 years ago

After saved the xml by the code get_data_from_XML.py, I couldn't find train data & test data normalization in the Generator class. Is there need to be added? Or not implement it for a reason? Sth like this is what I'm trying to look for in the code. #z-score mean = np.mean(x_train,axis=(0,1,2,3)) std = np.std(x_train,axis=(0,1,2,3)) x_train = (x_train-mean)/(std+1e-7) x_test = (x_test-mean)/(std+1e-7)