First thank for your sharing. As I installed caffe on Win8.1, I ran the matchnet on Win8.1 too. My run_eval.bat written below:
/**************************************************************/
set TRAIN_DATASET=liberty
set TEST_DATASET=notredame
set GPU_OPTIONS=--use_gpu --gpu_id=0
set MODEL_DIR=models
set MODEL_NAME=%TRAIN_DATASET%_r_0.01_m_0
set TEST_DB=data/leveldb/%TEST_DATASET%.leveldb
set TEST_PAIR=data/phototour/%TEST_DATASET%/m50_100000_100000_0.txt
set OUTPUT=tmp/predictions.txt
python evaluate_matchnet.py ^
%GPU_OPTIONS% ^
%MODEL_DIR%/feature_net.pbtxt ^
%MODEL_DIR%/%MODEL_NAME%.feature_net.pb ^
%MODEL_DIR%/classifier_net.pbtxt ^
%MODEL_DIR%/%MODEL_NAME%.classifier_net.pb ^
%TEST_DB% ^
%TEST_PAIR% ^
%OUTPUT%
Pause
/*************************************************************/
After the command window printed many lines in terms of Block<I,i+1024>, I had the result, Error rate at 95% recall: 4.48%.
However, at the last line, I also had the error as below:
/**_/
F1208 11:10:39.654945 40000 syncedmem.hpp:30] Check failed: error == cudaSuccess <11 vs. 0> invalid argument
*__Check failure stack trace: *_*
/********/
And the output file was not generated. As I haven’t recognize the code, I could not find the problem. Could you help me explain the phenomenon? Thanks.
First thank for your sharing. As I installed caffe on Win8.1, I ran the matchnet on Win8.1 too. My run_eval.bat written below:
/**************************************************************/
set TRAIN_DATASET=liberty
set TEST_DATASET=notredame
set GPU_OPTIONS=--use_gpu --gpu_id=0
set MODEL_DIR=models
set MODEL_NAME=%TRAIN_DATASET%_r_0.01_m_0
set TEST_DB=data/leveldb/%TEST_DATASET%.leveldb
set TEST_PAIR=data/phototour/%TEST_DATASET%/m50_100000_100000_0.txt
set OUTPUT=tmp/predictions.txt
python evaluate_matchnet.py ^
%GPU_OPTIONS% ^
%MODEL_DIR%/feature_net.pbtxt ^
%MODEL_DIR%/%MODEL_NAME%.feature_net.pb ^
%MODEL_DIR%/classifier_net.pbtxt ^
%MODEL_DIR%/%MODEL_NAME%.classifier_net.pb ^
%TEST_DB% ^
%TEST_PAIR% ^
%OUTPUT%
Pause
/*************************************************************/
After the command window printed many lines in terms of Block<I,i+1024>, I had the result, Error rate at 95% recall: 4.48%.
However, at the last line, I also had the error as below:
/**_/
F1208 11:10:39.654945 40000 syncedmem.hpp:30] Check failed: error == cudaSuccess <11 vs. 0> invalid argument
*__Check failure stack trace: *_*
/********/
And the output file was not generated. As I haven’t recognize the code, I could not find the problem. Could you help me explain the phenomenon? Thanks.