forked from lowe-lab-ucl/cellx-predict
-
Notifications
You must be signed in to change notification settings - Fork 0
/
run_docker.sh
executable file
·44 lines (38 loc) · 1.53 KB
/
run_docker.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
#!/bin/bash
PATCH_DIR=/media/quantumjot/DataIII/Data/VAE_new/training/patches
GLIMPSE_DIR=/media/quantumjot/DataIII/Data/VAE_new/training/glimpses
MODEL_DIR=/media/quantumjot/DataIII/Models/docker
LOG_DIR=/media/quantumjot/DataIII/Training/cellx-logs
# docker run -u $(id -u):$(id -g) -it --gpus all \
# -v $PATCH_DIR:/cellx-predict/container/data:ro \
# -v $LOG_DIR:/cellx-predict/container/logs:rw \
# -v $MODEL_DIR:/cellx-predict/container/models:rw \
# --rm cellxpred/cellxpred:latest \
# python run_training.py \
# --model=encoder \
# --epochs=100
# docker run -u $(id -u):$(id -g) -it --gpus all \
# -v $PATCH_DIR:/cellx-predict/container/data:ro \
# -v $LOG_DIR:/cellx-predict/container/logs:rw \
# -v $MODEL_DIR:/cellx-predict/container/models:rw \
# --rm cellxpred/cellxpred:latest \
# python run_training.py \
# --model=projector \
# --epochs=100
# docker run -u $(id -u):$(id -g) -it --gpus all \
# -v $GLIMPSE_DIR:/cellx-predict/container/data:rw \
# -v $LOG_DIR:/cellx-predict/container/logs:rw \
# -v $MODEL_DIR:/cellx-predict/container/models:rw \
# --rm cellxpred/cellxpred:latest \
# python run_prepare.py \
# --model=temporal \
# --use_rotations
docker run -u $(id -u):$(id -g) -it --gpus all \
-v $GLIMPSE_DIR:/cellx-predict/container/data:ro \
-v $LOG_DIR:/cellx-predict/container/logs:rw \
-v $MODEL_DIR:/cellx-predict/container/models:rw \
--rm cellxpred/cellxpred:latest \
python run_training.py \
--model=temporal \
--epochs=100 \
--use_probabilistic_encoder