Giter Club home page Giter Club logo

Comments (4)

Udonnoodle avatar Udonnoodle commented on September 27, 2024

I have slove this problem ,and anthor problem about cuda complie setting.It run on my computer now. Thank you for sharing code!

from mc-cnn.

shuluoshu avatar shuluoshu commented on September 27, 2024

@Udonnoodle , Hi, I met a similar problem after I update the torch version to the newest one, the error is as follows: could you help me out?
error
My cuda is v7.5 and I use cudnnV7.0
Thanks a lot !

from mc-cnn.

shuluoshu avatar shuluoshu commented on September 27, 2024

I solved the problem by comment 'cudnn.benchmark=True', but I don't know why.

from mc-cnn.

laoreja avatar laoreja commented on September 27, 2024

cudnn.benchmark=True
on the doc, it says:
uses the inbuilt cudnn auto-tuner to find the fastest convolution algorithms.
If this is set to false, uses some in-built heuristics that might not always be fastest.

by default cudnn.benchmark is set to false. Setting to true will improve performance, at the expense of using more memory. The input shape should be the same for each batch, otherwise autotune will re-run for each batch, causing a huge slow-down.

from mc-cnn.

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.