Skip to content

Commit

Permalink
fix the model path in the demo
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexander Kolesnikov authored and rbgirshick committed May 6, 2015
1 parent ae903ea commit 41b559a
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions tools/demo.py
Original file line number Diff line number Diff line change
Expand Up @@ -124,8 +124,9 @@ def parse_args():
if __name__ == '__main__':
args = parse_args()

prototxt = os.path.join('models', NETS[args.demo_net][0], 'test.prototxt')
caffemodel = os.path.join('data', 'fast_rcnn_models',
prototxt = os.path.join(cfg.ROOT_DIR, 'models', NETS[args.demo_net][0],
'test.prototxt')
caffemodel = os.path.join(cfg.ROOT_DIR, 'data', 'fast_rcnn_models',
NETS[args.demo_net][1])

if not os.path.isfile(caffemodel):
Expand Down

0 comments on commit 41b559a

Please sign in to comment.