Skip to content

Commit 0ea828f

Browse files
committed
Update README
1 parent cc75463 commit 0ea828f

2 files changed

Lines changed: 9 additions & 8 deletions

File tree

README.md

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -267,7 +267,7 @@ Now that we know Docker is functioning properly, we can begin building our Docke
267267
For example, for the DIPS-Plus test target with the PDB ID: 4HEQ:
268268

269269
```bash
270-
python3 docker/run_docker.py --left_pdb_filepath "$DI_DIR"/project/test_data/4heq_l_u.pdb --right_pdb_filepath "$DI_DIR"/project/test_data/4heq_r_u.pdb --input_dataset_dir "$DI_DIR"/project/datasets/Input --ckpt_name "$DI_DIR"/project/checkpoints/LitGINI-GeoTran-DilResNet.ckpt --hhsuite_db ~/Data/Databases/bfd/bfd_metaclust_clu_complete_id30_c90_final_seq.sorted_opt
270+
python3 docker/run_docker.py --left_pdb_filepath "$DI_DIR"/project/test_data/4heq_l_u.pdb --right_pdb_filepath "$DI_DIR"/project/test_data/4heq_r_u.pdb --input_dataset_dir "$DI_DIR"/project/datasets/Input --ckpt_name "$DI_DIR"/project/checkpoints/LitGINI-GeoTran-DilResNet.ckpt --hhsuite_db ~/Data/Databases/bfd/bfd_metaclust_clu_complete_id30_c90_final_seq.sorted_opt --num_gpus 0
271271
```
272272

273273
This script will generate and (as NumPy array files - e.g., test_data/4heq_contact_prob_map.npy)
@@ -277,18 +277,19 @@ Now that we know Docker is functioning properly, we can begin building our Docke
277277
7. Note that by using the default
278278
279279
```bash
280-
num_gpus=0
280+
--num_gpus 0
281281
```
282282
283-
flag when executing the Docker container's run script, the Docker container will only
284-
make use of the system's available CPU(s) for prediction. However, by setting
285-
num_gpus to
283+
flag when executing `run_docker.py`, the Docker container will only
284+
make use of the system's available CPU(s) for prediction. However,
285+
by specifying
286286

287287
```bash
288-
num_gpus=1
288+
--num_gpus 1
289289
```
290290

291-
the Docker container will then employ the first available GPU for prediction.
291+
when executing `run_docker.py`, the Docker container will then
292+
employ the first available GPU for prediction.
292293

293294
## Running DeepInteract via a Traditional Installation (for Linux-Based Operating Systems)
294295

project/lit_model_predict_docker.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
'Path to input config file for PSAIA')
2626
flags.DEFINE_string('hhsuite_db', None, 'Path to downloaded and extracted HH-suite3-compatible database'
2727
' (e.g., BFD or Uniclust30')
28-
flags.DEFINE_integer('num_gpus', 0, 'How many GPUs to use to make a prediction (num_gpus=0 means use CPU instead)')
28+
flags.DEFINE_integer('num_gpus', 0, 'How many GPUs to use to make a prediction (--num_gpus 0 means use CPU instead)')
2929

3030
FLAGS = flags.FLAGS
3131

0 commit comments

Comments
 (0)