YOLO_ResNet icon indicating copy to clipboard operation
YOLO_ResNet copied to clipboard

not working for other images

Open harshitha1989 opened this issue 5 years ago • 1 comments

I have used the weights in the google drive. It is not working for other images apart from those given in the github. Could you let me if I need to change anyother parameters.

harshitha1989 avatar Jul 18 '19 22:07 harshitha1989

In predict.py, add the dims of the image and set the dims parameter to dims.

dims = (img.shape[1], img.shape[0])
bboxes = utils.get_boxes(pred[0], cutoff=0.2, dims=dims)

glentimemaker avatar Feb 19 '20 07:02 glentimemaker