整个调试过程可以参考这个博客
https://blog.csdn.net/sinat_33486980/article/details/81045315
最后一步运行demo.py时出现这个问题
Traceback (most recent call last):
File "./demo.py", line 126, in <module>
'our server and place them properly?').format(tfmodel + '.meta'))
IOError: /home/danyang/res101/voc_2007_trainval+voc_2012_trainval/default/res101_faster_rcnn_iter_110000.ckpt.meta not found.
Did you download the proper networks from our server and place them properly?
修改方法 :
打开demo.py 文件,修改第120行的代码
tfmodel = os.path.join('output', demonet, DATASETS[dataset][0], 'default',
NETS[demonet][0])
将’output’路径全部写上去,比如我的output在电脑的位置是/home/danyang/tf-faster-rcnn/data则改成
tfmodel = os.path.join('/home/danyang/tf-faster-rcnn/data/output',
demonet, DATASETS[dataset][0], 'default',NETS[demonet][0])
最后,大功告成,demo成功运行。