microsoft / IRNet

An algorithm for cross-domain NL2SQL
MIT License
264 stars 81 forks source link

Issue in model.forward #20

Closed shubhamk16 closed 4 years ago

shubhamk16 commented 4 years ago

Hello guys, when i run this model for training, i got an error " The size of tensor a (300) must match the size of tensor b (100) at non-singleton dimension 2".
in this line of model.forward ==> table_embedding = table_embedding + tab_ctx . could anyone please answer how to solve this issue ?

YuBoDream commented 4 years ago

Could you tell me how you solved the problem, please?

shubhamk16 commented 4 years ago

sure @YuBoDream, just change the dimension size of the hidden_size and embed size, att_vec_size and col_embed_size to 300.

YuBoDream commented 4 years ago

Thank you very much