ImportError: No module named inpainting.davis
jmpr4xp4xm4n opened this issue · 4 comments
jmpr4xp4xm4n commented
How do I fix this error I am getting?
:~/video-object-removal$ python demo.py --data /home/user/Desktop/VID_151890412_145812_234.mp4
Traceback (most recent call last):
File "demo.py", line 3, in
from inpaint import inpaint
File "/home/user/video-object-removal/inpaint.py", line 4, in
from inpainting.davis import DAVIS
ImportError: No module named inpainting.davis
zllrunning commented
Sorry for the late reply. Try to add __init__.py
file in inpainting
folder and retry it.
magneter commented
ImportError: cannot import name 'region' ,I have a same question .
It occured in file "init "
magneter commented
in init.py , from . import region
ulatekh commented
Using python3 should take care of this error.