Coder Social home page Coder Social logo

Comments (5)

phoebe0920 avatar phoebe0920 commented on June 14, 2024 1

l also met this problem.
self.depth = Variable(data['depth']).cuda() RuntimeError: cuda runtime error (77) : an illegal memory access was encountered at /pytorch/aten/src/THC/generic/THCTensorCopy.c:21
I try to the following methods, and finally succeed to train. l wish these can help you .
1.you can try to check your class of your datasets. l use SUNRGBD datatset but l forgot to change the label_class.
2. try to add this sentence: torch.backends.cudnn.benchmark = True
3.you can try to print data to check whether all right
4. l remove the data augmentation and it can succeed to train , so l locate this error to this. And then l add data augmentation one by one , it occurred to the scale, so l decrease the scale.

from depthawarecnn.

gaoxiaoninghit avatar gaoxiaoninghit commented on June 14, 2024

have you solve the problem?my problem is same with you

from depthawarecnn.

Elena-ssq avatar Elena-ssq commented on June 14, 2024

I'm facing the same error. Any clue on solving this?

from depthawarecnn.

hanchaoleng avatar hanchaoleng commented on June 14, 2024

I have the same problem.

from depthawarecnn.

xieyuhaoli avatar xieyuhaoli commented on June 14, 2024

d

大佬,我没懂你的解决方法

from depthawarecnn.

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.