dgrzech / sobfu

real-time 3D reconstruction of non-rigidly deforming scenes using depth data
BSD 3-Clause "New" or "Revised" License
161 stars 22 forks source link

Segmentation fault(core dumped) #4

Open nic-stark opened 5 years ago

nic-stark commented 5 years ago

Hi,there. Thank you for your work. I have successfully compiled your project. But when I tried to run it with options on the umbrella data, it just throw a bug on frame 0 says Segmentation fault(core dumped). I also tried to run it with out any options, it just kept running with iter.no.x and nothing else happens. Any ideas how could I fix this problem? Thanks.

dgrzech commented 5 years ago

hi! could you post the stack trace of the segfault from gdb?

YanhaoZhang commented 5 years ago

Hi @dgrzech I also got a same problem. I used umbrella data downloaded from https://www.dropbox.com/sh/qgy2n9bmioofqnj/AABUnT7pi2ECpxSi80EmXOXna?dl=0&preview=umbrella_data.zip

I am a bit confused on the data folder. If I just add another two empty folder to the downloaded data folder as following, then this error occurs. image image

If I put all images and Intrinsics into corresponding folder, then the following issue occurs. image image

May I ask you if there is anything I did not do correctly? By the way, here is the steps on how I install all the dependencies. I am wondering if you could have a quick look and let me know if there is anything I did not do correctly? Thank you so much.

dgrzech commented 5 years ago

hi! of course the rgb and depth images need to be put in the corresponding “color” and “depth” folders. do not put the file with intrinsics there—the intrinsics need to be specified in the parameters file. i’m not sure why the images can’t be read. to start with try debugging by seeing if the filenames are loaded correctly

nic-stark commented 5 years ago

Sorry for the late response. I have successfully solved this problem. The problem is caused by the version of the libs you use. And most likely is because you have used an old version of cmake. If you are experimenting the same problem please do check the libs you use.

YanhaoZhang commented 5 years ago

Hi @nic-stark Thank you so much :)

wangmiaowei commented 3 years ago

@nic-stark I still have such problem when I want to use the screenshot. But I do not understand the "libs". Does it refer to some software?Besides, I also do not how to open the vtk file. Is there a software which could be recommended? Indeed I get the error: ./build/bin/app ./build/bin/Data/boxing ./params/params_boxing.ini --enable-log --enable-viz Device 0: "GeForce GTX 1060 6GB" 6066Mb, sm_61, 1280 cores, Driver/Runtime ver.9.0/9.0 created output directory for screenshots --- FRAME NO. 0 --- no. of active voxels: 6996 no. of point-normal pairs in the canonical model: 42327 saved canonical_mesh_000000.vtk Segmentation fault (core dumped)