Skip to content

Commit

Permalink
Update predict.py
Browse files Browse the repository at this point in the history
  • Loading branch information
ntxxt authored Sep 20, 2023
1 parent 54397be commit 5345b09
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/deeprank_gnn/predict.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,13 @@
# Constants
# TODO: Make these configurable
ESM_MODEL = "esm2_t33_650M_UR50D"
GNN_ESM_MODEL = "paper_pretrained_models/scoring_of_docking_models/gnn_esm/treg_yfnat_b64_e20_lr0.001_foldall_esm.pth.tar"
GNN_ESM_MODEL = (
Path(__file__).parent
/ "paper_pretrained_models/scoring_of_docking_models/gnn_esm/treg_yfnat_b64_e20_lr0.001_foldall_esm.pth.tar"
)
TOKS_PER_BATCH = 4096
REPR_LAYERS = [0, 32, 33]
TRUNCATION_SEQ_LENGTH = 2000
TRUNCATION_SEQ_LENGTH = 2500
INCLUDE = ["mean", "per_tok"]
NPROC = mp.cpu_count() - 1 if mp.cpu_count() > 1 else 1
BATCH_SIZE = 64
Expand Down

0 comments on commit 5345b09

Please sign in to comment.