GithubHelp home page GithubHelp logo

Comments (5)

danielS91 avatar danielS91 commented on August 23, 2024

We are facing the same errors/warnings. It tells you that your version of TensorFlow is not compatible with the CUDA / cuDNN version installed by PyTorch. However, we do not use any CUDA / cuDNN stuff from TensorFlow. TensorFlow is only used to speed up confusion matrix calculation. Therefore, you can simply ignore these warnings/errors.

However, if you want to get rid of these errors/warnings, you can simply switch to the CPU version of TensorFlow by replacing tensorflow-gpu=1.15.0 with tensorflow-cpu=1.15.0 in the environment file or using pip if the environment is already created. The CPU version works well.

from esanet.

minwang-ai avatar minwang-ai commented on August 23, 2024

We are facing the same errors/warnings. It tells you that your version of TensorFlow is not compatible with the CUDA / cuDNN version installed by PyTorch. However, we do not use any CUDA / cuDNN stuff from TensorFlow. TensorFlow is only used to speed up confusion matrix calculation. Therefore, you can simply ignore these warnings/errors.

However, if you want to get rid of these errors/warnings, you can simply switch to the CPU version of TensorFlow by replacing tensorflow-gpu=1.15.0 with tensorflow-cpu=1.15.0 in the environment file or using pip if the environment is already created. The CPU version works well.

Hi Daniel, thank you for your reply!
I thought I cannot run the code with errors before and now I noticed that the output file is renewed.
The tf errors disappear after loading cuda 10.0.130 and cudnn 10.1_v7.5

We can also ignore the other warning e.g., UserWarning: Detected call of lr_scheduler.step() before optimizer.step(). In PyTorch 1.1.0 and later, you should call them in the opposite order: optimizer.step() before lr_scheduler.step(). Failure to do this will result in PyTorch skipping the first value of the learning rate schedule.

from esanet.

mona0809 avatar mona0809 commented on August 23, 2024

Yes, since we always pass the epoch explicitly as a parameter (https://github.com/TUI-NICR/ESANet/blob/main/train.py#L264), the warning can be ignored here.

from esanet.

minwang-ai avatar minwang-ai commented on August 23, 2024

The tf errors disappear after loading cuda 10.0.130 and cudnn 10.1_v7.5

The mIoU decreases in this case so I changed them back to 10.1 and 7.6 respectively.

from esanet.

zhouqunbing avatar zhouqunbing commented on August 23, 2024

i replace tensorflow-gpu=1.15.0 with tensorflow-cpu=1.15.0,but when model in the test phase,the same error occurred.
Could not dlopen library 'libcufft.so.10.0'; dlerror: libcufft.so.10.0: cannot open shared object file: No such file or directory...

from esanet.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.