Skip to content
This repository has been archived by the owner on Jul 1, 2024. It is now read-only.

Ignoring masking layer test for RNN with MXNet backend #229

Merged
merged 3 commits into from
Mar 29, 2019
Merged

Ignoring masking layer test for RNN with MXNet backend #229

merged 3 commits into from
Mar 29, 2019

Conversation

karan6181
Copy link

Summary

There is an issue with the Masking Layer in RNN with MXNet backend after this PR #14192 got merged into MXNet master branch. Ignoring those test for now to let the nightly build pass. I have created a separate issue #228 to track the masking layer issue.

Copy link

@roywei roywei left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please provide workaround code in #228, masking still works with unroll=True.
Let's also try to raise an issue in mxnet after we can create a reproducible code in pure mxnet

@pytest.mark.skipif(K.backend() == 'mxnet',
reason='MXNet backend has an issue with Masking layer'
'Tracking with this issue:'
'https://github.com/awslabs/keras-apache-mxnet/issues/228')
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can you enable this test for unroll=True?
you can do the check in the test and don't execute the part that unroll=False

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done. Can you please check it again?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The test_masking_correctness() runs only with unroll=False so skipping the whole test. However test_masking_layer() runs with unroll=True and unroll=False, so skipped the unroll=False test.

Copy link

@roywei roywei left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@roywei roywei merged commit 06b4848 into awslabs:master Mar 29, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants