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
RuntimeError: invalid argument 0: Sizes of tensors must match except in dimension 0. Got 608 and 416 in dimension 2 at /pytorch/aten/src/TH/generic/THTensor.cpp:689
#87
Open
Naveennavik opened this issue
Dec 13, 2019
· 1 comment
you can switch off the "get_different_scale" function in dataset.py line 63 OR you can set the the input image size (608, 416 ... ) before starting a new epoch, line 203 of train.py.
for example put the folowing text instead 198 and 199 lines in train.py:
init_width = (random.randint(0,9) + 10)*32
init_height = init_width.
May i know clear what to do to get rid of this error? @andy-yun @mickolka @carry-xz
The text was updated successfully, but these errors were encountered: