briandw / SiameseULMFiT

ULMFiT + Siamese Network for Sentence Vectors
The Unlicense
35 stars 8 forks source link

Which version of pytroch to use??? #2

Open avinregmi opened 6 years ago

avinregmi commented 6 years ago

I'm getting an error saying optimizing a parameter that does not require gradients. What version of pytorch are you using? When I try to change your code to optim.SGD(Filter(lambda p:p.requores_gread,....)) it's throwing me another error saying 'unsupported format string passed to Variable.format'

maknotavailable commented 6 years ago

"I’m using fast ai v0.7.2 and pytorch 0.4.1." from https://forums.fast.ai/t/sentence-similarity/16541/41