lanwuwei / SPM_toolkit

Neural network toolkit for sentence pair modeling.
303 stars 70 forks source link

why there is runtimwError of PWIM #17

Open hyybuaa opened 6 years ago

hyybuaa commented 6 years ago

RuntimeError: invalid argument 2: size '[-1 x 300]' is invalid for input with 270338015 elements at /pytorch/aten/src/TH/THStorage.c:37

hyybuaa commented 6 years ago

PYTHON36 pytorch0.4

lanwuwei commented 6 years ago

Sorry about the unclear ReadMe, I used Python 2.7 for this project. You may need do other modifications for Python 3 .