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

Python 3.9 changes #124

Open bennmann opened 3 years ago

bennmann commented 3 years ago

Whole project may work with python 3.9;

dag.py could be made compatable with python 3.9 by changing: from fractions import gcd To from math import gcd

Do not install cynetworkx yet (networkx 2.3 is good enough) No version of networkx above 2.3 functions with current implementation (lost the traceback for why though)

Using pytorch 1.8 (using cuda 11.1) Torchvision 0.9 Cuda 11.2 installed Nvidia driver 460

Ply looks ok