Accroding to previous issue before and setting of IN_OUT_RATIO = 4 and IN_SIDE = 640 , so i think that the training image format shound as same as ICDAR2015, right? because i have trained with some image with different size, then i got this error
File "C:\Users\VMlab\Desktop\text-detection-fots.pytorch-master\datasets.py", line 76, in transform
torch.randint(low=0, high=(stretched.shape[0] // IN_OUT_RATIO) - OUT_SIDE, size=(1,), dtype=torch.int16).item())
RuntimeError: random_ expects 'from' to be less than 'to', but got from=0 >= to=-3
Accroding to previous issue before and setting of
IN_OUT_RATIO = 4
andIN_SIDE = 640
, so i think that the training image format shound as same as ICDAR2015, right? because i have trained with some image with different size, then i got this errorthanks for your reply @Wovchena