e:\python22\envs\dream\lib\site-packages\caffe\classifier.py in __init__(self, model_file, pretrained_file, image_dims, mean, input_scale, raw_scale, channel_swap)
24 mean=None, input_scale=None, raw_scale=None,
25 channel_swap=None):
---> 26 caffe.Net.__init__(self, model_file, pretrained_file, caffe.TEST)
27
28 # configure pre-processing
E:\w\PyPixelShuffleLayer.py in reshape(self, bottom, top)
67
68 def reshape(self, bottom, top):
---> 69 top[0].reshape(self.n, self.out_channels, self.out_h, self.out_w)
70
71
TypeError: No registered converter was able to produce a C++ rvalue of type int from this Python object of type float