Skip to content

Commit

Permalink
Update test_generator.py
Browse files Browse the repository at this point in the history
  • Loading branch information
hyunp2 authored Nov 8, 2023
1 parent 212bda1 commit 06f7842
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_generator.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

@fixture()
def load_model():
model =
model = "mofa/models/geom_difflinker.ckpt"
device = torch.device("cuda" if torch.cuda.is_available() else "cpu")
ddpm = DDPM.load_from_checkpoint(model, map_location=device).eval().to(device)
return ddpm
Expand Down

0 comments on commit 06f7842

Please sign in to comment.