-
Notifications
You must be signed in to change notification settings - Fork 37
/
Copy path.travis.yml
28 lines (27 loc) · 4.4 KB
/
.travis.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
dist: xenial
language: python
jobs:
include:
- name: "PyBML test on Xenial Linux with Python 3.7"
python: 3.7
install:
#- pip3 install -r requirements.txt
- python setup.py install
- pip install coverage
script:
- cd test_script
# - python3 test_meta_init.py
- coverage run -p test_setup_model.py
- coverage run -p test_meta_init.py --mode=train --dataset=omniglot --classes=5 --examples_train=1 --examples_test=1 --meta_batch_size=1 --meta_train_iterations=200 --T=1 --meta-lr=0.001 --lr=0.1 --method=MetaInit --inner_method=Simple --outer_method=Simple --learn_lr=True --logdir=../tmp/ --clip_value=10.0 --first_order=True --print-interval=100 --save_interval=100 --use_t=True --Notes=toolkit_TNet
- coverage run -p test_meta_init.py --mode=test --dataset=omniglot --classes=5 --examples_train=1 --examples_test=1 --meta_batch_size=1 --meta_train_iterations=200 --T=1 --meta-lr=0.001 --lr=0.1 --method=MetaInit --inner_method=Simple --outer_method=Simple --logdir=../tmp/ --expdir=../tmp/ --clip_value=10.0 --iterations_to_test=100 --print-interval=100 --save_interval=100 --use_t=True --Notes=toolkit_TNet
- coverage run -p test_meta_init.py --mode=train --dataset=omniglot --classes=5 --examples_train=1 --examples_test=1 --meta_batch_size=1 --meta_train_iterations=10 --T=2 --meta-lr=0.001 --lr=0.1 --method=MetaInit --inner_method=Simple --outer_method=Simple --logdir=../tmp/ --expdir=../tmp/ --print-interval=100 --first_order=True --save_interval=100 --use_warp=True --Notes=toolkit_warp
- coverage run -p test_meta_feat.py --mode=train --dataset=omniglot --classes=5 --examples_train=1 --examples_test=1 --meta_batch_size=1 --meta_train_iterations=100 --T=2 --meta-lr=0.001 --lr=0.1 --method=MetaFeat --inner_method=Trad --outer_method=Reverse --inner_opt=Adam --outer_opt=Adam --clip_value=10.0 --logdir=../tmp/ --print-interval=100 --truncate_iter=1 --save_interval=100 --Notes=toolkit_test_TRHG
- coverage run -p test_meta_feat.py --mode=test --dataset=omniglot --classes=5 --examples_train=1 --examples_test=1 --meta_batch_size=1 --meta_train_iterations=100 --T=2 --meta-lr=0.001 --lr=0.1 --method=MetaFeat --inner_method=Trad --outer_method=Reverse --inner_opt=Adam --outer_opt=Adam --clip_value=10.0 --logdir=../tmp/ --expdir=../tmp/ --print-interval=100 --truncate_iter=1 --save_interval=100 --Notes=toolkit_test_TRHG
- coverage run -p test_meta_feat.py --mode=train --dataset=omniglot --classes=5 --examples_train=1 --examples_test=1 --meta_batch_size=1 --meta_train_iterations=10 --T=1 --meta-lr=0.001 --lr=0.1 --method=MetaFeat --inner_method=Aggr --learn_alpha_itr=True --learn_st=True --outer_method=Reverse --inner_opt=Momentum --outer_opt=Momentum --logdir=../tmp/ --alpha=0.7 --print-interval=100 --save_interval=100 --Notes=toolkit_test_BDA
- coverage run -p test_meta_feat.py --mode=train --dataset=omniglot --classes=5 --examples_train=1 --examples_test=1 --meta_batch_size=1 --meta_train_iterations=10 --T=1 --meta-lr=0.001 --lr=0.1 --method=MetaFeat --inner_method=Aggr --learn_alpha=True --learn_st=True --outer_method=Reverse --inner_opt=Momentum --outer_opt=Momentum --logdir=../tmp/ --alpha=0.3 --print-interval=100 --save_interval=100 --Notes=toolkit_test_BDA_alpha_iter
- coverage run -p test_meta_feat.py --mode=train --dataset=omniglot --classes=5 --examples_train=1 --examples_test=1 --meta_batch_size=2 --meta_train_iterations=10 --T=1 --meta-lr=0.001 --lr=0.1 --method=MetaFeat --inner_method=Aggr --outer_method=Darts --alpha=0.7 --logdir=../tmp/ --print-interval=100 --save_interval=100 --Notes=toolkit_test_DARTS
- coverage run -p test_meta_feat.py --mode=train --dataset=omniglot --classes=5 --examples_train=1 --examples_test=1 --meta_batch_size=2 --meta_train_iterations=10 --T=1 --meta-lr=0.001 --lr=0.1 --method=MetaFeat --inner_method=Aggr --outer_method=Darts --alpha=0.7 --learn_alpha_itr=True --logdir=../tmp/ --print-interval=100 --save_interval=100 --Notes=toolkit_test_DARTS_alpha_iter
- coverage run -p test_meta_feat.py --mode=train --dataset=omniglot --classes=5 --examples_train=1 --examples_test=1 --meta_batch_size=1 --meta_train_iterations=10 --T=1 --meta-lr=0.001 --lr=0.1 --method=MetaFeat --inner_method=Trad --outer_method=Implicit --inner_opt=SGD --outer_opt=Adam --logdir=../tmp/ --print-interval=100 --save_interval=100 --Notes=toolkit_test_Implicit
- coverage combine
after_success:
- bash <(curl -s https://codecov.io/bash)