-
Notifications
You must be signed in to change notification settings - Fork 40
Expand file tree
/
Copy pathrun.yaml
More file actions
41 lines (35 loc) · 931 Bytes
/
run.yaml
File metadata and controls
41 lines (35 loc) · 931 Bytes
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
name: artifact_example
entry_points:
preprocess:
artifacts:
output:
- train_data
- validate_data
command: bash -x artifact_example/shells/data_artifact.sh {{data_path}} {{train_data}}
{{validate_data}}
docker_env: centos:centos7
env:
USER_ABC: 123_{{PF_USER_NAME}}
parameters:
data_path: ./artifact_example/data/
train:
artifacts:
input:
train_data: '{{preprocess.train_data}}'
output:
- train_model
command: bash artifact_example/shells/train.sh {{epoch}} {{train_data}} {{train_model}}
deps: preprocess
parameters:
epoch: 15
validate:
artifacts:
input:
data: '{{preprocess.validate_data}}'
model: '{{train.train_model}}'
command: bash artifact_example/shells/validate.sh {{model}}
deps: preprocess,train
docker_env: nginx:1.7.9
parallelism: 1
fs_options:
main_fs: {name: "ppl"}