eth-ait / 4d-dress

Official repository for CVPR 2024 highlight paper 4D-DRESS: A 4D Dataset of Real-world Human Clothing with Semantic Annotations.
https://eth-ait.github.io/4d-dress/
65 stars 2 forks source link

No module named 'utils.utils' from RAFT model #1

Closed WenbWa closed 2 months ago

WenbWa commented 2 months ago

If you encounter the issue like: "ModuleNotFoundError: No module named 'utils.utils'" from the RAFT model.

Please change the line 3 in "4d-dress/4dhumanparsing/lib/RAFT/core/corr.py" as:

from .utils.utils import bilinear_sampler, coords_grid

Please change the line 6-9 in "4d-dress/4dhumanparsing/lib/RAFT/core/raft" as:

from .update import BasicUpdateBlock, SmallUpdateBlock
from .extractor import BasicEncoder, SmallEncoder
from .corr import CorrBlock, AlternateCorrBlock
from .utils.utils import bilinear_sampler, coords_grid, upflow8