BiDAF-pytorch icon indicating copy to clipboard operation
BiDAF-pytorch copied to clipboard

can't optimize a non-leaf Tensor

Open Xilixili opened this issue 4 years ago • 3 comments

Thanks for your sharing. but I encounter an error as follow,and this error arises when putting parameters into the optimizer Could you help me to resolve this problem. Thanks!!! image image

Xilixili avatar Apr 13 '21 03:04 Xilixili

I also encountered this error. Have you solved this problem? Thanks.

Humanpaladin avatar Dec 14 '21 01:12 Humanpaladin

Well, I think I have solved the problem. check out the versions of torch, numpy, and others. Here is a version list which makes the program works. versions

Humanpaladin avatar Dec 14 '21 03:12 Humanpaladin

Thank you, i have solved it.

---Original--- From: @.> Date: Tue, Dec 14, 2021 11:16 AM To: @.>; Cc: @.***>; Subject: Re: [galsang/BiDAF-pytorch] can't optimize a non-leaf Tensor (#27)

Well, I think I have solved the problem. check out the versions of torch, numpy, and others. Here is a version list which makes the program works.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android.

stainswei avatar Dec 14 '21 07:12 stainswei