Skip to content

Commit

Permalink
use cuda visible kitti tracking test
Browse files Browse the repository at this point in the history
  • Loading branch information
Yu Xiang committed Jun 21, 2016
1 parent 058036d commit 5381d5c
Showing 1 changed file with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ set -x
set -e

export PYTHONUNBUFFERED="True"
export CUDA_VISIBLE_DEVICES=$1

LOG="experiments/logs/kitti_tracking_test_vgg16_rcnn_multiscale.txt.`date +'%Y-%m-%d_%H-%M-%S'`"
exec &> >(tee -a "$LOG")
Expand All @@ -18,13 +19,13 @@ echo Logging output to "$LOG"

image_set="testing"

for i in {0..28}
for i in {4..28}
do

seq_num=$(printf '%04d' "$i")
echo $seq_num

time ./tools/test_net.py --gpu $1 \
time ./tools/test_net.py --gpu 0 \
--def models/VGG16/kitti_tracking_test/test_rcnn_multiscale.prototxt \
--net output/kitti_tracking/kitti_tracking_training_trainval/vgg16_fast_rcnn_multiscale_trainval_kitti_iter_80000.caffemodel \
--imdb kitti_tracking_$image_set\_$seq_num \
Expand All @@ -43,7 +44,7 @@ do
seq_num=$(printf '%04d' "$i")
echo $seq_num

time ./tools/test_net.py --gpu $1 \
time ./tools/test_net.py --gpu 0 \
--def models/VGG16/kitti_tracking_test/test_rcnn_multiscale.prototxt \
--net output/kitti_tracking/kitti_tracking_training_trainval/vgg16_fast_rcnn_multiscale_trainval_kitti_iter_80000.caffemodel \
--imdb kitti_tracking_$image_set\_$seq_num \
Expand Down

0 comments on commit 5381d5c

Please sign in to comment.