Open afnan29alofi opened 1 year ago
This may be due to the version of mmpose
. Can you try installing mmpose==0.18.0
and running the code again?
Hi, I have the same problem and I have installed mmpose version 0.18.0. Maybe the problem is something else...
hi, when i try run the pose test I get this error
code : !python test.py /content/bdd100k-models/pose/configs/pose/hrnet_w32_256x192_1x_pose_bdd100k.py --gpu_collect --format-dir /content/
error :
Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/mmcv/utils/registry.py", line 51, in build_from_cfg return obj_cls(**args) TypeError: TopDownCocoDataset.init() got an unexpected keyword argument 'dataset_info'
During handling of the above exception, another exception occurred:
Traceback (most recent call last): File "/content/bdd100k-models/pose/test.py", line 132, in
main()
File "/content/bdd100k-models/pose/test.py", line 89, in main
dataset = build_dataset(cfg.data.test, dict(test_mode=True))
File "/usr/local/lib/python3.10/dist-packages/mmpose/datasets/builder.py", line 44, in build_dataset
dataset = build_from_cfg(cfg, DATASETS, default_args)
File "/usr/local/lib/python3.10/dist-packages/mmcv/utils/registry.py", line 54, in build_from_cfg
raise type(e)(f'{obj_cls.name}: {e}')
TypeError: TopDownBDD100KPoseDataset: TopDownCocoDataset.init() got an unexpected keyword argument 'dataset_info'