Hi,
I ran into this error when running the classification ipython notebook example:
'Net' object has no attribute 'predict'
after running the line:
prediction = net.predict([input_image])
Does anyone have any ideas how to resolve this?
Cheers,
pc
Relative beginner in python; I get the following error when changing to the class Classifier:
/home/ucpc/caffe/python/caffe/classifier.pyc in predict(self, inputs, oversample) 63 # Scale to standardize input dimensions. 64 input_ = np.zeros((len(inputs), ---> 65 self.image_dims[0], 66 self.image_dims[1], 67 inputs[0].shape[2])
TypeError: 'int' object has no attribute '__getitem__'