SaliencyMapper icon indicating copy to clipboard operation
SaliencyMapper copied to clipboard

have no idea with the error,can you give me some suggestions?

Open miss1997yuan opened this issue 5 years ago • 10 comments

image

miss1997yuan avatar Sep 10 '19 10:09 miss1997yuan

Are you using Pytorch 0.3 ?

karanchahal avatar Sep 10 '19 18:09 karanchahal

no,i use the pytorch1.0 with cuda10.0,they are matached

miss1997yuan avatar Sep 11 '19 08:09 miss1997yuan

so you mean your code should run in the pytorch0.3?

miss1997yuan avatar Sep 11 '19 08:09 miss1997yuan

i find the solution for my problem in stackoverflow, i'm told the reason may be the mismatch between cuda and pytorch,while my cuda and pytorch seem match well for other code

miss1997yuan avatar Sep 11 '19 08:09 miss1997yuan

would you mind giving me more deatails about the envs of your code ?

miss1997yuan avatar Sep 11 '19 08:09 miss1997yuan

Sure, you can look at the requirements.txt file to find out the exact dependencies of this project.

karanchahal avatar Sep 11 '19 13:09 karanchahal

Sure, you can look at the requirements.txt file to find out the exact dependencies of this project.

thank you for reply ,you mean your envs is exactly the source requirements in https://github.com/PiotrDabkowski/pytorch-saliency?

miss1997yuan avatar Sep 11 '19 13:09 miss1997yuan

Hmm, I'm sorry I haven't maintained a requirements.txt for this repo. The most important requirement is pytorch 0.3. I'm pretty sure it will work if you just change your pytorch version

karanchahal avatar Sep 11 '19 16:09 karanchahal

Cuda should be version 7 I believe

karanchahal avatar Sep 11 '19 16:09 karanchahal

https://pytorch.org/get-started/previous-versions/

PyTorch previous versions' wheels with appropriate cudatoolkit.

krishvishal avatar Sep 12 '19 11:09 krishvishal