3a431ea52d090fb3ef8a1e0e5d7f796d9a42e097,tests/keras/applications/applications_test.py,,test_inceptionresnetv2,#,177

Before Change



    // The error in a subprocess won"t propagate to the main process, so we check if the model
    // is successfully created by checking if the output shape has been put into the queue
    assert not queue.empty(), "Model creation failed."
    model_output_shape = queue.get_nowait()
    assert model_output_shape == (None, 1000)

After Change


def test_inceptionresnetv2():
    def model_fn():
        return applications.InceptionResNetV2(weights=None)
    output_shape = clean_run(model_fn)
    assert output_shape == (None, 1000)


@keras_test
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 6

Non-data size: 4

Instances


Project Name: keras-team/keras
Commit Name: 3a431ea52d090fb3ef8a1e0e5d7f796d9a42e097
Time: 2018-01-10
Author: me@taehoonlee.com
File Name: tests/keras/applications/applications_test.py
Class Name:
Method Name: test_inceptionresnetv2


Project Name: keras-team/keras
Commit Name: 3a431ea52d090fb3ef8a1e0e5d7f796d9a42e097
Time: 2018-01-10
Author: me@taehoonlee.com
File Name: tests/keras/applications/applications_test.py
Class Name:
Method Name: test_inceptionresnetv2_pooling


Project Name: keras-team/keras
Commit Name: 3a431ea52d090fb3ef8a1e0e5d7f796d9a42e097
Time: 2018-01-10
Author: me@taehoonlee.com
File Name: tests/keras/applications/applications_test.py
Class Name:
Method Name: test_inceptionresnetv2_notop


Project Name: keras-team/keras
Commit Name: 3a431ea52d090fb3ef8a1e0e5d7f796d9a42e097
Time: 2018-01-10
Author: me@taehoonlee.com
File Name: tests/keras/applications/applications_test.py
Class Name:
Method Name: test_densenet


Project Name: keras-team/keras
Commit Name: 3a431ea52d090fb3ef8a1e0e5d7f796d9a42e097
Time: 2018-01-10
Author: me@taehoonlee.com
File Name: tests/keras/applications/applications_test.py
Class Name:
Method Name: test_densenet_no_top


Project Name: keras-team/keras
Commit Name: 3a431ea52d090fb3ef8a1e0e5d7f796d9a42e097
Time: 2018-01-10
Author: me@taehoonlee.com
File Name: tests/keras/applications/applications_test.py
Class Name:
Method Name: test_densenet_pooling