0
我試圖讓this repo正常工作。我跟着指示,並得到使用該腳本(來自同一回購拍攝)樣本數據: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."
在下一步他們說,我需要sample video frames and extract VGG features for the frames
。我不確定如何做到這一點。我遵循instruction on Caffe,但功能不是相同的格式。
那麼如何提取與yt_allframes_vgg_fc7_val.txt
相同格式的VGG功能?
[從VGG中提取特徵]的可能的複製(http://stackoverflow.com/questions/33208282/extracting-features-from-vgg) – Prune