Skip to content

Commit

Permalink
训练脚本纠错
Browse files Browse the repository at this point in the history
  • Loading branch information
littlepai committed Dec 5, 2019
1 parent 6024f3d commit e84bcb8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ echo "开始生成训练数据 $train_sample_num 条,存于 $train_sample_di
python data_gen.py $train_sample_num $train_sample_dir

echo "开始生成验证数据 $val_sample_num 条,存于 $val_sample_dir"
python data_gen.py $val_sample_num $val_sample_num
python data_gen.py $val_sample_num $val_sample_dir

python main.py --epoch 10

2 changes: 1 addition & 1 deletion run_tl.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ rm -rf $tl_train_sample_dir
echo "解压迁移样本当训练集,存放于 $tl_train_sample_dir"
unzip data/迁移学习样本.zip -d $tl_train_sample_dir > /dev/null

echo "解压一毛一样的迁移样本当验证集(数据少),存放于 $tl_val_sample_dir"
rm -rf $tl_val_sample_dir
echo "解压一毛一样的迁移样本当验证集(数据少),存放于 $tl_val_sample_dir"
unzip data/迁移学习样本.zip -d $tl_val_sample_dir > /dev/null

echo "开始迁移学习"
Expand Down

0 comments on commit e84bcb8

Please sign in to comment.