mrowenyao commited on
Commit
838a779
1 Parent(s): 8bc1979

cuda to cpu

Browse files
Files changed (1) hide show
  1. inference.py +1 -1
inference.py CHANGED
@@ -17,7 +17,7 @@ def infer(prot, apta):
17
  n_heads=8,
18
  dropout=0.1,
19
  load_best_pt=True, # already loads the pretrained model using the datasets included in repo -- no need to run the bottom two cells
20
- device='cuda',
21
  seed=1004)
22
 
23
  scores = pipeline.inference([apta], [prot], [0])
 
17
  n_heads=8,
18
  dropout=0.1,
19
  load_best_pt=True, # already loads the pretrained model using the datasets included in repo -- no need to run the bottom two cells
20
+ device='cpu',
21
  seed=1004)
22
 
23
  scores = pipeline.inference([apta], [prot], [0])