-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMLproject
37 lines (33 loc) · 1.23 KB
/
MLproject
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
# Author: Carolin Schwitalla
# Email: [email protected]
# Version: 0.1.0-SNAPSHOT
# License: MIT
name: cell-nuclei-segmentation
# conda_env: environment.yml
docker_env:
image: ghcr.io/caroamn/cell_nuclei_segmentation:0.1.0-SNAPSHOT
volumes: ["${PWD}/data:/data"]
environment: [["MLF_CORE_DOCKER_RUN", "TRUE"],["CUBLAS_WORKSPACE_CONFIG", ":4096:8"]]
entry_points:
main:
parameters:
max_epochs: {type: int, default: 5}
gpus: {type: int, default: 0}
accelerator: {type str, default: "None"}
training-batch-size: {type: int, default: 64}
test-batch-size: {type: int, default: 1000}
lr: {type: float, default: 0.01}
general-seed: {type: int, default: 0}
pytorch-seed: {type: int, default: 0}
log-interval: {type: int, default: 100}
command: |
python cell_nuclei_segmentation/cell_nuclei_segmentation.py \
--max_epochs {max_epochs} \
--gpus {gpus} \
--accelerator {accelerator} \
--training-batch-size {training-batch-size} \
--test-batch-size {test-batch-size} \
--lr {lr} \
--general-seed {general-seed} \
--pytorch-seed {pytorch-seed} \
--log-interval {log-interval}