this repo을 작동 시키려고합니다. I는 the instruction을 followed 및 (the same repo from taken) this script를 using the sample data를 get :VGG는 특정 형식으로 추출 기능을 가지고 있습니다.
#!/usr/bin/env sh
# This script downloads the trained S2VT VGG (RGB) model,
# associated vocabulary, and frame features for the validation set.
echo "Downloading Model and Data [~400MB] ..."
wget --no-check-certificate https://www.dropbox.com/s/wn6k2oqurxzt6e2/s2s_vgg_pstream_allvocab_fac2_iter_16000.caffemodel
wget --no-check-certificate https://www.dropbox.com/s/20mxirwrqy1av01/yt_allframes_vgg_fc7_val.txt
wget --no-check-certificate https://www.dropbox.com/s/v1lrc6leknzgn3x/yt_coco_mvad_mpiimd_vocabulary.txt
echo "Organizing..."
DIR="./snapshots"
if [ ! -d "$DIR" ]; then
mkdir $DIR
fi
mv s2s_vgg_pstream_allvocab_fac2_iter_16000.caffemodel $DIR"/s2vt_vgg_rgb.caffemodel"
echo "Done."
을 they I sample video frames and extract VGG features for the frames
에 need that said the next step In. 나는 이것을 정확하게하는 방법을 모르겠습니다. instruction on Caffe을 따라 갔지만 기능이 같은 형식이 아닙니다.
따라서 VGG 기능을 yt_allframes_vgg_fc7_val.txt
과 같은 형식으로 추출하려면 어떻게해야합니까?
가능한 복제 (http://stackoverflow.com/questions/33208282/extracting-features-from-vgg) – Prune