Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ImportError: No module named 'models.FlowNet2_Models.resample2d_package._ext.resample2d._resample2d' #80

Open
skye95git opened this issue Dec 1, 2020 · 2 comments

Comments

@skye95git
Copy link

When I tested the image inpainting code by running as README suggests:
python3 tools/video_inpaint.py --frame_dir ./demo/frames --MASK_ROOT ./demo/masks --img_size 512 832 --FlowNet2 --DFC --ResNet101 --Propagation
I met this error:
ImportError: No module named 'models.FlowNet2_Models.resample2d_package._ext.resample2d._resample2d
QQ图片20201201102243
How to solve this problem?

@ouyang11111
Copy link

do you solve the problem ?

@Ligul
Copy link

Ligul commented Jan 16, 2023

This issue is still relevant for me
root@220933f32d51:/inpainting# python3 tools/video_inpaint.py --frame_dir ./demo/frames --MASK_ROOT ./demo/masks --img_size 512 832 --FlowNet2 --DFC --ResNet101 --Propagation Traceback (most recent call last): File "tools/video_inpaint.py", line 7, in <module> from tools.frame_inpaint import DeepFillv1 File "/inpainting/tools/frame_inpaint.py", line 7, in <module> from models import DeepFill File "/inpainting/models/__init__.py", line 1, in <module> from .FlowNet2_Models.FlowNet2 import * File "/inpainting/models/FlowNet2_Models/FlowNet2.py", line 8, in <module> from .resample2d_package.modules.resample2d import Resample2d File "/inpainting/models/FlowNet2_Models/resample2d_package/modules/resample2d.py", line 3, in <module> from ..functions.resample2d import Resample2dFunction File "/inpainting/models/FlowNet2_Models/resample2d_package/functions/resample2d.py", line 3, in <module> from .._ext import resample2d File "/inpainting/models/FlowNet2_Models/resample2d_package/_ext/resample2d/__init__.py", line 3, in <module> from ._resample2d import lib as _lib, ffi as _ffi ImportError: No module named 'models.FlowNet2_Models.resample2d_package._ext.resample2d._resample2d'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants