516c2a4c7e8f92e1ea299e966215c2ffe4c5b980,cifar10.py,,,#,14
Before Change
test_generator = ImageDataGenerator(featurewise_center=True,
featurewise_std_normalization=True)
test_generator.fit(testX, augment=True, seed=0)
// Load model
model.load_weights("weights/DenseNet-40-12-CIFAR10.h5")
print("Model loaded.")
After Change
(trainX, trainY), (testX, testY) = cifar10.load_data()
trainX = trainX.astype("float32")
testX = testX.astype("float32")
trainX /= 255.
testX /= 255.
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 4
Instances
Project Name: titu1994/DenseNet
Commit Name: 516c2a4c7e8f92e1ea299e966215c2ffe4c5b980
Time: 2016-12-07
Author: titu1994@gmail.com
File Name: cifar10.py
Class Name:
Method Name:
Project Name: IBM/adversarial-robustness-toolbox
Commit Name: 226ac881c2bd28468dacfe8838d0b9cd0373ccc0
Time: 2020-08-03
Author: ebube.chuba@ibm.com
File Name: art/estimators/embedding/keras.py
Class Name: KerasAdversarialEmbedding
Method Name: fit
Project Name: yzhao062/pyod
Commit Name: 98aeec9fcc311086cb6953dded42b399af97f189
Time: 2018-05-25
Author: 9io9mZ9K#nNL
File Name: pyod/models/iforest.py
Class Name: IForest
Method Name: fit