def LoadData(): print("reading data...") dr = CifarImageReader(file_1, file_2, file_3, file_4, file_5, test_file) dr.ReadData() dr.NormalizeX() dr.NormalizeY(YNormalizationMethod.MultipleClassifier) dr.GenerateValidationSet(k=20) print(dr.num_validation, dr.num_example, dr.num_test, dr.num_train) return dr
def LoadData(): print("reading data...") dr = CifarImageReader() dr.ReadData() dr.NormalizeX() dr.NormalizeY(NetType.MultipleClassifier) dr.GenerateValidationSet(k=20) print(dr.num_validation, dr.num_example, dr.num_test, dr.num_train) return dr