forked from yapic/yapic
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.gitlab-ci.yml
33 lines (31 loc) · 942 Bytes
/
.gitlab-ci.yml
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
run_fast_tests:
image: python:3.7
stage: test
script:
- apt-get update
- apt-get --yes install git
- export GIT_SSL_NO_VERIFY=1
- cd ${CI_PROJECT_DIR}
- pip install --upgrade pip setuptools
- pip install tensorflow==1.15
- pip install .
- pip install -U pytest
- pytest -s -v -m "not slow"
tags: [docker]
run_tutorialdata_end2end:
image: python:3.7
tags: [docker]
only:
- schedules
script:
- mkdir data
- mkdir predictions
- cp ${CI_PROJECT_DIR}/docs/example_data/leaves_example_data.zip .
- unzip leaves_example_data.zip -d data/.
- pip install --upgrade pip setuptools
- pip install tensorflow==1.15
- pip install yapic
- yapic --help
- yapic train unet_2d "data/*.tif" data/leaf_labels_ilastik133.ilp -v 0 --epochs=2 --steps=3
- yapic predict model.h5 "data/*.tif" predictions
- yapic deploy model.h5 data/leaves_1.tif myDeepImageJModel