You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
Can you check the Python Layer part from your model file (prototxt). Seems like you are passing a float for the parameter "scale_factor". It should be an integer.
The text was updated successfully, but these errors were encountered: