Gen6D
Gen6D copied to clipboard
custom error
Hi, when I try to use this network to estimate pose and scale for co3d's car class, I get an error. Although I tried with the provided mouse sample, it still doesn't work.
Hi, this CustomDatabase
has the center in this line.
https://github.com/liuyuan-pal/Gen6D/blob/2d1cfe13fe383954b5da2040f4225118827257f3/dataset/database.py#L264
It is under the condition
https://github.com/liuyuan-pal/Gen6D/blob/2d1cfe13fe383954b5da2040f4225118827257f3/dataset/database.py#L248
If it does not have center
, the problem may be the colmap project path is incorrect so the codes cannot read the sparse model.
After viewing code of CustomDatabase, I found CustomDatabase's root inferred from database "custom/mouse". So the colmap project path maybe "data/custom/mouse", instead of "data/custom/mouse_processed" provided in README.
It depends on which database_name
you use. If you use custom/mouse_processed
as database_name
, it will read data/custom/mouse_processed
.
I got the same error when I tried a custom object I modeled using colmap and CloudCompare. I realized that my line self-pose was returning nothing for my model when. The code runs correctly if I replace my images.bin (red arrow) with one already in the GenMOP folder (yellow arrow). What could be the reason why the code returns nothing from my images.bin?