We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 256366b commit fc35930Copy full SHA for fc35930
1 file changed
python/caffe/classifier.py
@@ -83,7 +83,7 @@ def predict(self, inputs, oversample=True):
83
for ix, in_ in enumerate(input_):
84
caffe_in[ix] = self.transformer.preprocess(self.inputs[0], in_)
85
out = self.forward_all(**{self.inputs[0]: caffe_in})
86
- predictions = out[self.outputs[0]].squeeze(axis=(2,3))
+ predictions = out[self.outputs[0]]
87
88
# For oversampling, average predictions across crops.
89
if oversample:
0 commit comments