cuda to cpu
Browse files- 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='
|
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])
|