GhiXu / ACMM

Multi-Scale Geometric Consistency Guided Multi-View Stereo
MIT License
155 stars 27 forks source link

problem of Joint bilateral upsampling cudaFree #5

Closed hx804722948 closed 2 years ago

hx804722948 commented 2 years ago

hello, thanks for your great work. I found a problem of Joint bilateral upsampling cudaFree. cudaFree in JBU::~JBU() dose not work.

image

hx804722948 commented 2 years ago

and even after run ~ACMM(), a lot of memory is still ocuppied 6b83163e484d851e5a3883361be288d aae4e8e3c583fe3059dc761e7d38d8a

hx804722948 commented 2 years ago

cudaMalloc((void*)&pre_costs_cuda, sizeof(float) cameras[0].height * cameras[0].width) use twice