Git Product home page Git Product logo

Comments (13)

qingqing01 avatar qingqing01 commented on May 3, 2024

@fbiswt please give me the version of your cuda and cudnn. Thanks.

from paddle.

fbiswt avatar fbiswt commented on May 3, 2024

@qingqing01 cuda 7.5 ,cudnn v4 . Many Thanks

from paddle.

fbiswt avatar fbiswt commented on May 3, 2024

@qingqing01 Should I change the version of cudnn to V5?

from paddle.

qingqing01 avatar qingqing01 commented on May 3, 2024

@fbiswt It is ok when I tested with cuda 7.5, cudnn v4 or cudnn v5. But my GPU is Tesla K40, what is your GPU type?

from paddle.

fbiswt avatar fbiswt commented on May 3, 2024

@qingqing01 My GPU is also K40, but I install paddle on centos, is this problem?

from paddle.

fbiswt avatar fbiswt commented on May 3, 2024

@qingqing01 When I make paddle ,I got a problem is
CMake Error at cmake/cudnn.cmake:33 (get_filename_component):
get_filename_component unknown component DIRECTORY
Call Stack (most recent call first):
CMakeLists.txt:51 (include)
so I delete the line "get_filename_component(CUDNN_LIB_PATH ${CUDNN_LIBRARY} DIRECTORY)
" in cudnn.make

from paddle.

fbiswt avatar fbiswt commented on May 3, 2024

@qingqing01 I upgrade cmake to cmake3 and solved "get_filename_component unknown component DIRECTORY" error ,and reinstall paddle, and also got that problem

from paddle.

fbiswt avatar fbiswt commented on May 3, 2024

Anyone answer this question ?

from paddle.

qingqing01 avatar qingqing01 commented on May 3, 2024

@fbiswt I'm sorry for this question and can't give you a solution now. In fact, There are two implementations for BatchNorm. Maybe you can try another implementation. A simple way, you can set batch_norm_type="batch_norm" in batch_norm_layer in file of python/paddle/trainer_config_helpers/layers.py and reinstall paddle.

from paddle.

fbiswt avatar fbiswt commented on May 3, 2024

@qingqing01 Thank you so much for helping me solve this problem ! Now the paddle runing without error!

from paddle.

aaronzs avatar aaronzs commented on May 3, 2024

@qingqing01 Thank you!
I can confirm the same problem happens on Fedora with CUDA 7.5, cuDNN 4, Tesla K80 GPU, and batch_norm_type="batch_norm" works.

from paddle.

hedaoyuan avatar hedaoyuan commented on May 3, 2024

@aaronzs & @fbiswt
We check the code, and the bug is paddle use the CUDNN V4 RC not CUDNN V4.
The reason for this bug is that the cudnnBatchNormalizationBackward API is different between the two versions.
We will fix this bug soon.
Before this use cudnn 5.0 is better.

from paddle.

qingqing01 avatar qingqing01 commented on May 3, 2024

We have fixed this problem, the code is #71

from paddle.

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.