Commit 3648893d authored by Ross Girshick's avatar Ross Girshick

fill out experiment scripts

parent d2793d66
#! /bin/bash
set -x
export PYTHONUNBUFFERED="True"
# -----------------------------------------------------------------------------
LOG="experiments/logs/default_vgg16.txt.`date +'%Y-%m-%d_%H-%M-%S'`"
exec 3>&1 4>&2 &> >(tee -a "$LOG")
echo Logging output to "$LOG"
time ./tools/train_net.py --gpu $1 \
--solver models/VGG16/solver.prototxt \
--weights data/imagenet_models/VGG_ILSVRC_16_layers.v2.caffemodel \
--imdb voc_2007_trainval
time ./tools/test_net.py --gpu $1 \
--def models/VGG16/test.prototxt \
--net output/default/voc_2007_trainval/vgg16_fast_rcnn_iter_40000.caffemodel \
--imdb voc_2007_test
# restore stdout/err
exec 1>&3 2>&4
# -----------------------------------------------------------------------------
#! /bin/bash
set -x
export PYTHONUNBUFFERED="True"
# -----------------------------------------------------------------------------
LOG="experiments/logs/default_caffenet.txt.`date +'%Y-%m-%d_%H-%M-%S'`"
exec 3>&1 4>&2 &> >(tee -a "$LOG")
echo Logging output to "$LOG"
time ./tools/train_net.py --gpu $1 \
--solver models/CaffeNet/solver.prototxt \
--weights data/imagenet_models/CaffeNet.v2.caffemodel \
--imdb voc_2007_trainval \
--cfg experiments/cfgs/mb_size.yml
time ./tools/test_net.py --gpu $1 \
--def models/CaffeNet/test.prototxt \
--net output/default/voc_2007_trainval/caffenet_fast_rcnn_iter_40000.caffemodel \
--imdb voc_2007_test \
--cfg experiments/cfgs/mb_size.yml
# restore stdout/err
exec 1>&3 2>&4
# -----------------------------------------------------------------------------
......@@ -5,7 +5,7 @@ set -x
export PYTHONUNBUFFERED="True"
# -----------------------------------------------------------------------------
LOG="experiments/logs/no_bbox_reg_test_caffenet.txt.`date +'%Y-%m-%d_%H-%M-%S'`"
LOG="experiments/logs/multitask_no_bbox_reg_caffenet.txt.`date +'%Y-%m-%d_%H-%M-%S'`"
exec 3>&1 4>&2 &> >(tee -a "$LOG")
echo Logging output to "$LOG"
......
#! /bin/bash
set -x
export PYTHONUNBUFFERED="True"
# -----------------------------------------------------------------------------
LOG="experiments/logs/multitask_no_bbox_reg_vgg16.txt.`date +'%Y-%m-%d_%H-%M-%S'`"
exec 3>&1 4>&2 &> >(tee -a "$LOG")
echo Logging output to "$LOG"
time ./tools/test_net.py --gpu $1 \
--def models/VGG16/test.prototxt \
--net output/default/voc_2007_trainval/vgg16_fast_rcnn_iter_40000.caffemodel \
--imdb voc_2007_test \
--cfg experiments/cfgs/no_bbox_reg.yml
# restore stdout/err
exec 1>&3 2>&4
# -----------------------------------------------------------------------------
#! /bin/bash
set -x
export PYTHONUNBUFFERED="True"
# -----------------------------------------------------------------------------
LOG="experiments/logs/multitask_no_bbox_reg_vgg_cnn_m_1024.txt.`date +'%Y-%m-%d_%H-%M-%S'`"
exec 3>&1 4>&2 &> >(tee -a "$LOG")
echo Logging output to "$LOG"
time ./tools/test_net.py --gpu $1 \
--def models/VGG_CNN_M_1024/test.prototxt \
--net output/default/voc_2007_trainval/vgg_cnn_m_1024_fast_rcnn_iter_40000.caffemodel \
--imdb voc_2007_test \
--cfg experiments/cfgs/no_bbox_reg.yml
# restore stdout/err
exec 1>&3 2>&4
# -----------------------------------------------------------------------------
#! /bin/bash
set -x
export PYTHONUNBUFFERED="True"
# -----------------------------------------------------------------------------
LOG="experiments/logs/no_bbox_reg_vgg16.txt.`date +'%Y-%m-%d_%H-%M-%S'`"
exec 3>&1 4>&2 &> >(tee -a "$LOG")
echo Logging output to "$LOG"
time ./tools/train_net.py --gpu $1 \
--solver models/VGG16/no_bbox_reg/solver.prototxt \
--weights data/imagenet_models/VGG_ILSVRC_16_layers.v2.caffemodel \
--imdb voc_2007_trainval \
--cfg experiments/cfgs/no_bbox_reg.yml
time ./tools/test_net.py --gpu $1 \
--def models/VGG16/no_bbox_reg/test.prototxt \
--net output/no_bbox_reg/voc_2007_trainval/vgg16_fast_rcnn_no_bbox_reg_iter_40000.caffemodel \
--imdb voc_2007_test \
--cfg experiments/cfgs/no_bbox_reg.yml
# restore stdout/err
exec 1>&3 2>&4
# -----------------------------------------------------------------------------
#! /bin/bash
set -x
export PYTHONUNBUFFERED="True"
# -----------------------------------------------------------------------------
LOG="experiments/logs/piecewise_vgg16.txt.`date +'%Y-%m-%d_%H-%M-%S'`"
exec 3>&1 4>&2 &> >(tee -a "$LOG")
echo Logging output to "$LOG"
time ./tools/train_net.py --gpu $1 \
--solver models/VGG16/piecewise/solver.prototxt \
--weights output/no_bbox_reg/voc_2007_trainval/vgg16_fast_rcnn_no_bbox_reg_iter_40000.caffemodel \
--imdb voc_2007_trainval \
--cfg experiments/cfgs/piecewise.yml
time ./tools/test_net.py --gpu $1 \
--def models/VGG16/test.prototxt \
--net output/piecewise/voc_2007_trainval/vgg16_fast_rcnn_piecewise_iter_40000.caffemodel \
--imdb voc_2007_test \
--cfg experiments/cfgs/piecewise.yml
# restore stdout/err
exec 1>&3 2>&4
# -----------------------------------------------------------------------------
#! /bin/bash
set -x
export PYTHONUNBUFFERED="True"
# -----------------------------------------------------------------------------
LOG="experiments/logs/piecewise_vgg_cnn_m_1024.txt.`date +'%Y-%m-%d_%H-%M-%S'`"
exec 3>&1 4>&2 &> >(tee -a "$LOG")
echo Logging output to "$LOG"
time ./tools/train_net.py --gpu $1 \
--solver models/VGG_CNN_M_1024/piecewise/solver.prototxt \
--weights output/no_bbox_reg/voc_2007_trainval/vgg_cnn_m_1024_fast_rcnn_no_bbox_reg_iter_40000.caffemodel \
--imdb voc_2007_trainval \
--cfg experiments/cfgs/piecewise.yml
time ./tools/test_net.py --gpu $1 \
--def models/VGG_CNN_M_1024/test.prototxt \
--net output/piecewise/voc_2007_trainval/vgg_cnn_m_1024_fast_rcnn_piecewise_iter_40000.caffemodel \
--imdb voc_2007_test \
--cfg experiments/cfgs/piecewise.yml
# restore stdout/err
exec 1>&3 2>&4
# -----------------------------------------------------------------------------
#! /bin/bash
set -x
export PYTHONUNBUFFERED="True"
# -----------------------------------------------------------------------------
LOG="experiments/logs/svd_vgg16.txt.`date +'%Y-%m-%d_%H-%M-%S'`"
exec 3>&1 4>&2 &> >(tee -a "$LOG")
echo Logging output to "$LOG"
time ./tools/compress_net.py \
--def models/VGG16/test.prototxt \
--def-svd models/VGG16/compressed/test.prototxt \
--net output/default/voc_2007_trainval/vgg16_fast_rcnn_iter_40000.caffemodel
time ./tools/test_net.py --gpu $1 \
--def models/VGG16/compressed/test.prototxt \
--net output/default/voc_2007_trainval/vgg16_fast_rcnn_iter_40000_svd_fc6_1024_fc7_256.caffemodel \
--imdb voc_2007_test
# restore stdout/err
exec 1>&3 2>&4
# -----------------------------------------------------------------------------
#! /bin/bash
set -x
export PYTHONUNBUFFERED="True"
# -----------------------------------------------------------------------------
LOG="experiments/logs/svm_vgg16.txt.`date +'%Y-%m-%d_%H-%M-%S'`"
exec 3>&1 4>&2 &> >(tee -a "$LOG")
echo Logging output to "$LOG"
time ./tools/train_svms.py --gpu $1 \
--def models/VGG16/test.prototxt \
--net output/default/voc_2007_trainval/vgg16_fast_rcnn_iter_40000.caffemodel \
--imdb voc_2007_trainval \
--cfg experiments/cfgs/svm.yml
time ./tools/test_net.py --gpu $1 \
--def models/VGG16/test.prototxt \
--net output/default/voc_2007_trainval/vgg16_fast_rcnn_iter_40000_svm.caffemodel \
--imdb voc_2007_test \
--cfg experiments/cfgs/svm.yml
# restore stdout/err
exec 1>&3 2>&4
# -----------------------------------------------------------------------------
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment