You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 1, 2024. It is now read-only.
Masking Layer fails with MXNet backend after this PR #14192 got merged in MXNet master.
Couple of RNN test fails such as test_masking_correctness(), test_masking_layer() in ./keras-apache-mxnet/tests/keras/layers/recurrent_test.py
Thank you!
Check that you are up-to-date with the master branch of Keras. You can update with:
pip install git+git://github.com/awslabs/keras-apache-mxnet.git --upgrade --no-deps
If running on MXNet, check that you are up-to-date with the latest version. The installation
instructions can be found here
Provide a link to a GitHub Gist of a Python script that can reproduce your issue (or just copy the script here if it is short).
I think it triggers navie run graph only if masking enabled + sym.foreach operator used.
Which means RNN layer with unroll=False does not work with masking layer.
Current workaround to enable masking: use unroll=True in RNN layer
test_masking_correctness()
,test_masking_layer()
in ./keras-apache-mxnet/tests/keras/layers/recurrent_test.pyThank you!
Check that you are up-to-date with the master branch of Keras. You can update with:
pip install git+git://github.com/awslabs/keras-apache-mxnet.git --upgrade --no-deps
If running on MXNet, check that you are up-to-date with the latest version. The installation
instructions can be found here
Provide a link to a GitHub Gist of a Python script that can reproduce your issue (or just copy the script here if it is short).
Below is the minimum reproducible code:
The text was updated successfully, but these errors were encountered: