Open Tlazypanda opened 3 years ago
Hey @jiayihu This code is failing at inf_model.predict for gru_layer with the error that only 1 input tensor is passed instead of expected 4. I would really appreciate it if you can have a look and let me know if my approach for the same is correct or not? 😅 Thank you!! 💯
Hi @Tlazypanda , unfortunately, I haven't been working on Keras for a while. I would suggest asking on StackOverflow maybe, although input size errors are pretty common :) Maybe try to log the dimensions of the layers to try debug the issues. Good luck with your studies!
Hola @jiayihu! Thank you for your quick response 😄 Appreciate it ✌️ I will try to post it on other platforms.
Hello @jiayihu 👋 I am an undergrad student looking to improve this infra by adding an attention layer. But am facing some difficulties with the code.
Here is what I have so far can you help me out?
Model
Training
have changed the dim for decoder since they need to match.
Inference model
Final output