vt-vl-lab / 3d-photo-inpainting

[CVPR 2020] 3D Photography using Context-aware Layered Depth Inpainting
https://shihmengli.github.io/3D-Photo-Inpainting/
Other
6.9k stars 1.11k forks source link

error while on the mesh building part (perhaps ?) #146

Open crasse2 opened 2 years ago

crasse2 commented 2 years ago

Hello !

on random occurences I got this error popping out, in fact it's not really a clear error, i'm running the process through a notebook and it stops and give that as debug :

/home/crasse/3d-photo-inpainting/mesh.py(278)reassign_floating_island()
    276             if (lost_x, lost_y) == (295, 389) or (lost_x, lost_y) == (296, 389):
    277                 import pdb; pdb.set_trace()
--> 278             for ne in get_cross_nes(lost_x, lost_y):
    279                 if key_exist(info_on_pix, ne):
    280                     for info in info_on_pix[ne]:

most of the time it works however, but for some images I got that, does anybody know where could it come from ?