zllrunning / video-object-removal

Just draw a bounding box and you can remove the object you want to remove.
MIT License
2.66k stars 474 forks source link

ImportError: No module named inpainting.davis #4

Open jmpr4xp4xm4n opened 5 years ago

jmpr4xp4xm4n commented 5 years ago

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 5 years ago

Sorry for the late reply. Try to add __init__.py file in inpainting folder and retry it.

magneter commented 5 years ago

ImportError: cannot import name 'region' ,I have a same question . It occured in file "init "

magneter commented 5 years ago

in init.py , from . import region

ulatekh commented 4 years ago

Using python3 should take care of this error.