PyTorchZeroToAll icon indicating copy to clipboard operation
PyTorchZeroToAll copied to clipboard

12_4_hello_rnn_emb: AttributeError: 'Model' object has no attribute 'num_layers'

Open robd2 opened this issue 7 years ago • 3 comments

robd2 avatar Sep 25 '18 15:09 robd2

me too~

wpenter avatar Jun 07 '20 01:06 wpenter

I've add num_layers in class, and then the error shows that I need to add hidden_size in class. And the final error is about input dimensions.

renzilin avatar Jun 17 '20 21:06 renzilin

Can you send me a pull request?

On Thu, 18 Jun 2020 at 6:48 AM, Zilin [email protected] wrote:

I've add num_layers in class, and then the error shows that I need to add hidden_size in class. And the final error is about input dimensions.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/hunkim/PyTorchZeroToAll/issues/31#issuecomment-645643003, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAG4GV6H76ULOMLOW6FT7WDRXE2ZDANCNFSM4FXDZ6QA .

hunkim avatar Jun 17 '20 22:06 hunkim