Commit dc56e57e authored by Ross Girshick's avatar Ross Girshick

experiment scripts

parent 51614510
EXP_DIR: "no_bbox_reg"
TRAIN:
BBOX_REG: False
SNAPSHOT_INFIX: no_bbox_reg
TEST:
BBOX_REG: False
EXP_DIR: "piecewise"
EXP_DIR: piecewise
TRAIN:
SNAPSHOT_INFIX: piecewise
#! /bin/bash
set -x
export PYTHONUNBUFFERED="True"
# -----------------------------------------------------------------------------
LOG="experiments/logs/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"
time ./tools/train_net.py --gpu $1 \
--solver models/CaffeNet/no_bbox_reg/solver.prototxt \
--weights data/imagenet_models/CaffeNet.v2.caffemodel \
--imdb voc_2007_trainval \
--cfg experiments/cfgs/no_bbox_reg.yml
time ./tools/test_net.py --gpu $1 \
--def models/CaffeNet/no_bbox_reg/test.prototxt \
--net output/no_bbox_reg/voc_2007_trainval/caffenet_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/no_bbox_reg_test_caffenet.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/CaffeNet/test.prototxt \
--net output/default/voc_2007_trainval/caffenet_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_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/no_bbox_reg/solver.prototxt \
--weights data/imagenet_models/VGG_CNN_M_1024.v2.caffemodel \
--imdb voc_2007_trainval \
--cfg experiments/cfgs/no_bbox_reg.yml
time ./tools/test_net.py --gpu $1 \
--def models/VGG_CNN_M_1024/no_bbox_reg/test.prototxt \
--net output/no_bbox_reg/voc_2007_trainval/vgg_cnn_m_1024_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_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/piecewise/solver.prototxt \
--weights output/no_bbox_reg/voc_2007_trainval/caffenet_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/CaffeNet/test.prototxt \
--net output/piecewise/voc_2007_trainval/caffenet_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/svm_caffenet.txt.`date +'%Y-%m-%d_%H-%M-%S'`"
exec 3>&1 4>&2 &> >(tee -a "$LOG")
echo Logging output to "$LOG"
time ./tools/extra/train_svms.py --gpu $1 \
--def models/CaffeNet/test.prototxt \
--net output/default/voc_2007_trainval/caffenet_fast_rcnn_iter_40000.caffemodel \
--imdb voc_2007_trainval \
--cfg experiments/cfgs/svm.yml
time ./tools/test_net.py --gpu $1 \
--def models/CaffeNet/test.prototxt \
--net output/default/voc_2007_trainval/caffenet_fast_rcnn_iter_40000_svm.caffemodel \
--imdb voc_2007_test \
--cfg experiments/cfgs/svm.yml
# restore stdout/err
exec 1>&3 2>&4
# -----------------------------------------------------------------------------
#! /bin/bash
set -x
export PYTHONUNBUFFERED="True"
# -----------------------------------------------------------------------------
LOG="experiments/logs/svm_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/extra/train_svms.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_trainval \
--cfg experiments/cfgs/svm.yml
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_svm.caffemodel \
--imdb voc_2007_test \
--cfg experiments/cfgs/svm.yml
# restore stdout/err
exec 1>&3 2>&4
# -----------------------------------------------------------------------------
......@@ -27,6 +27,7 @@ layer {
convolution_param {
num_output: 96
kernel_size: 11
pad: 5
stride: 4
}
}
......@@ -44,6 +45,7 @@ layer {
pooling_param {
pool: MAX
kernel_size: 3
pad: 1
stride: 2
}
}
......@@ -73,8 +75,8 @@ layer {
}
convolution_param {
num_output: 256
pad: 2
kernel_size: 5
pad: 2
group: 2
}
}
......@@ -92,6 +94,7 @@ layer {
pooling_param {
pool: MAX
kernel_size: 3
pad: 1
stride: 2
}
}
......@@ -121,8 +124,8 @@ layer {
}
convolution_param {
num_output: 384
pad: 1
kernel_size: 3
pad: 1
}
}
layer {
......@@ -146,8 +149,8 @@ layer {
}
convolution_param {
num_output: 384
pad: 1
kernel_size: 3
pad: 1
group: 2
}
}
......@@ -172,8 +175,8 @@ layer {
}
convolution_param {
num_output: 256
pad: 1
kernel_size: 3
pad: 1
group: 2
}
}
......
......@@ -31,6 +31,7 @@ layer {
convolution_param {
num_output: 96
kernel_size: 11
pad: 5
stride: 4
}
}
......@@ -48,6 +49,7 @@ layer {
pooling_param {
pool: MAX
kernel_size: 3
pad: 1
stride: 2
}
}
......@@ -77,8 +79,8 @@ layer {
}
convolution_param {
num_output: 256
pad: 2
kernel_size: 5
pad: 2
group: 2
}
}
......@@ -96,6 +98,7 @@ layer {
pooling_param {
pool: MAX
kernel_size: 3
pad: 1
stride: 2
}
}
......@@ -125,8 +128,8 @@ layer {
}
convolution_param {
num_output: 384
pad: 1
kernel_size: 3
pad: 1
}
}
layer {
......@@ -150,8 +153,8 @@ layer {
}
convolution_param {
num_output: 384
pad: 1
kernel_size: 3
pad: 1
group: 2
}
}
......@@ -176,8 +179,8 @@ layer {
}
convolution_param {
num_output: 256
pad: 1
kernel_size: 3
pad: 1
group: 2
}
}
......
......@@ -41,6 +41,7 @@ layer {
convolution_param {
num_output: 96
kernel_size: 11
pad: 5
stride: 4
}
}
......@@ -58,6 +59,7 @@ layer {
pooling_param {
pool: MAX
kernel_size: 3
pad: 1
stride: 2
}
}
......@@ -87,8 +89,8 @@ layer {
}
convolution_param {
num_output: 256
pad: 2
kernel_size: 5
pad: 2
group: 2
}
}
......@@ -106,6 +108,7 @@ layer {
pooling_param {
pool: MAX
kernel_size: 3
pad: 1
stride: 2
}
}
......@@ -135,8 +138,8 @@ layer {
}
convolution_param {
num_output: 384
pad: 1
kernel_size: 3
pad: 1
}
}
layer {
......@@ -160,8 +163,8 @@ layer {
}
convolution_param {
num_output: 384
pad: 1
kernel_size: 3
pad: 1
group: 2
}
}
......@@ -186,8 +189,8 @@ layer {
}
convolution_param {
num_output: 256
pad: 1
kernel_size: 3
pad: 1
group: 2
}
}
......
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