Skip to content

Commit

Permalink
Fix.
Browse files Browse the repository at this point in the history
  • Loading branch information
hqucms committed Sep 28, 2022
1 parent 9beefec commit 646a940
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.3.8',
version='0.3.9',
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 @@ -895,7 +895,7 @@ def main():
var_name, kfold = args.cross_validation.split('%')
kfold = int(kfold)
for i in range(kfold):
logger.info(f'\n=== Running cross validation, fold {i} of {kfold} ===')
_logger.info(f'\n=== Running cross validation, fold {i} of {kfold} ===')
args.model_prefix = os.path.join(f'{model_dir}_fold{i}', model_fn)
args.extra_selection = f'{var_name}%{kfold}!={i}'
args.extra_test_selection = f'{var_name}%{kfold}=={i}'
Expand Down

0 comments on commit 646a940

Please sign in to comment.