caffe2 - Loading Pretrained Models

doc

https://github.com/caffe2/tutorials/blob/master/Loading_Pretrained_Models.ipynb
https://github.com/caffe2/models/tree/master/squeezenet
https://caffe2.ai/docs/zoo

point

# Run the net and return prediction
#results = p.run({'data': img}) ---> 这是的数据格式,官方例子中是dict,但根据报错提示,改成list就可以了(同时去除index: data)
results = p.run([img])