Skip to content
Snippets Groups Projects
Commit 33dd8ee8 authored by Tim O'Donnell's avatar Tim O'Donnell
Browse files

fixes for kubeface-based model training

parent fc26e687
No related merge requests found
......@@ -11,10 +11,13 @@ To generate this download we run:
```
# If you are running dask distributed using our kubernetes config, you can use the DASK_IP one liner below.
# Otherwise, just set it to the IP of the dask scheduler.
DASK_IP=$(kubectl get service | grep daskd-scheduler | tr -s ' ' | cut -d ' ' -f 3)
./GENERATE.sh \
--joblib-num-jobs 100 \
--joblib-pre-dispatch all \
--cv-folds-per-task 10 \
--dask-scheduler $DASK_IP:8786
--backend kubernetes \
--storage-prefix gs://kubeface \
--worker-image hammerlab/mhcflurry:latest \
--kubernetes-task-resources-memory-mb 10000 \
--worker-path-prefix venv-py3/bin \
--max-simultaneous-tasks 200 \
```
......@@ -3,13 +3,12 @@ from mhcflurry.class1_allele_specific.train import HYPERPARAMETER_DEFAULTS
import json
models = HYPERPARAMETER_DEFAULTS.models_grid(
#impute=[False, True],
impute=[False],
impute=[False, True],
activation=["tanh"],
layer_sizes=[[12], [64], [128]],
embedding_output_dim=[8, 32, 64],
dropout_probability=[0, .1, .25],
# fraction_negative=[0, .1, .2],
fraction_negative=[0, .1, .2],
n_training_epochs=[250])
sys.stderr.write("Models: %d\n" % len(models))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment