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

[Fix] Fix inferencer gets wrong configs path #996

Merged
merged 14 commits into from
Mar 14, 2023
2 changes: 1 addition & 1 deletion mmengine/infer/infer.py
Expand Up @@ -419,7 +419,7 @@ def _get_repo_or_mim_dir(scope):
return repo_dir
else:
mim_dir = osp.join(package_path, '.mim')
if not osp.exists(osp.join(mim_dir, 'Configs')):
if not osp.exists(osp.join(mim_dir, 'configs')):
raise FileNotFoundError(
f'Cannot find Configs directory in {package_path}!, '
f'please check the completeness of the {scope}.')
Expand Down