pytorch-yolo-v3
pytorch-yolo-v3 copied to clipboard
RuntimeError: invalid argument 0: Sizes of tensors must match except in dimension 0. Got 86 and 8 in dimension 1 at /pytorch/aten/src/THC/generic/THCTensorMath.cu:71
Hi, i meet the same error, have you solved it? Thanks.
Hi, i meet the same error, have you solved it? Thanks.
i meet the same error too, have you solved it? Thanks.
At line 147 of util. py, insert
if image_pred_.shape[0] == 0: output=0 continue
At line 147 of util. py, insert
if image_pred_.shape[0] == 0: output=0 continue
@errollxj it will work ah?
At line 147 of util. py, insert
if image_pred_.shape[0] == 0: output=0 continue
@errollxj is this working because we dont use that util.py in training code sir?
At line 147 of util. py, insert
if image_pred_.shape[0] == 0: output=0 continue
I got help, my code have woked. thank you
after insert if image_pred_.shape[0] == 0: output=0 continue
have anybody meet and solved?
have anybody meet and solved?
same to you,
At line 147 of util. py, insert
if image_pred_.shape[0] == 0: output=0 continue
solved, the result : Loading network..... Network successfully loaded person.jpg predicted in 0.104 seconds Objects Detected: person dog horse
giraffe.jpg predicted in 0.152 seconds Objects Detected: zebra giraffe giraffe
img1.jpg predicted in 0.110 seconds Objects Detected: person dog
dog.jpg predicted in 0.098 seconds Objects Detected: bicycle truck dog
messi.jpg predicted in 0.158 seconds Objects Detected: person person person sports ball
img4.jpg predicted in 0.093 seconds Objects Detected: chair chair chair clock
eagle.jpg predicted in 0.069 seconds Objects Detected: bird
img3.jpg predicted in 0.241 seconds Objects Detected: car car car car car car car truck traffic light
herd_of_horses.jpg predicted in 0.087 seconds Objects Detected: horse horse horse horse
img2.jpg predicted in 0.068 seconds Objects Detected: train
SUMMARY
Task : Time Taken (in seconds)