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

new 3d triplet layer still have Forward_gpu error #2995

Closed
junteudjio opened this issue Aug 28, 2015 · 6 comments
Closed

new 3d triplet layer still have Forward_gpu error #2995

junteudjio opened this issue Aug 28, 2015 · 6 comments

Comments

@junteudjio
Copy link

Hello Guys !

I'm trying to use the new triplet layer in GPU mode but i still get this error, while everything work fine in CPU mode.

*** Aborted at 1440745808 (unix time) try "date -d @1440745808" if you are using GNU date ***
PC: @ 0x7f13f4c8daec (unknown)
*** SIGSEGV (@0x1304722600) received by PID 9973 (TID 0x7f13fcf7ba40) from PID 74589696; stack trace: ***
@ 0x7f13fbb52d40 (unknown)
@ 0x7f13f4c8daec (unknown)
@ 0x7f13fca822d7 caffe::caffe_gpu_dot<>()
@ 0x7f13fca56cc2 caffe::TripletLossLayer<>::Forward_gpu()
@ 0x7f13fc936817 caffe::Net<>::ForwardFromTo()
@ 0x7f13fc936c87 caffe::Net<>::ForwardPrefilled()
@ 0x7f13fca0cce5 caffe::Solver<>::Step()
@ 0x7f13fca0d60f caffe::Solver<>::Solve()
@ 0x408716 train()
@ 0x406bc1 main
@ 0x7f13fbb3dec5 (unknown)
@ 0x40716d (unknown)
@ 0x0 (unknown)
Segmentation fault (core dumped)

please could someone helps me figure out how to manage with this error ?
Tanks in advance.

@bhack
Copy link
Contributor

bhack commented Aug 28, 2015

/cc @wangyida

@seanbell
Copy link

From https://github.com/BVLC/caffe/blob/master/CONTRIBUTING.md:

When reporting a bug, it's most helpful to provide the following information, where applicable:

  • What steps reproduce the bug?
  • Can you reproduce the bug using the latest master, compiled with the DEBUG make option?
  • What hardware and operating system/distribution are you running?
  • If the bug is a crash, provide the backtrace (usually printed by Caffe; always obtainable with gdb).

Also, you're reporting a bug on an unmerged PR (#2603). Perhaps you should direct the discussion over there, since this isn't an issue with caffe master.

@bhack
Copy link
Contributor

bhack commented Aug 28, 2015

@seanbell I've already told him at #2982 (comment)

@wangyida
Copy link

OK, This might be caused by the unproper using of gpu_dot function. I will have a look in the GPU codes tomorrow, as triplet componants changes, the GPU codes is changed with the same logical of new CPU codes, but might have CUDA computation bugs. @obrianjunior @bhack

@junteudjio
Copy link
Author

Ok well noticed @seanbell , @bhack ! i'm a little bit new to github :) .
@seanbell the layer i'm using is not implemented on the master branch, but rather on @wangyida's branch.

@longjon
Copy link
Contributor

longjon commented Nov 5, 2015

Closing as this is not an issue on BVLC/caffe.

@longjon longjon closed this as completed Nov 5, 2015
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

5 participants