YOLO_v3_tutorial_from_scratch icon indicating copy to clipboard operation
YOLO_v3_tutorial_from_scratch copied to clipboard

the problem of function "predict_transform"

Open jzh9830 opened this issue 5 years ago • 1 comments

stride = inp_dim // prediction.size(2) grid_size = inp_dim // stride when inp_dim was not exactly divided by prediction.size(2), it may occur a error in prediction.view. Considering the grid_size equaling to the size of feature map, could we change it to "grid_size = prediction.size(2)" directly?

jzh9830 avatar Apr 17 '20 13:04 jzh9830

The model seems to expect image of different size, which causes the problem. This https://github.com/ayooshkathuria/YOLO_v3_tutorial_from_scratch/issues/40#issuecomment-516392022 fixed it for me

samutamm avatar Apr 19 '20 16:04 samutamm