License_Plate_Detection_Pytorch icon indicating copy to clipboard operation
License_Plate_Detection_Pytorch copied to clipboard

Variable box size for STN?

Open gryphus1153 opened this issue 4 years ago • 0 comments

Is it possible to use different sized box for STN? It gives an exception when changing the "im = cv2.resize(img_box, (94, 24), interpolation=cv2.INTER_CUBIC)" dimensions from (94,24) to any other size i.e. (94,25).

Exception given: Exception has occurred: RuntimeError Sizes of tensors must match except in dimension 2. Got 5 and 4

gryphus1153 avatar Jul 14 '20 09:07 gryphus1153