a9b528c9bdeeb76d390827d4efdad4945f5c424c,examples/cifar_adversarial_training.py,,,#,10

Before Change


import sys
from os.path import abspath

sys.path.append(abspath("."))

import keras.backend as k
from keras.models import Sequential

After Change


from art.utils import load_dataset

// Configure a logger to capture ART outputs; these are printed in console and the level of detail is set to INFO
logger = logging.getLogger()
logger.setLevel(logging.INFO)
handler = logging.StreamHandler()
formatter = logging.Formatter("[%(levelname)s] %(message)s")
handler.setFormatter(formatter)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: IBM/adversarial-robustness-toolbox
Commit Name: a9b528c9bdeeb76d390827d4efdad4945f5c424c
Time: 2019-02-12
Author: Maria-Irina.Nicolae@ibm.com
File Name: examples/cifar_adversarial_training.py
Class Name:
Method Name:


Project Name: IBM/adversarial-robustness-toolbox
Commit Name: 260185d588c91aa37991a9e3c886bf6ae2e57193
Time: 2019-02-13
Author: Maria-Irina.Nicolae@ibm.com
File Name: examples/cifar_adversarial_training.py
Class Name:
Method Name:


Project Name: codelucas/newspaper
Commit Name: bb9d76bff06d89033a73d60afc4379e12cadc494
Time: 2013-12-29
Author: lucasyangpersonal@gmail.com
File Name: newspaper/configuration.py
Class Name:
Method Name: