-
Notifications
You must be signed in to change notification settings - Fork 0
/
valohai.yaml
50 lines (50 loc) · 1.06 KB
/
valohai.yaml
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
45
46
47
48
49
50
- step:
name: evaluate
image: python:3.9
command:
- pip install -r requirements.txt
- python ./eval.py {parameters}
parameters:
- name: batch_size
default: 25
multiple-separator: ','
optional: false
type: integer
inputs:
- name: model
optional: true
- name: test
optional: true
- step:
name: generate-data
image: python:3.9
command:
- pip install -r requirements.txt
- python ./generate-data.py {parameters}
- step:
name: train-model
image: python:3.9
command:
- pip install -r requirements.txt
- python ./train.py {parameters}
parameters:
- name: batch_size
default: 64
multiple-separator: ','
optional: false
type: integer
- name: learning_rate
default: 0.001
multiple-separator: ','
optional: false
type: float
- name: epochs
default: 5
multiple-separator: ','
optional: false
type: integer
inputs:
- name: train
optional: true
- name: test
optional: true