thoughtworksarts / EmoPy

A deep neural net toolkit for emotion analysis via Facial Expression Recognition (FER)
https://thoughtworksarts.io/blog/emopy-emotional-expression-toolkit/
GNU Affero General Public License v3.0
919 stars 264 forks source link

Fixed the test run - fix issue https://github.com/thoughtworksarts/EmoPy/issues/47 #56

Closed anjutiwari closed 4 years ago

anjutiwari commented 4 years ago

Fixes issue: https://github.com/thoughtworksarts/EmoPy/issues/47

python3.6 EmoPy/tests/run_all.py

Using TensorFlow backend. /Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/tensorflow/python/framework/dtypes.py:526: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'. _np_qint8 = np.dtype([("qint8", np.int8, 1)]) /Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/tensorflow/python/framework/dtypes.py:527: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'. _np_quint8 = np.dtype([("quint8", np.uint8, 1)]) /Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/tensorflow/python/framework/dtypes.py:528: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'. _np_qint16 = np.dtype([("qint16", np.int16, 1)]) /Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/tensorflow/python/framework/dtypes.py:529: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'. _np_quint16 = np.dtype([("quint16", np.uint16, 1)]) /Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/tensorflow/python/framework/dtypes.py:530: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'. _np_qint32 = np.dtype([("qint32", np.int32, 1)]) /Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/tensorflow/python/framework/dtypes.py:535: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'. np_resource = np.dtype([("resource", np.ubyte, 1)]) test_should_produce_augmented_samples_given_batch_size (EmoPy.tests.unittests.test_data_generator.DataGeneratorTest) ... ok test_should_raise_error_if_model_not_fit_to_data_yet (EmoPy.tests.unittests.test_data_generator.DataGeneratorTest) ... ok test_should_raise_error_if_time_delay_is_not_matching_input_time_axis (EmoPy.tests.unittests.test_data_generator.DataGeneratorTest) ... ok test_should_raise_error_when_channel_axis_is_not_present (EmoPy.tests.unittests.test_data_generator.DataGeneratorTest) ... ok test_should_raise_error_when_labels_and_samples_are_mis_matched (EmoPy.tests.unittests.test_data_generator.DataGeneratorTest) ... ok test_should_raise_error_when_time_delay_parameter_is_set_and_input_is_simple_images (EmoPy.tests.unittests.test_data_generator.DataGeneratorTest) ... ok test_should_raise_error_when_time_delay_was_not_set_and_input_is_time_series (EmoPy.tests.unittests.test_data_generator.DataGeneratorTest) ... ok test_should_resize_images_to_given_target_dimension (EmoPy.tests.unittests.test_data_generator.DataGeneratorTest) ... ok test_load_csv_data (EmoPy.tests.unittests.test_dataloader.DataLoaderTest) ... ok test_load_directory_data (EmoPy.tests.unittests.test_dataloader.DataLoaderTest) ... ok test_load_time_series_directory_data (EmoPy.tests.unittests.test_dataloader.DataLoaderTest) ... ok test_should_generate_images_based_on_out_channels_parameter (EmoPy.tests.unittests.test_dataloader.DataLoaderTest) ... ok


Ran 12 tests in 0.023s

OK