Skip to content

KeyError: 'Non-existent config key: INPUT.REA.MEAN'  #240

@niangea

Description

@niangea

当我在用fastreid的时候,报了以下错误
Traceback (most recent call last):
File "deepsort.py", line 178, in
with VideoTracker(cfg, args, video_path=args.VIDEO_PATH) as vdo_trk:
File "deepsort.py", line 43, in init
self.deepsort = build_tracker(cfg, use_cuda=use_cuda)
File "/home/lihenian/mytest-01/deep_sort_pytorch-master/deep_sort/init.py", line 9, in build_tracker
return DeepSort(model_path=cfg.FASTREID.CHECKPOINT, model_config=cfg.FASTREID.CFG,
File "/home/lihenian/mytest-01/deep_sort_pytorch-master/deep_sort/deep_sort.py", line 28, in init
self.extractor = FastReIDExtractor(model_config, model_path, use_cuda=use_cuda)
File "/home/lihenian/mytest-01/deep_sort_pytorch-master/deep_sort/deep/feature_extractor.py", line 55, in init
cfg.merge_from_file(model_config)
File "/home/lihenian/anaconda3/lib/python3.8/site-packages/fastreid/config/config.py", line 119, in merge_from_file
self.merge_from_other_cfg(loaded_cfg)
File "/home/lihenian/anaconda3/lib/python3.8/site-packages/fastreid/config/config.py", line 130, in merge_from_other_cfg
return super().merge_from_other_cfg(cfg_other)
File "/home/lihenian/anaconda3/lib/python3.8/site-packages/yacs/config.py", line 225, in merge_from_other_cfg
_merge_a_into_b(cfg_other, self, self, [])
File "/home/lihenian/anaconda3/lib/python3.8/site-packages/yacs/config.py", line 493, in _merge_a_into_b
_merge_a_into_b(v, b[k], root, key_list + [k])
File "/home/lihenian/anaconda3/lib/python3.8/site-packages/yacs/config.py", line 493, in _merge_a_into_b
_merge_a_into_b(v, b[k], root, key_list + [k])
File "/home/lihenian/anaconda3/lib/python3.8/site-packages/yacs/config.py", line 506, in _merge_a_into_b
raise KeyError("Non-existent config key: {}".format(full_key))
KeyError: 'Non-existent config key: INPUT.REA.MEAN'
请问有大佬知道是什么问题吗

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions