-
Notifications
You must be signed in to change notification settings - Fork 7
Open
Description
bicycle/notebooks/experiments/frangieh/evaluate_imae.py
Lines 184 to 196 in 0bf5c4f
| for gene in tqdm(range(gene_start, gene_end)): #tqdm(range(gt_interv.shape[0])): | |
| model = BICYCLE.load_from_checkpoint(checkpoint_path=OUT_PATH / f"temp_{DATASET}.ckpt", map_location=device, strict=True) | |
| model.optimizer = "adam" | |
| model.lr = 1e-3 | |
| if RANDOMIZE == 1: | |
| model.z_loc.data = z_loc_init | |
| model.z_scale.data = z_scale_init | |
| model.train() | |
| for gene in range(61): |
There is a nested for gene in range(61) loop that reuses the same variable name as the outer loop, potentially causing unintended behavior.
How were the I-MAE values for the paper calculated?
Metadata
Metadata
Assignees
Labels
No labels