Skip to content

Commit

Permalink
fix flask
Browse files Browse the repository at this point in the history
  • Loading branch information
RRFRRF committed Jan 3, 2025
1 parent 6c1dd20 commit 320f4a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion logo_matching.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ def check_domain_brand_inconsistency(logo_boxes,
with open(domain_map_path, 'rb') as handle:
domain_map = pickle.load(handle)
with open(os.path.join(os.path.dirname(__file__), 'configs.yaml')) as file:
configs = yaml.load(file, Loader = yaml.FullLoader)
configs = yaml.load(file, Loader=yaml.FullLoader)
zip_path = os.path.join(os.path.dirname(__file__), configs['SIAMESE_MODEL']['TARGETLIST_PATH'])
# 获取解压后的目录路径
targetlist_path = os.path.join(os.path.dirname(zip_path), os.path.basename(zip_path).split('.zip')[0])
Expand Down

0 comments on commit 320f4a5

Please sign in to comment.