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.91k stars 1.11k forks source link

mesh_tools.py and mesh.py throw "deprecation" errors. #56

Closed Subash-Chandra closed 4 years ago

Subash-Chandra commented 4 years ago
mesh_tools.py:4: DeprecationWarning: Deprecated since Python 3.4. Use importlib.util.find_spec() instead.
  import cynetworkx as netx
mesh_tools.py:4: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working
  import cynetworkx as netx
mesh_tools.py:4: DeprecationWarning: Deprecated since Python 3.4. Use importlib.util.find_spec() instead.
  import cynetworkx as netx

This is the error thrown when I try to run mesh.py or mesh_tools.py. What do I do aoutthis

LemonATsu commented 4 years ago

It's just warnings, not errors, so the code should run just fine. Since it's from cynetworkx package instead of our codebase, there's nothing we can do to resolve the warning. But again, since it's just warnings, the code should just work fine.