7b6fd231d17cd1fd88c1fc163a33f1049d63e7b0,examples/convolutional_lstm_model.py,,,#,2

Before Change



if verbose:
    print("raw image data shape: " + str(images.shape))
label_count = len(labels[0])

print("Training net...")
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(time_delay=dataset.get_time_delay()).fit(X_train, y_train)
test_gen = DataGenerator(time_delay=dataset.get_time_delay()).fit(X_test, y_test)

model = ConvolutionalLstmNN(target_dimensions, channels, dataset.get_emotion_index_map(), time_delay=dataset.get_time_delay())

After Change


    dataset.print_data_details()

print("Preparing training/testing data...")
train_images, train_labels = dataset.get_training_data()
train_gen = DataGenerator(time_delay=dataset.get_time_delay()).fit(train_images, train_labels)
test_images, test_labels = dataset.get_test_data()
test_gen = DataGenerator(time_delay=dataset.get_time_delay()).fit(test_images, test_labels)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 4

Instances


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:


Project Name: scikit-learn/scikit-learn
Commit Name: 9d677b56f4244eb08f1c7e2061a1e86fd0aee748
Time: 2020-05-16
Author: olivier.grisel@gmail.com
File Name: examples/compose/plot_column_transformer_mixed_types.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/convolutional_lstm_model.py
Class Name:
Method Name: