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
When I input 21.bmp, I got an error:
please input file name:21.bmp
Traceback (most recent call last):
File "demo.py", line 23, in
crnnRec(model,converter,img,text_recs)
File "/home/ycp/sceneReco-master/crnnport.py", line 78, in crnnRec
preds = preds.squeeze(2)
File "/usr/local/lib/python2.7/dist-packages/torch/autograd/variable.py", line 750, in squeeze
return Squeeze.apply(self, dim)
File "/usr/local/lib/python2.7/dist-packages/torch/autograd/_functions/tensor.py", line 378, in forward
result = input.squeeze(dim)
RuntimeError: dimension out of range (expected to be in range of [-2, 1], but got 2)
The text was updated successfully, but these errors were encountered:
When I input 21.bmp, I got an error:
please input file name:21.bmp
Traceback (most recent call last):
File "demo.py", line 23, in
crnnRec(model,converter,img,text_recs)
File "/home/ycp/sceneReco-master/crnnport.py", line 78, in crnnRec
preds = preds.squeeze(2)
File "/usr/local/lib/python2.7/dist-packages/torch/autograd/variable.py", line 750, in squeeze
return Squeeze.apply(self, dim)
File "/usr/local/lib/python2.7/dist-packages/torch/autograd/_functions/tensor.py", line 378, in forward
result = input.squeeze(dim)
RuntimeError: dimension out of range (expected to be in range of [-2, 1], but got 2)
The text was updated successfully, but these errors were encountered: