Skip to content

Commit

Permalink
fixed #60 bug
Browse files Browse the repository at this point in the history
  • Loading branch information
CVHub520 committed Sep 18, 2023
1 parent 27418f6 commit 79b9f89
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion anylabeling/services/auto_labeling/model_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ def load_model_configs(self):
model_config = yaml.safe_load(f)
model_config["config_file"] = config_file
else: # Config file is in local file system
with open(config_file, "r") as f:
with open(config_file, "r", encoding="utf-8") as f:
model_config = yaml.safe_load(f)
model_config["config_file"] = os.path.normpath(
os.path.abspath(config_file)
Expand Down

0 comments on commit 79b9f89

Please sign in to comment.