-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathspotty.yaml
47 lines (44 loc) · 1.03 KB
/
spotty.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
project:
name: cvms
syncFilters:
- exclude:
- .git/*
- .idea/*
- '*/__pycache__/*'
- tmp/*
- dependencies/*
- .pytest_cache/*
- trained_models/*
containers:
- projectDir: /workspace/computer-vision-models
hostNetwork: true
file: Dockerfile
env:
PYTHONPATH: /workspace/computer-vision-models
volumeMounts:
- name: workspace
mountPath: /workspace
instances:
- name: train
provider: aws
parameters:
region: eu-west-1
instanceType: p3.2xlarge
availabilityZone: eu-west-1c
spotInstance: true
dockerDataRoot: /docker
volumes:
- name: workspace
parameters:
size: 30
deletionPolicy: retain
- name: docker
parameters:
size: 30
mountDir: /docker
deletionPolicy: retain
scripts:
train: |
python models/semseg/train.py
tensorboard: |
tensorboard --bind_all --port 6006 --logdir /workspace/computer-vision-models/trained_models