Closed krishdeeplearning closed 7 years ago
Thanks for alerting us to this! I'll take a look.
The warning you see is unrelated. The issue is actually that there was a bug in the combination of RNNs + Clipped rectified linear activation + GPU. We use an optimized code path for that which is particularly fast, but erroneously omits the slope
parameter of the activation function. Try adding this code to evaluate.py
just after the model is loaded:
for ii, layer in enumerate(model.layers.layers):
if isinstance(layer, BiBNRNN) and layer.activation.classnm == "Rectlinclip":
layer.activation.slope = 0
We are submitting a patch to neon soon that will clean this up, but I just wanted to get you something quickly.
The code fixed the issue for me! Thank you for quick response and fix!
That's great to hear. I'll leave this open until the fix is into neon.
This should now be fixed in neon 1.8.1.
Hi,
I am getting the above warning when using the weights from the model zoo and running evaluate.py. Using the test-clean dataset, the model only seems to predict "QQQQQQQQ" for all the audio files. Is this because of the above warning? I am running on neon 1.7 in CPU mode.
Thanks!