AttributeError: module 'caffe' has no attribute 'Net'

298 Views Asked by At

I tried to install Caffe on Google Colab according to this Link. But, when I wanted to load the Caffe net and weights, I faced with this error.

# Load the Caffe net and weights.
net = caffe.Net(prototxt_filename, 1, weights=caffemodel_filename)

AttributeError: module 'caffe' has no attribute 'Net'

Anyone, have an idea why this happen ? Thanks

0

There are 0 best solutions below