1 Star 0 Fork 0

hao_zhang/child-mind-institute-detect-sleep-states-3rd-place-solution

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
runs.py 6.99 KB
一键复制 编辑 原始数据 按行查看 历史
fnoa 提交于 2023-12-11 14:27 . first commit
import os
import pandas as pd
codigo = 'train'
folds_split = 'new'
# TRAIN gru_abs
name = 'gru_abs'
expand = 9
pot = 1
fold_num = 0
os.system(f'python {codigo}.py --config yaml/{name}.yaml --pot {pot} --expand {expand} --fold {fold_num} --schedule Linear --fold_split {folds_split}')
fold_num = 1
os.system(f'python {codigo}.py --config yaml/{name}.yaml --pot {pot} --expand {expand} --fold {fold_num} --schedule Linear --fold_split {folds_split}')
fold_num = 2
os.system(f'python {codigo}.py --config yaml/{name}.yaml --pot {pot} --expand {expand} --fold {fold_num} --schedule Linear --fold_split {folds_split}')
fold_num = 3
os.system(f'python {codigo}.py --config yaml/{name}.yaml --pot {pot} --expand {expand} --fold {fold_num} --schedule Linear --fold_split {folds_split}')
fold_num = 4
os.system(f'python {codigo}.py --config yaml/{name}.yaml --pot {pot} --expand {expand} --fold {fold_num} --schedule Linear --fold_split {folds_split}')
# TRAIN gru_abs_short
name = 'gru_abs_short'
expand = 9
pot = 1
fold_num = 0
os.system(f'python {codigo}.py --config yaml/{name}.yaml --pot {pot} --expand {expand} --fold {fold_num} --schedule Linear --fold_split {folds_split}')
fold_num = 1
os.system(f'python {codigo}.py --config yaml/{name}.yaml --pot {pot} --expand {expand} --fold {fold_num} --schedule Linear --fold_split {folds_split}')
fold_num = 2
os.system(f'python {codigo}.py --config yaml/{name}.yaml --pot {pot} --expand {expand} --fold {fold_num} --schedule Linear --fold_split {folds_split}')
fold_num = 3
os.system(f'python {codigo}.py --config yaml/{name}.yaml --pot {pot} --expand {expand} --fold {fold_num} --schedule Linear --fold_split {folds_split}')
fold_num = 4
os.system(f'python {codigo}.py --config yaml/{name}.yaml --pot {pot} --expand {expand} --fold {fold_num} --schedule Linear --fold_split {folds_split}')
# TRAIN gru_abs_clean
name = 'gru_abs_clean'
expand = 9
pot = 1
fold_num = 0
os.system(f'python {codigo}.py --config yaml/{name}.yaml --pot {pot} --expand {expand} --fold {fold_num} --schedule Linear --fold_split {folds_split}')
fold_num = 1
os.system(f'python {codigo}.py --config yaml/{name}.yaml --pot {pot} --expand {expand} --fold {fold_num} --schedule Linear --fold_split {folds_split}')
fold_num = 2
os.system(f'python {codigo}.py --config yaml/{name}.yaml --pot {pot} --expand {expand} --fold {fold_num} --schedule Linear --fold_split {folds_split}')
fold_num = 3
os.system(f'python {codigo}.py --config yaml/{name}.yaml --pot {pot} --expand {expand} --fold {fold_num} --schedule Linear --fold_split {folds_split}')
fold_num = 4
os.system(f'python {codigo}.py --config yaml/{name}.yaml --pot {pot} --expand {expand} --fold {fold_num} --schedule Linear --fold_split {folds_split}')
# TRAIN gru_abs_new
name = 'gru_abs_new'
expand = 9
pot = 1
fold_num = 0
os.system(f'python {codigo}.py --config yaml/{name}.yaml --pot {pot} --expand {expand} --fold {fold_num} --schedule Linear --fold_split {folds_split}')
fold_num = 1
os.system(f'python {codigo}.py --config yaml/{name}.yaml --pot {pot} --expand {expand} --fold {fold_num} --schedule Linear --fold_split {folds_split}')
fold_num = 2
os.system(f'python {codigo}.py --config yaml/{name}.yaml --pot {pot} --expand {expand} --fold {fold_num} --schedule Linear --fold_split {folds_split}')
fold_num = 3
os.system(f'python {codigo}.py --config yaml/{name}.yaml --pot {pot} --expand {expand} --fold {fold_num} --schedule Linear --fold_split {folds_split}')
fold_num = 4
os.system(f'python {codigo}.py --config yaml/{name}.yaml --pot {pot} --expand {expand} --fold {fold_num} --schedule Linear --fold_split {folds_split}')
# TRAIN gru_abs_noinv
name = 'gru_abs_noinv'
expand = 9
pot = 1
fold_num = 0
os.system(f'python {codigo}.py --config yaml/{name}.yaml --pot {pot} --expand {expand} --fold {fold_num} --schedule Linear --fold_split {folds_split}')
fold_num = 1
os.system(f'python {codigo}.py --config yaml/{name}.yaml --pot {pot} --expand {expand} --fold {fold_num} --schedule Linear --fold_split {folds_split}')
fold_num = 2
os.system(f'python {codigo}.py --config yaml/{name}.yaml --pot {pot} --expand {expand} --fold {fold_num} --schedule Linear --fold_split {folds_split}')
fold_num = 3
os.system(f'python {codigo}.py --config yaml/{name}.yaml --pot {pot} --expand {expand} --fold {fold_num} --schedule Linear --fold_split {folds_split}')
fold_num = 4
os.system(f'python {codigo}.py --config yaml/{name}.yaml --pot {pot} --expand {expand} --fold {fold_num} --schedule Linear --fold_split {folds_split}')
# TRAIN gru_no_abs
name = 'gru_no_abs'
expand = 9
pot = 2
fold_num = 0
os.system(f'python {codigo}.py --config yaml/{name}.yaml --pot {pot} --expand {expand} --fold {fold_num} --schedule Linear --fold_split {folds_split}')
fold_num = 1
os.system(f'python {codigo}.py --config yaml/{name}.yaml --pot {pot} --expand {expand} --fold {fold_num} --schedule Linear --fold_split {folds_split}')
fold_num = 2
os.system(f'python {codigo}.py --config yaml/{name}.yaml --pot {pot} --expand {expand} --fold {fold_num} --schedule Linear --fold_split {folds_split}')
fold_num = 3
os.system(f'python {codigo}.py --config yaml/{name}.yaml --pot {pot} --expand {expand} --fold {fold_num} --schedule Linear --fold_split {folds_split}')
fold_num = 4
os.system(f'python {codigo}.py --config yaml/{name}.yaml --pot {pot} --expand {expand} --fold {fold_num} --schedule Linear --fold_split {folds_split}')
# TRAIN gru_abs_comb
name = 'gru_abs_comb'
expand = 9
pot = 2
fold_num = 0
os.system(f'python {codigo}.py --config yaml/{name}.yaml --pot {pot} --expand {expand} --fold {fold_num} --schedule Linear --fold_split {folds_split}')
fold_num = 1
os.system(f'python {codigo}.py --config yaml/{name}.yaml --pot {pot} --expand {expand} --fold {fold_num} --schedule Linear --fold_split {folds_split}')
fold_num = 2
os.system(f'python {codigo}.py --config yaml/{name}.yaml --pot {pot} --expand {expand} --fold {fold_num} --schedule Linear --fold_split {folds_split}')
fold_num = 3
os.system(f'python {codigo}.py --config yaml/{name}.yaml --pot {pot} --expand {expand} --fold {fold_num} --schedule Linear --fold_split {folds_split}')
fold_num = 4
os.system(f'python {codigo}.py --config yaml/{name}.yaml --pot {pot} --expand {expand} --fold {fold_num} --schedule Linear --fold_split {folds_split}')
# TRAIN unet_abs
name = 'unet_abs'
expand = 9
pot = 1
fold_num = 0
os.system(f'python {codigo}.py --config yaml/{name}.yaml --pot {pot} --expand {expand} --fold {fold_num} --schedule Cosine --fold_split {folds_split}')
fold_num = 1
os.system(f'python {codigo}.py --config yaml/{name}.yaml --pot {pot} --expand {expand} --fold {fold_num} --schedule Cosine --fold_split {folds_split}')
fold_num = 2
os.system(f'python {codigo}.py --config yaml/{name}.yaml --pot {pot} --expand {expand} --fold {fold_num} --schedule Cosine --fold_split {folds_split}')
fold_num = 3
os.system(f'python {codigo}.py --config yaml/{name}.yaml --pot {pot} --expand {expand} --fold {fold_num} --schedule Cosine --fold_split {folds_split}')
fold_num = 4
os.system(f'python {codigo}.py --config yaml/{name}.yaml --pot {pot} --expand {expand} --fold {fold_num} --schedule Cosine --fold_split {folds_split}')
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/hao_zhang/child-mind-institute-detect-sleep-states-3rd-place-solution.git
[email protected]:hao_zhang/child-mind-institute-detect-sleep-states-3rd-place-solution.git
hao_zhang
child-mind-institute-detect-sleep-states-3rd-place-solution
child-mind-institute-detect-sleep-states-3rd-place-solution
main

搜索帮助