happynear / happynear/caffe-windows
i finished install caffe and python interface, but i failed to load a pretrained caffe model.
Open
- Dominant language
- C++
- Stars
- 1.3k
- Forks
- 637
- PR merge metrics
- No merged PRs in 30d
Description
``` python
net = caffe.Classifier('tmp.prototxt', param_fn,
mean = np.float32([104.0, 116.0, 122.0]),
channel_swap = (2,1,0))
caffe\python\caffe\classifier.pyc in __init__(self, model_file, pretrained_file, image_dims, mean, input_scale, raw_scale, channel_swap)
27
28 # configure pre-processing
---> 29 in_ = self.inputs[0]
30 self.transformer = caffe.io.Transformer(
31 {in_: self.blobs[in_].data.shape})
AttributeError: 'Classifier' object has no attribute 'inputs'
'''
```
Contributor guide
Assessment
This issue has not been assessed yet.