-
Notifications
You must be signed in to change notification settings - Fork 0
/
polyaxon.yaml
69 lines (59 loc) · 1.28 KB
/
polyaxon.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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
---
version: 1
kind: group
framework: pytorch
tags: [mixmatch]
build:
image: pytorch/pytorch:1.4-cuda10.1-cudnn7-runtime
build_steps:
- apt-get update -y
- apt-get install -y libglib2.0-dev libsm6 libxext6 libxrender-dev
- pip install -r requirements.txt
environment:
resources:
cpu:
requests: 4
limits: 4
memory:
requests: 4096
limits: 15360
gpu:
requests: 1
limits: 1
declarations:
model: 'wide_resnet28_2' # or other models
dataset: 'cifar10' # or other datasets
lr: 0.002
wd: 0.00004
num_labeled: 25
iters_per_epoch: 1024
batch_size: 64
epochs: 1024
device: 'cuda'
out_dir: 'mixmatch_al'
mu: 1
temperature: 0.5
num_augmentations: 2
wu: 75
alpha: 0.75
run:
cmd: python -u main.py
--device={{ device }} \
--dataset={{ dataset }} \
--out-dir={{ out_dir }} \
--batch-size={{ batch_size }}
--epochs={{ epochs }} \
--iters-per-epoch={{ iters_per_epoch }} \
--model={{ model }} \
--lr={{ lr }} \
--wd={{ wd }} \
--num-labeled={{ num_labeled }} \
--mu={{ mu }} \
--temperature={{ temperature }} \
--num-augmentations={{ num_augmentations }} \
--wu={{ wu }} \
--alpha={{ alpha }} \
--seed={{ seed }} \
--polyaxon \
--save \
--use-ema