tjuskyzhang / Scaled-YOLOv4-TensorRT

Got 100fps on TX2. Got 500fps on GeForce GTX 1660 Ti. If the project is useful to you, please Star it.
178 stars 41 forks source link

Does the input image have to be the same width and height? #12

Open pengbc917 opened 3 years ago

pengbc917 commented 3 years ago

I tried it, and if the width and height don't match, I get an error.

image

tjuskyzhang commented 3 years ago

The input image can be any size. At the preprocessing stage, the input image will be resized into the input size of the network according to your's yolov4-tiny.cfg.