--------------------------------------------------------------------------
ValueError Traceback (most recent call last)
<ipython-input-4-0b9723a6825b> in <module>()
1 print(caffe_root)
----> 2 net.blobs['data'].data[...] = transformer.preprocess('data', caffe.io.load_image(caffe_root + 'examples/images/cat.jpg'))
3 #net.blobs['data'].data[...] = caffe.io.load_image(caffe_root + 'examples/images/taj-mahal.jpg')
4 out = net.forward()
5 print("Predicted class is #{}.".format(out['prob'].argmax()))
ValueError: could not broadcast input array from shape (3,224,224) into shape (50,3,227,227)
----------------------------------------------------------------------------