Skip to content

Commit

Permalink
add display name
Browse files Browse the repository at this point in the history
  • Loading branch information
jykr committed Aug 21, 2023
1 parent 26e2009 commit 2530985
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 3 additions & 1 deletion bin/bean-qc
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,9 @@ def parse_args():

def main():
args = parse_args()
os.system("python3 -m ipykernel install --user --name bean_python3")
os.system(
"python -m ipykernel install --user --name bean_python3 --display-name bean_python3"
)
pm.execute_notebook(
f"{os.path.dirname(be.__file__)}/../notebooks/sample_quality_report.ipynb",
f"{args.out_report_prefix}.ipynb",
Expand Down
2 changes: 0 additions & 2 deletions bin/bean-run
Original file line number Diff line number Diff line change
Expand Up @@ -63,9 +63,7 @@ def run_inference(
optim=pyro.optim.ClippedAdam({"lr": initial_lr, "lrd": lrd}),
loss=pyro.infer.Trace_ELBO(),
)

losses = []

try:
for t in tqdm(range(num_steps)):
loss = svi.step(data)
Expand Down

0 comments on commit 2530985

Please sign in to comment.