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

Custom Depth Map Not Working #147

Closed GregoryBetsey closed 2 years ago

GregoryBetsey commented 2 years ago

Hello

I am running this in colab and made the following changes:

src_folder: image depth_folder: depth mesh_folder: mesh video_folder: video load_ply: False save_ply: False inference_video: True gpu_ids: 0 offscreen_rendering: False img_format: '.jpg' depth_format: '.png' require_midas: False

However, when I run !python main.py --config argument.yml, a .npy depth map is generated in the depth folder and is used to generate the video.

GregoryBetsey commented 2 years ago

I see you have to set use_boostmonodepth: False. Then, it will work.