Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I can train smoothly,but when I test, there is a errror: #52

Open
tyl569 opened this issue Dec 25, 2017 · 5 comments
Open

I can train smoothly,but when I test, there is a errror: #52

tyl569 opened this issue Dec 25, 2017 · 5 comments

Comments

@tyl569
Copy link

tyl569 commented Dec 25, 2017

No description provided.

@tyl569
Copy link
Author

tyl569 commented Dec 25, 2017

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

@tyl569
Copy link
Author

tyl569 commented Dec 25, 2017

Is this because GPU is not enough memory?

@rribani
Copy link

rribani commented Jan 9, 2018

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.

@wangjiaod
Copy link

I meet the same problem,please tell the answaer

@aditipanda
Copy link

aditipanda commented Oct 24, 2018

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants