MegviiRobot / MegBA

MegBA: A GPU-Based Distributed Library for Large-Scale Bundle Adjustment

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Got cudaErrorIllegalAddress error when running the 1778 example

GoroYeh-HRI opened this issue · comments

Hi,
I got the following error when running the following command:
image

I've checked nvidia-smi and seems that I have enough GPU memory.
Could you help me investigate what might be wrong?
Thank you.

Hi,

I remember 12GB GPU memory is not enough to solve Venice-1778. Possibly, you can use implicit Hessian (https://github.com/MegviiRobot/MegBA/blob/main/examples/BAL_Double_analytical_implicit.cpp). The implicit Hessian builds the Hessian on the fly, which will save a lot of memory.

Best,
Jie

@JieRen98 Thanks for the response!

Unfortunately I was not able to build target BAL_Double_analytical_implicit due to the following compile errors:
image

Could you tell me what I should do to make this file successfully built?

Will check it later.

Greetings,

The bug is solved. Do not forget to use git submodule update --init to register the submodule.

If you have further problems, you can re-open this issue or open a new one.

Best,
Jie