Giter VIP home page Giter VIP logo

Comments (5)

jingsliu avatar jingsliu commented on June 1, 2024

from deepehr.

whungt avatar whungt commented on June 1, 2024

@jingsliu
Capture

from deepehr.

jingsliu avatar jingsliu commented on June 1, 2024

from deepehr.

whungt avatar whungt commented on June 1, 2024

Well...It seems that there is no cuDNN 8 yet. The latest one is cuDNN 7.5 for CUDA 10.1

Capture2

from deepehr.

whungt avatar whungt commented on June 1, 2024

OK. It turns out that there seems to be some incompatible bugs between cuda/torch and some RTX GPUs.
I got the problem fixed by installing cuda92 in my virtual env:
conda install pytorch cuda92 -c pytorch
So now my configurations are:
win7 with RTX 2070, cuda 10.1.105
anaconda virtual env:
python 3.7.3
cudatoolkit 10.0.130
cudnn 7.3.1
cuda92 1.0
pytorch 1.1.0

Also, when I train the model, I need to add an exception line in enc_model.py:
Change line 773 to be:

try:
        train_loss += loss.data[0]
except IndexError:
        train_loss+=loss.data.item()

Similarly, change line 822 to be:

try:
        test_loss += (self.criterion(output, Disease)).data[0]
except IndexError:
        test_loss += (self.criterion(output, Disease)).data.item()

from deepehr.

Related Issues (3)

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.