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

Segmentation fault (core dumped) #23

Open
densechen opened this issue Dec 23, 2018 · 6 comments
Open

Segmentation fault (core dumped) #23

densechen opened this issue Dec 23, 2018 · 6 comments

Comments

@densechen
Copy link

when I run the ./demo command, this happened..
mo/single-depth-1.ply fragment-1
Loaded point cloud with 252179 points!
Size of TDF voxel grid: 370 x 253 x 324
Computing TDF voxel grid...
Finding random surface keypoints...
PlaceHolderDataLayer dataTest

Layers: Responses:

dataTest
data[5]={50,1,30,30,30} RF[1,1,1] GP[1,1,1] OF[0,0,0]
conv1 weight[5]={64,1,3,3,3} bias[5]={1,64,1,1,1}
conv1[5]={50,64,28,28,28} RF[3,3,3] GP[1,1,1] OF[0,0,0]
relu1
conv2 weight[5]={64,64,3,3,3} bias[5]={1,64,1,1,1}
conv2[5]={50,64,26,26,26} RF[5,5,5] GP[1,1,1] OF[0,0,0]
relu2
pool1
pool1[5]={50,64,13,13,13} RF[6,6,6] GP[2,2,2] OF[0,0,0]
conv3 weight[5]={128,64,3,3,3} bias[5]={1,128,1,1,1}
conv3[5]={50,128,11,11,11} RF[10,10,10] GP[2,2,2] OF[0,0,0]
relu3
conv4 weight[5]={128,128,3,3,3} bias[5]={1,128,1,1,1}
conv4[5]={50,128,9,9,9} RF[14,14,14] GP[2,2,2] OF[0,0,0]
relu4
conv5 weight[5]={256,128,3,3,3} bias[5]={1,256,1,1,1}
conv5[5]={50,256,7,7,7} RF[18,18,18] GP[2,2,2] OF[0,0,0]
relu5
conv6 weight[5]={256,256,3,3,3} bias[5]={1,256,1,1,1}
conv6[5]={50,256,5,5,5} RF[22,22,22] GP[2,2,2] OF[0,0,0]
relu6
conv7 weight[5]={512,256,3,3,3} bias[5]={1,512,1,1,1}
conv7[5]={50,512,3,3,3} RF[26,26,26] GP[2,2,2] OF[0,0,0]
relu7
conv8 weight[5]={512,512,3,3,3} bias[5]={1,512,1,1,1}
conv8[5]={50,512,1,1,1} RF[30,30,30] GP[2,2,2] OF[0,0,0]
relu8
feat weight[5]={512,512,1,1,1} bias[5]={1,512,1,1,1}
feat[5]={50,512,1,1,1} RF[30,30,30] GP[2,2,2] OF[0,0,0]

GPU 0: Total GPU memory: 322.529 MB

6.75 KB
3.375 KB
256 Bytes
128 Bytes
432 KB
216 KB
256 Bytes
128 Bytes
0.84375 MB
432 KB
0.5 KB
256 Bytes
1.6875 MB
0.84375 MB
Segmentation fault (core dumped)

@syqzdy
Copy link

syqzdy commented Feb 25, 2019

I have the same error,did you fix it? thank you!

@densechen
Copy link
Author

I don't know why, but after few times tries, it is OK.

@syqzdy
Copy link

syqzdy commented Feb 25, 2019

I tried many times,it still does't work. when I run ./compile.sh, this happened : marvin.hpp:12:17: note: #pragma message: Compiling using StorageT=half ComputeT=float
#pragma message "Compiling using StorageT=half ComputeT=float"
^
did you have this message! I'm thinking if the compiling process has problem!

@syqzdy
Copy link

syqzdy commented Feb 25, 2019

I check the marvin.hpp, I find the "segmentation fault" occurred,when the function "loadweights" called. when the code loads the model weights "3dmatch-weights-snapshot-137000.marvin"!

@densechen
Copy link
Author

#pragma message: Compiling using StorageT=half ComputeT=float
This message indicates that you are using half type to compute in GPU. And this can be specified by yourself.

@syqzdy
Copy link

syqzdy commented Feb 25, 2019

I got it, thank you!

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

2 participants