Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
niangea opened this issue Jan 3, 2022 · 0 comments
Open

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

niangea opened this issue Jan 3, 2022 · 0 comments

Comments

@niangea
Copy link

niangea commented Jan 3, 2022

当我在用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'
请问有大佬知道是什么问题吗

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant