-
Notifications
You must be signed in to change notification settings - Fork 78
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Yu Xiang
committed
Jun 7, 2016
1 parent
9c7efba
commit 0c5eb59
Showing
8 changed files
with
1,206 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
EXP_DIR: pascal2007 | ||
IS_RPN: True | ||
NET_NAME: 'VGG16' | ||
SUBCLS_NAME: 'subcategory_exemplars' | ||
TRAIN: | ||
SCALES_BASE: !!python/tuple [0.25, 2.0] | ||
NUM_PER_OCTAVE: 19 | ||
ASPECTS: !!python/tuple [3.0, 2.0, 1.5, 1.0, 0.75, 0.5, 0.25, 0.125] | ||
IMS_PER_BATCH: 1 | ||
BATCH_SIZE: 128 | ||
FG_FRACTION: 0.5 | ||
FG_THRESH: !!python/tuple [0.7, 0.7, 0.7, 0.7, 0.7, 0.7, 0.7, 0.7, 0.7, 0.7, 0.7, 0.7, 0.7, 0.7, 0.7, 0.7, 0.7, 0.7, 0.7, 0.7] | ||
BG_THRESH_HI: !!python/tuple [0.7, 0.7, 0.7, 0.7, 0.7, 0.7, 0.7, 0.7, 0.7, 0.7, 0.7, 0.7, 0.7, 0.7, 0.7, 0.7, 0.7, 0.7, 0.7, 0.7] | ||
BG_THRESH_LO: !!python/tuple [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0] | ||
BBOX_THRESH: !!python/tuple [0.7, 0.7, 0.7, 0.7, 0.7, 0.7, 0.7, 0.7, 0.7, 0.7, 0.7, 0.7, 0.7, 0.7, 0.7, 0.7, 0.7, 0.7, 0.7, 0.7] | ||
SNAPSHOT_INFIX: pascal2007 | ||
BBOX_REG: True | ||
SNAPSHOT_ITERS: 10000 | ||
TEST: | ||
SCALES_BASE: !!python/tuple [0.25, 2.0] | ||
NUM_PER_OCTAVE: 19 | ||
ASPECTS: !!python/tuple [3.0, 2.0, 1.5, 1.0, 0.75, 0.5, 0.25, 0.125] | ||
NMS: 0.5 | ||
ROI_THRESHOLD: 0.005 | ||
ROI_NUM: 2000 | ||
BBOX_REG: True |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
#!/bin/bash | ||
|
||
set -x | ||
set -e | ||
|
||
export PYTHONUNBUFFERED="True" | ||
|
||
LOG="experiments/logs/pascal2007_vgg16_rpn_cls.txt.`date +'%Y-%m-%d_%H-%M-%S'`" | ||
exec &> >(tee -a "$LOG") | ||
echo Logging output to "$LOG" | ||
|
||
#time ./tools/train_net.py --gpu $1 \ | ||
# --solver models/VGG16/pascal2007/solver_rpn_cls.prototxt \ | ||
# --weights data/imagenet_models/VGG16.v2.caffemodel \ | ||
# --imdb voc_2007_trainval \ | ||
# --cfg experiments/cfgs/pascal_rpn_cls_vgg16.yml \ | ||
# --iters 40000 | ||
|
||
time ./tools/test_net.py --gpu $1 \ | ||
--def models/VGG16/pascal2007/test_rpn_cls.prototxt \ | ||
--net output/pascal2007/voc_2007_trainval/vgg16_fast_rcnn_rpn_cls_pascal2007_iter_10000.caffemodel \ | ||
--imdb voc_2007_test \ | ||
--cfg experiments/cfgs/pascal_rpn_cls_vgg16.yml | ||
|
||
time ./tools/test_net.py --gpu $1 \ | ||
--def models/VGG16/pascal2007/test_rpn_cls.prototxt \ | ||
--net output/pascal2007/voc_2007_trainval/vgg16_fast_rcnn_rpn_cls_pascal2007_iter_40000.caffemodel \ | ||
--imdb voc_2007_trainval \ | ||
--cfg experiments/cfgs/pascal_rpn_cls_vgg16.yml | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
train_net: "models/VGG16/pascal2007/train_rpn_cls.prototxt" | ||
base_lr: 0.001 | ||
lr_policy: "step" | ||
gamma: 0.1 | ||
stepsize: 30000 | ||
display: 20 | ||
average_loss: 100 | ||
momentum: 0.9 | ||
weight_decay: 0.0005 | ||
# We disable standard caffe solver snapshotting and implement our own snapshot | ||
# function | ||
snapshot: 0 | ||
# We still use the snapshot prefix, though | ||
snapshot_prefix: "vgg16_fast_rcnn_rpn_cls" | ||
#debug_info: true |
Oops, something went wrong.