Skip to content

Commit

Permalink
remove accelerator parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
sainirmayi committed Jun 27, 2024
1 parent dd27817 commit 9ba23a1
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/methods/destvi/script.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@
train_size=0.9,
validation_size=0.1,
early_stopping_monitor="elbo_validation",
accelerator="gpu"
)

DestVI.setup_anndata(input_spatial)
Expand All @@ -39,7 +38,6 @@
max_epochs=par['max_epochs_sp'],
batch_size=min(int(input_spatial.n_obs / 20 + 3), 128),
plan_kwargs={"min_kl_weight": 3.0, "max_kl_weight": 3},
accelerator="gpu"
)
input_spatial.obsm["proportions_pred"] = st_model.get_proportions().to_numpy()

Expand Down

0 comments on commit 9ba23a1

Please sign in to comment.