7b6fd231d17cd1fd88c1fc163a33f1049d63e7b0,examples/transferlearning_model.py,,,#,4
Before Change
data_loader = DataLoader(from_csv=True, emotion_map=fer_dataset_label_map, datapath=csv_file_path,
image_dimensions=raw_dimensions, csv_label_col=0, csv_image_col=1, out_channels=3)
dataset = data_loader.get_data()
labels = dataset.get_labels()
images = dataset.get_images()
if verbose:
print("raw image shape: " + str(images.shape))
print("Creating training/testing data...")
validation_split = 0.15
X_train, X_test, y_train, y_test = train_test_split(images, labels,
test_size=validation_split, random_state=42, stratify=labels)
train_gen = DataGenerator().fit(X_train, y_train)
test_gen = DataGenerator().fit(X_test, y_test)
print("--------------- Inception-V3 Model -------------------")
After Change
print("Creating training/testing data...")
train_images, train_labels = dataset.get_training_data()
train_gen = DataGenerator().fit(train_images, train_labels)
test_images, test_labels = dataset.get_test_data()
test_gen = DataGenerator().fit(test_images, test_labels)
print("Initializing neural network with InceptionV3 base model...")
In pattern: SUPERPATTERN
Frequency: 4
Non-data size: 11
Instances
Project Name: thoughtworksarts/EmoPy
Commit Name: 7b6fd231d17cd1fd88c1fc163a33f1049d63e7b0
Time: 2018-04-26
Author: angelica.perez37@gmail.com
File Name: examples/transferlearning_model.py
Class Name:
Method Name:
Project Name: thoughtworksarts/EmoPy
Commit Name: 7b6fd231d17cd1fd88c1fc163a33f1049d63e7b0
Time: 2018-04-26
Author: angelica.perez37@gmail.com
File Name: examples/convolutional_model.py
Class Name:
Method Name:
Project Name: thoughtworksarts/EmoPy
Commit Name: 7b6fd231d17cd1fd88c1fc163a33f1049d63e7b0
Time: 2018-04-26
Author: angelica.perez37@gmail.com
File Name: examples/timedelay_conv_model.py
Class Name:
Method Name:
Project Name: thoughtworksarts/EmoPy
Commit Name: 7b6fd231d17cd1fd88c1fc163a33f1049d63e7b0
Time: 2018-04-26
Author: angelica.perez37@gmail.com
File Name: examples/transferlearning_model.py
Class Name:
Method Name:
Project Name: thoughtworksarts/EmoPy
Commit Name: 7b6fd231d17cd1fd88c1fc163a33f1049d63e7b0
Time: 2018-04-26
Author: angelica.perez37@gmail.com
File Name: examples/convolutional_lstm_model.py
Class Name:
Method Name: