liaohaofu / adn

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

Pytorch Version #24

Open gitTomm opened 1 year ago

gitTomm commented 1 year ago

since I have compatibility problem as in previous issues, I would like to know which versions of pytorch were originally used to avoid errors.

liaohaofu commented 1 year ago

the lowest torch version should work, torch==1.0.0.

On Mon, Jan 30, 2023 at 1:53 PM Tommaso Maria Marvulli < @.***> wrote:

since I have compatibility problem as in previous issues, I would like to know which versions of pytorch were originally used to avoid errors.

— Reply to this email directly, view it on GitHub https://github.com/liaohaofu/adn/issues/24, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACJYGDBMXF6ZHO6LP63M4I3WVAZ4HANCNFSM6AAAAAAULVRIKQ . You are receiving this because you are subscribed to this thread.Message ID: @.***>

KakkiDaisuki commented 7 months ago

Just to supplement, torch==2.0.0 would be another option according to my case.

smalltalkman commented 1 month ago

@KakkiDaisuki Thanks, torch==2.0.0 solved the problem I was having.

As a supplement, here are my running configurations: GPU: NVIDIA GeForce RTX 3060 Driver Version: 535.183.01(CUDA Version: 12.2)

$
$ conda create -n adn python=3.8
$
$ conda activate adn
$
$ conda install pytorch==2.0.0 torchvision==0.15.0 torchaudio==2.0.0 pytorch-cuda=11.8 -c pytorch -c nvidia
$ conda install matplotlib pyyaml ​​requests scikit-image=0.17.2 scipy tqdm
$
$ conda list
$
$ conda deactivate
$