smallcorgi / Faster-RCNN_TF

Faster-RCNN in Tensorflow
MIT License
2.34k stars 1.12k forks source link

Params about test_net.py #210

Open squirrel233 opened 7 years ago

squirrel233 commented 7 years ago
python ./tools/test_net.py --device gpu --device_id 0 \
  --weights ${NET_FINAL} \
  --imdb voc_2007_test \
  --cfg experiments/cfgs/faster_rcnn_end2end.yml \
  --network VGGnet_test \

How should I write in ${NET_FINAL}? Thanks

liuxinhai commented 6 years ago

@squirrel233 you have solved this issue?

kadimakipp commented 6 years ago

/experiments/scripts/faster_rcnn_end2end.sh line 62 add

set +x
NET_FINAL=`grep -B 1 "done solving" ${LOG} | grep "Wrote snapshot" | awk '{print $4}'`
set -x

echo NET_FINAL = "$NET_FINAL"

Print the variable then you maybe found not this file. This problem is due to the version of the Tensorflow update problem There is a solution here #79