project1/configs/r101_eval_single.sh

24 lines
527 B
Bash

#!/usr/bin/env bash
set -x
T=`date +%m%d%H%M`
EXP_DIR=exps/our_models/exps_single/r101
mkdir -p ${EXP_DIR}
PY_ARGS=${@:1}
python -u main.py \
--backbone resnet101 \
--epochs 7 \
--eval \
--num_feature_levels 1 \
--num_queries 300 \
--dilation \
--batch_size 1 \
--resume ${EXP_DIR}/r101checkpoint0009.pth \
--lr_drop_epochs 4 6 \
--num_workers 16 \
--with_box_refine \
--dataset_file vid_single \
--output_dir ${EXP_DIR} \
${PY_ARGS} 2>&1 | tee ${EXP_DIR}/log.train.$T