FangGet / BundleFusion_Ubuntu_Pangolin

a porting for BundleFusion working on ubuntu, with Pangolin as visualizer
Other
122 stars 32 forks source link

cuda illegal memory access #26

Open Z-Jeff opened 1 year ago

Z-Jeff commented 1 year ago

When I run cmake .. -DVISUALIZATION=OFF and make, then run bundle_fusion_example, there are no errors, but no visualization. Rebuild cmake .. -DVISUALIZATION=ON, make and run bundle_fusion_example, an error occurs: BundleFusion_Ubuntu_Pangolin/src/SiftGPU/SiftPyramid.cpp(387) : cudaSafeCall() Runtime API error 700: an illegal memory access was encountered. How can I fix this?

FangGet commented 1 year ago

Sorry for the late reply, we now add docker support for easy usage, please try compiling with the docker environment.

clyran commented 1 year ago

when I use run_docker.sh, I got a problem like

terminate called after throwing an instance of 'ml::MLibException'
  what():  process:46: an illegal memory access was encountered:process

after 2 frames' success

I reduce the frame number to 2 and also got the same problem

Mesh generation time 0.238812 seconds
/app/include/DepthSensing/VoxelUtilHashSDF.h(161) : cudaSafeCall() Runtime API error 700: an illegal memory access was encountered.
adizhol commented 1 year ago

when I use run_docker.sh, I got a problem like

terminate called after throwing an instance of 'ml::MLibException'
  what():  process:46: an illegal memory access was encountered:process

after 2 frames' success

I reduce the frame number to 2 and also got the same problem

Mesh generation time 0.238812 seconds
/app/include/DepthSensing/VoxelUtilHashSDF.h(161) : cudaSafeCall() Runtime API error 700: an illegal memory access was encountered.

make sure you are not running out of GPU memory - try to reduce s_maxNumImages in zParametersBundlingDefault.txt