Giter Site home page Giter Site logo

Comments (5)

tyl569 avatar tyl569 commented on July 19, 2024

Hello,
I can train smoothly,but when I test, there is a errror:
I1225 18:53:09.767861 16202 net.cpp:299] Memory required for data: 1097870692
F1225 18:53:10.263083 16202 syncedmem.cpp:19] Check failed: error == cudaSuccess (29 vs. 0) driver shutting down
*** Check failure stack trace: ***
Aborted (core dumped)

Thank you

from hed.

tyl569 avatar tyl569 commented on July 19, 2024

Is this because GPU is not enough memory?

from hed.

rribani avatar rribani commented on July 19, 2024

I'm facing a very similar problem, but in my case it happens only with the latest caffe version:

syncedmem.cpp:71] Check failed: error == cudaSuccess (2 vs. 0) out of memory
*** Check failure stack trace: ***
Process finished with exit code 134 (interrupted by signal 6: SIGABRT)

With the old caffe it works. I'm using cuda 9.0.

from hed.

wangjiaod avatar wangjiaod commented on July 19, 2024

I meet the same problem,please tell the answaer

from hed.

aditipanda avatar aditipanda commented on July 19, 2024

I am new to Caffe, and am also facing this problem.

I read in another git thread (alexgkendall/caffe-segnet#57 (comment)) that calling caffe.reset_all() might help, but have no idea where to place this line of code.

Secondly, this git thread also speaks about MATLAB interface of Caffe. Now in the installation instruction file of HED, it is written "Python and/or MATLAB(optional)". So that means MATLAB is optional. Accordingly, I also trained the network on my GPU which does not have MATLAB. So does this mean by any chance that this training isn't optimal, as the MATLAB interface could not be used?

Also, while testing, since we are using MATLAB to create a network by the command "caffe.Net(model_name, weights)", it means MATLAB interface is compulsory for testing.

But in that case it should also be compulsory for training, as we are using other commands like "caffe.set_gpu(0)". They are also for MATLAB interface. Correct me if I am wrong.

I am thinking I have to re-train the network after installing MATLAB on my Ubuntu workstation.

Was any of you able to solve it? @wangjiaod @rribani @tyl569

from hed.

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.