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-scoremean = 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)
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)