-
Notifications
You must be signed in to change notification settings - Fork 15
/
level2.sh
executable file
·47 lines (42 loc) · 3.39 KB
/
level2.sh
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
#!/bin/bash
set -ev
python -m kuzushiji.classify.level2_features '[["_runs/clf-fold0/detailed.csv.gz"], ["_runs/clf-fold0-wsl8d-mt256-frozen/detailed.csv.gz"], ["_runs/clf-fold0-wsl8d-mt256-frozen-pseudo/detailed.csv.gz"], ["_runs/clf-fold0-wsl8d-mt256-frozen-pseudo-ft/detailed.csv.gz"]]' _runs/level2_train_v11_fold0.csv.gz
python -m kuzushiji.classify.level2_features '[["_runs/clf-fold1/detailed.csv.gz"], ["_runs/clf-fold1-wsl8d-mt256-frozen/detailed.csv.gz"], ["_runs/clf-fold1-wsl8d-mt256-frozen-pseudo/detailed.csv.gz"], ["_runs/clf-fold1-wsl8d-mt256-frozen-pseudo-ft/detailed.csv.gz"]]' _runs/level2_train_v11_fold1.csv.gz
python -m kuzushiji.classify.level2_features '[["_runs/clf-fold2/detailed.csv.gz"], ["_runs/clf-fold2-wsl8d-mt256-frozen/detailed.csv.gz"], ["_runs/clf-fold2-wsl8d-mt256-frozen-pseudo/detailed.csv.gz"], ["_runs/clf-fold2-wsl8d-mt256-frozen-pseudo-ft/detailed.csv.gz"]]' _runs/level2_train_v11_fold2.csv.gz
python -m kuzushiji.classify.level2_features '[["_runs/clf-fold3/detailed.csv.gz"], ["_runs/clf-fold3-wsl8d-mt256-frozen/detailed.csv.gz"], ["_runs/clf-fold3-wsl8d-mt256-frozen-pseudo/detailed.csv.gz"], ["_runs/clf-fold3-wsl8d-mt256-frozen-pseudo-ft/detailed.csv.gz"]]' _runs/level2_train_v11_fold3.csv.gz
python -m kuzushiji.classify.level2_features '[["_runs/clf-fold4/detailed.csv.gz"], ["_runs/clf-fold4-wsl8d-mt256-frozen/detailed.csv.gz"], ["_runs/clf-fold4-wsl8d-mt256-frozen-pseudo/detailed.csv.gz"], ["_runs/clf-fold4-wsl8d-mt256-frozen-pseudo-ft/detailed.csv.gz"]]' _runs/level2_train_v11_fold4.csv.gz
python -m kuzushiji.classify.level2 _runs/clf-fold[0-4]/detailed.csv.gz _runs/level2_train_v11_fold[0-4].csv.gz --save-model lgbxgbv2-v11
python -m kuzushiji.classify.level2_features '[
[
"_runs/clf-fold0/test_detailed.csv.gz",
"_runs/clf-fold1/test_detailed.csv.gz",
"_runs/clf-fold2/test_detailed.csv.gz",
"_runs/clf-fold3/test_detailed.csv.gz",
"_runs/clf-fold4/test_detailed.csv.gz"
],
[
"_runs/clf-fold0-wsl8d-mt256-frozen/test_detailed.csv.gz",
"_runs/clf-fold1-wsl8d-mt256-frozen/test_detailed.csv.gz",
"_runs/clf-fold2-wsl8d-mt256-frozen/test_detailed.csv.gz",
"_runs/clf-fold3-wsl8d-mt256-frozen/test_detailed.csv.gz",
"_runs/clf-fold4-wsl8d-mt256-frozen/test_detailed.csv.gz"
],
[
"_runs/clf-fold0-wsl8d-mt256-frozen-pseudo/test_detailed.csv.gz",
"_runs/clf-fold1-wsl8d-mt256-frozen-pseudo/test_detailed.csv.gz",
"_runs/clf-fold2-wsl8d-mt256-frozen-pseudo/test_detailed.csv.gz",
"_runs/clf-fold3-wsl8d-mt256-frozen-pseudo/test_detailed.csv.gz",
"_runs/clf-fold4-wsl8d-mt256-frozen-pseudo/test_detailed.csv.gz"
],
[
"_runs/clf-fold0-wsl8d-mt256-frozen-pseudo-ft/test_detailed.csv.gz",
"_runs/clf-fold1-wsl8d-mt256-frozen-pseudo-ft/test_detailed.csv.gz",
"_runs/clf-fold2-wsl8d-mt256-frozen-pseudo-ft/test_detailed.csv.gz",
"_runs/clf-fold3-wsl8d-mt256-frozen-pseudo-ft/test_detailed.csv.gz",
"_runs/clf-fold4-wsl8d-mt256-frozen-pseudo-ft/test_detailed.csv.gz"
]
]' level2_test_v11_fold01234_wsl8-fold01234-pseudo-fold01234-pseudo-ft-fold01234.csv.gz
python -m kuzushiji.classify.level2 _runs/clf-fold0/test_detailed.csv.gz \
level2_test_v11_fold01234_wsl8-fold01234-pseudo-fold01234-pseudo-ft-fold01234.csv.gz \
--load-model lgbxgbv2-v11 \
--output sub_level2_test_v11_lgbxgbv2_fold01234_wsl8-fold01234-pseudo-fold01234-pseudo-ft-fold01234_blend.csv.gz