divelab / DIG

A library for graph deep learning research
https://diveintographs.readthedocs.io/
GNU General Public License v3.0
1.82k stars 281 forks source link

a leaf Variable that requires grad is being used in an in-place operation #164

Closed SickleLeeks closed 1 year ago

SickleLeeks commented 1 year ago

When I execute rand_gen.py, I get this error: RuntimeError: a leaf Variable that requires grad is being used in an in-place operation. and my dig version is 1.0.0, What should I do?

mengliu1998 commented 1 year ago

Hi @SickleLeeks,

Could you give us a specific pointer of the error, like which code line are you referring to? Thanks!

mengliu1998 commented 1 year ago

I am closing this issue since there is no further ongoing discussion. Feel free to re-open it in any case.