jonathanking / sidechainnet

An all-atom protein structure dataset for machine learning.
BSD 3-Clause "New" or "Revised" License
322 stars 36 forks source link

error when generating pdb #48

Closed xxiexuezhi closed 1 year ago

xxiexuezhi commented 1 year ago

Dear talents,

I try to run the note book tutorials regarding using angles to form pdb files. But I keep getting errors like " Can't call numpy() on Tensor that requires grad. Use tensor.detach().numpy() instead." the screen shot is show as below. thx a lot for your help.

Screenshot from 2022-07-31 13-11-42 image

jonathanking commented 1 year ago

Thanks for bringing this to my attention! I'll take a look and get back to you ASAP.

jonathanking commented 1 year ago

Hi, sorry for the long delay. That should fix the issue. Let me know if I can do anything else!