Skip to content

Commit

Permalink
Fix predict_output.
Browse files Browse the repository at this point in the history
  • Loading branch information
hqucms committed Mar 16, 2024
1 parent 70b4e43 commit 5a88c20
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
install_requires.append(line)

setup(name="weaver-core",
version='0.4.14',
version='0.4.15',
description="A streamlined deep-learning framework for high energy physics",
long_description_content_type="text/markdown",
author="H. Qu, C. Li",
Expand Down
2 changes: 1 addition & 1 deletion weaver/train.py
Original file line number Diff line number Diff line change
Expand Up @@ -881,7 +881,7 @@ def _main(args):
del test_loader

if args.predict_output:
if not os.path.dirname(predict_output):
if not os.path.dirname(args.predict_output):
predict_output = os.path.join(
os.path.dirname(args.model_prefix),
'predict_output', args.predict_output)
Expand Down

0 comments on commit 5a88c20

Please sign in to comment.