Skip to content

Commit

Permalink
[fix] yolox configuration error
Browse files Browse the repository at this point in the history
  • Loading branch information
wuhanstudio committed May 24, 2024
1 parent d3df403 commit e4bfe4e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion what/models/detection/yolox/exp/build.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ def get_exp_by_file(exp_file):

def get_exp_by_name(exp_name):
exp = exp_name.replace("-", "_") # convert string like "yolox-s" to "yolox_s"
module_name = ".".join(["what", "models", "detection", "yolox", "exp", "default", exp])
module_name = ".".join(["what", "models", "detection", "yolox", "exps", "default", exp])
exp_object = importlib.import_module(module_name).Exp()
return exp_object

Expand Down

0 comments on commit e4bfe4e

Please sign in to comment.