Closed APeiZou closed 3 years ago
mmpose recently moved the location of registries. https://github.com/open-mmlab/mmpose/pull/669 . It was a breaking change. Downstream repos might be affected by this.
Maybe @ly015 could add some compatibility back?
Will be fixed in #731
Traceback (most recent call last): File "tools/train.py", line 17, in
from models import build_posenet
File "/home/sa/workspace/zap/Lite-HRNet/models/init.py", line 1, in
from .backbones import * # noqa
File "/home/sa/workspace/zap/Lite-HRNet/models/backbones/init.py", line 1, in
from .litehrnet import LiteHRNet
File "/home/sa/workspace/zap/Lite-HRNet/models/backbones/litehrnet.py", line 12, in
from mmpose.models.registry import BACKBONES
ModuleNotFoundError: No module named 'mmpose.models.registry'