Coder Social home page Coder Social logo

CUDA support doesnot work about dct-net HOT 3 OPEN

menyifang avatar menyifang commented on August 27, 2024
CUDA support doesnot work

from dct-net.

Comments (3)

onefish51 avatar onefish51 commented on August 27, 2024 5

there is something wrong !
you said :

pip install --upgrade tensorflow-gpu==1.15

and the tensorflow official documentation shown :
image
so cuda is 10.0, and cudnn is 7.4

then

pip install "modelscope[cv]==1.3.2" -f https://modelscope.oss-cn-beijing.aliyuncs.com/releases/repo.html

install log shown
image
CuDNN8.5.0 is required install

and then

Loaded runtime CuDNN library: 8.5.0 but source was compiled with: 7.6.4.  CuDNN library major and minor version needs to match or have higher minor version in case of CuDNN 7.0 or later version. If using a binary install, upgrade your CuDNN library.  If building from sources, make sure the library loaded at runtime is compatible with the version specified during compile configuration.

so I failed !

I tested tensorflow-gpu

python 
Python 3.7.16 (default, Jan 17 2023, 22:20:44) 
[GCC 11.2.0] :: Anaconda, Inc. on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import tensorflow as tf
>>> tf.test.is_gpu_available()
...
True

from dct-net.

menyifang avatar menyifang commented on August 27, 2024

it supports both GPU and CPU. Please ensure tensorflow-gpu compatible with cuda version.

from dct-net.

h3clikejava avatar h3clikejava commented on August 27, 2024

I tested on:
ubuntu 18.04
python 3.7
CUDA 10/10.1/11.2
cudnn 7.4/7.6.0/7.6.1
tensorflow-gup 1.14/1.15
torch 1.7.1+cu101
numpy1.18.5

I always get black result like this:
image
I have been trying to set up this training environment for three days, but ultimately failed.
The documentation for this project is really terrible, and I don't know if it's because of changes in the company's business, but the development members have stopped maintaining it.
The documentation has inconsistencies in various places regarding the runtime environment.
If there is anyone kind enough who has been able to train successfully, please provide your environment and training scripts. Thank you.

from dct-net.

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.