You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
File "demo2.py", line 12, in
from raft import RAFT
File "/mnt/date1/wb_workspace/foshan/RAFT-master/core/raft.py", line 8, in
from corr import CorrBlock, AlternateCorrBlock
File "/mnt/date1/wb_workspace/foshan/RAFT-master/core/corr.py", line 3, in
from utils.utils import bilinear_sampler, coords_grid
ModuleNotFoundError: No module named 'utils.utils'
can anyone help me ?
The text was updated successfully, but these errors were encountered:
I've encountered the same error. I think by this time you perhaps have figured it out, but as a future reference for other people who run into the same issue:
Adding "core." before the import line that starts with "utils" would fix it. For example,
change from utils.utils import bilinear_sampler, coords_grid
to from core.utils.utils import bilinear_sampler, coords_grid
File "demo2.py", line 12, in
from raft import RAFT
File "/mnt/date1/wb_workspace/foshan/RAFT-master/core/raft.py", line 8, in
from corr import CorrBlock, AlternateCorrBlock
File "/mnt/date1/wb_workspace/foshan/RAFT-master/core/corr.py", line 3, in
from utils.utils import bilinear_sampler, coords_grid
ModuleNotFoundError: No module named 'utils.utils'
can anyone help me ?
The text was updated successfully, but these errors were encountered: