Skip to content

Commit

Permalink
update jet ptcut to be the same as the PF paper (#283)
Browse files Browse the repository at this point in the history
  • Loading branch information
farakiko authored Dec 18, 2023
1 parent f70e596 commit bae2907
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion mlpf/pyg/inference.py
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ def predict_one_batch(conv_type, model, i, batch, rank, jetdef, jet_ptcut, jet_m


@torch.no_grad()
def run_predictions(world_size, rank, model, loader, sample, outpath, jetdef, jet_ptcut=5.0, jet_match_dr=0.1, dir_name=""):
def run_predictions(world_size, rank, model, loader, sample, outpath, jetdef, jet_ptcut=15.0, jet_match_dr=0.1, dir_name=""):
"""Runs inference on the given sample and stores the output as .parquet files."""
if world_size > 1:
conv_type = model.module.conv_type
Expand Down
2 changes: 1 addition & 1 deletion mlpf/pyg/training.py
Original file line number Diff line number Diff line change
Expand Up @@ -648,7 +648,7 @@ def run(rank, world_size, config, args, outdir, logfile):
sample,
outdir,
jetdef,
jet_ptcut=5.0,
jet_ptcut=15.0,
jet_match_dr=0.1,
dir_name=testdir_name,
)
Expand Down

0 comments on commit bae2907

Please sign in to comment.