Spaces:
Runtime error
Runtime error
Commit
·
fe4b8a4
1
Parent(s):
56b0bfd
Update esm/scripts/extract.py
Browse files- esm/scripts/extract.py +4 -0
esm/scripts/extract.py
CHANGED
|
@@ -8,6 +8,10 @@ import argparse
|
|
| 8 |
import pathlib
|
| 9 |
import sys
|
| 10 |
print("using", sys.executable)
|
|
|
|
|
|
|
|
|
|
|
|
|
| 11 |
import torch
|
| 12 |
|
| 13 |
from esm import Alphabet, FastaBatchedDataset, ProteinBertModel, pretrained, MSATransformer
|
|
|
|
| 8 |
import pathlib
|
| 9 |
import sys
|
| 10 |
print("using", sys.executable)
|
| 11 |
+
|
| 12 |
+
sys.path.insert("/home/user/.local/lib/python3.8/site-packages", 0)
|
| 13 |
+
import os
|
| 14 |
+
print(os.environ)
|
| 15 |
import torch
|
| 16 |
|
| 17 |
from esm import Alphabet, FastaBatchedDataset, ProteinBertModel, pretrained, MSATransformer
|