HRNet / Lite-HRNet

This is an official pytorch implementation of Lite-HRNet: A Lightweight High-Resolution Network.
Apache License 2.0
819 stars 126 forks source link

FileNotFoundError: TopDownMpiiDataset: file "/Lite-HRNet/configs/_base_/datasets/mpii.py" does not exist #63

Open ZardZen opened 2 years ago

GoogQing commented 2 years ago

Have you fixed it? Suffer the same problem

ZekunZh commented 2 years ago

Same problem, any idea how to fix it ? 🙏

l1teng commented 2 years ago

Same problem, any solutions?

l1teng commented 2 years ago

I tried the COCO dataset for testing, met the similar issue.

The standard output as the following,

Traceback (most recent call last):
  File "test.py", line 141, in <module>
    main()
  File "test.py", line 96, in main
    dataset = build_dataset(cfg.data.test, dict(test_mode=True))
  File "/opt/conda/envs/hrnet/lib/python3.7/site-packages/mmpose/datasets/builder.py", line 44, in build_dataset
    dataset = build_from_cfg(cfg, DATASETS, default_args)
  File "/opt/conda/envs/hrnet/lib/python3.7/site-packages/mmcv/utils/registry.py", line 55, in build_from_cfg
    raise type(e)(f'{obj_cls.__name__}: {e}')
FileNotFoundError: TopDownCocoDataset: file "/root/stu/tengli/Lite-HRNet/configs/_base_/datasets/coco.py" does not exist

Is there anyone meet this and solved can help? Thanks...

l1teng commented 2 years ago

Hi, all. A good news here.

I tried Lite-HRNet model testing with code in this repo and it worked.

Hope can help you.

zwd1993 commented 2 years ago

从 mmpose config 下复制个base粘贴到缺失的位置即可 解决了FileNotFoundError: file "/mnt/d/workplace/Lite-HRNet/configs/base/datasets/coco.py" does not exist 该问题

zwd1993 commented 2 years ago

https://github.com/open-mmlab/mmpose/tree/master/configs/_base_/

ZekunZh commented 2 years ago

@zwd1993 Many thanks !