Skip to content

Commit

Permalink
fix: import scope
Browse files Browse the repository at this point in the history
  • Loading branch information
Unbinilium authored Jul 7, 2023
1 parent 792a5e7 commit a164acf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/inference.py
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ def get_task_from_config(config_path):
def build_config(args):
from mmengine.config import Config

from tools.utils.config import load_config
from edgelab.tools.utils.config import load_config

if args.task == "auto":
task = {"mmcls", "mmdet", "mmpose"}.intersection(get_task_from_config(args.config))
Expand Down

0 comments on commit a164acf

Please sign in to comment.