liaohaofu / adn

ADN: Artifact Disentanglement Network for Unsupervised Metal Artifact Reduction
Other
164 stars 39 forks source link

One of the variables needed for gradient computation has been modified by an inplace operation #21

Closed audreyeternal closed 3 years ago

audreyeternal commented 3 years ago

I have been stuck in an error showing up when trying to train the model. The dataset that I used is spineweb. The error is as follows: 错误1 The traceback shows that there exists an inplace operation that modify the node in the computational graph. The configuration of my environment: operating system: debian 10, pytorch version: 1.7, python version: 3.7.10.

liaohaofu commented 3 years ago

Hey Yu, can you try Pytorch 1.0.0 instead? This is an somewhat old repo and may not work with higher versions of Pytorch (I didn't get to test it lately). Thanks!

audreyeternal commented 3 years ago

Thank you for your reply!I will try it later.