1 | initial version |
Change this:
net = cv2.dnn.readNetFromCaffe("deploy.prototxt", "model.caffemodel")
to:
net = cv2.dnn.readNetFromCaffe(deploy, model)
This is what I used:
proto = '/home/stephen/Desktop/deep-learning-opencv/bvlc_googlenet.prototxt'
model = '/home/stephen/Desktop/deep-learning-opencv/bvlc_googlenet.caffemodel'
net = cv2.dnn.readNetFromCaffe(proto, model)
2 | No.2 Revision |
Change this:
net = cv2.dnn.readNetFromCaffe("deploy.prototxt", "model.caffemodel")
to:
net = cv2.dnn.readNetFromCaffe(deploy, model)
This is what I used:
proto = '/home/stephen/Desktop/deep-learning-opencv/bvlc_googlenet.prototxt'
model 'mobilenet_deploy.prototxt'
weights = '/home/stephen/Desktop/deep-learning-opencv/bvlc_googlenet.caffemodel'
'mobilenet.caffemodel'
net = cv2.dnn.readNetFromCaffe(proto, model)
3 | No.3 Revision |
Change this:
net = cv2.dnn.readNetFromCaffe("deploy.prototxt", "model.caffemodel")
to:
net = cv2.dnn.readNetFromCaffe(deploy, model)
This is what I used:
proto = 'mobilenet_deploy.prototxt'
weights = 'mobilenet.caffemodel'
net = cv2.dnn.readNetFromCaffe(proto, model)
weights)