xiaojunxu / SQLNet

Neural Network for generating structured queries from natural language.
BSD 3-Clause "New" or "Revised" License
431 stars 162 forks source link

Error in testing : test.py #59

Open anshudaur opened 4 years ago

anshudaur commented 4 years ago

HI All, I am badly stuck at fixing this error : "RuntimeError: input.size(-1) must be equal to input_size. Expected 300, got 100" Can you please suggest how to fix this issue? Thanks in advance.

Error :

File "C:\Users..\Anaconda3\lib\site-packages\torch\nn\modules\rnn.py", line 159, in check_input self.input_size, input.size(-1))) RuntimeError: input.size(-1) must be equal to input_size. Expected 300, got 100

Thanks Anshu