Skip to content

Commit 4e7b559

Browse files
author
Karin Hrovatin
committed
scglue saving log
1 parent b079a2b commit 4e7b559

1 file changed

Lines changed: 7 additions & 2 deletions

File tree

notebooks/eval/cleaned/run_integration_scglue.py

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -317,12 +317,17 @@ def str_to_float_zeronone(x):
317317
glue = scglue.models.fit_SCGLUE(
318318
mods_adata, my_guidance,
319319
init_kws=dict(latent_dim=latent_dim, h_depth=h_depth, h_dim=h_dim, random_seed=args.seed),
320-
fit_kws={"directory": "glue", "max_epochs": max_epochs},
320+
fit_kws={
321+
# Setting dir causes error as multiple runs want to be saved in the same dir
322+
#"directory": "glue",
323+
# The below would likely work
324+
"directory": path_save+'glue_logs',
325+
"max_epochs": max_epochs},
321326
compile_kws=dict(lam_data=lam_data, lam_kl=lam_kl, lam_graph=lam_graph, lam_align=lam_align),
322327
balance_kws=None,
323328
)
324329

325-
glue.save(filename)
330+
#glue.save(filename)
326331

327332
# %%
328333
# glue = scglue.models.load_model(filename)

0 commit comments

Comments
 (0)