Skip to content

Commit 71392ca

Browse files
author
deeperlearner
committed
Merge branch 'develop'
2 parents 0c6cc06 + 85ddde4 commit 71392ca

File tree

2 files changed

+4
-39
lines changed

2 files changed

+4
-39
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ When there are more than one module, for example,
7373
- `trainers/first_trainer.py` and `trainers/second_trainer.py`
7474
- `models/model1.py` and `models/model2.py`
7575

76-
Each of them has some classes. In `parse_config.py`, ConfigParser.init_obj() can automatically import the specified class by using importlib.
76+
Each of them has some classes. In `parse_config.py`, `ConfigParser.init_obj()` can automatically import the specified class by using `importlib`.
7777

7878
### AUROC/AUPRC
7979

@@ -90,9 +90,9 @@ Cross validation is supported.
9090
Class `Cross_Valid` in `mains/cross_validation.py` records the index of cross validation.
9191
The model and metric results of each fold are saved.
9292

93-
(TODO)
94-
Also, multi-process cross validation is supported, which allows you to run many folds simultaneously in the background.
95-
The multi-processing is handled by `scripts/run.sh`. You can decide how many processes you want to run at a time by edit the shell script.
93+
Also, multi-process cross validation is supported, which allows you to run many folds simultaneously.
94+
To enable multiprocessing, add flag `--mp`.
95+
You can decide how many processes you want to run at a time by specifying `--n_jobs <int>`.
9696

9797
:warning: Caveat: If your dataset is large, running many processes may cost a lot of RAM.
9898
Be careful to adjust the number of processes and the number of workers in the `data_loaders` part of config.

logger/logger_config_mp.json

Lines changed: 0 additions & 35 deletions
This file was deleted.

0 commit comments

Comments
 (0)