tensorflow-yolov4-tflite icon indicating copy to clipboard operation
tensorflow-yolov4-tflite copied to clipboard

problem with videos

Open khoatran94 opened this issue 3 years ago • 3 comments

The object detection is done only with the first frame of the video. Please help

khoatran94 avatar May 30 '21 01:05 khoatran94

Same here, first frame only.

Seems like infer(batch_data) run only once

Noobzik avatar Jun 17 '21 05:06 Noobzik

I think I found a way to solve it. I was using a tensorflow 2.4.2 docker image, changing to the tensorflow version specified in the requirements-gpu.txt file (2.3.0rc0-gpu) solved it, ran on GPU, got predictions for the entire video, and fast as usual. I tested predicting on a model converted using the 2.4.2 version and it didnt't work even with predicting with the 2.3.0rc0 version. I had to re-convert the model using TF 2.3.0rc0, and also predict with 2.3.0rc0.

Pedrohgv avatar Aug 07 '21 11:08 Pedrohgv

But RTX30 cannot use 2.3.0

Clark1216 avatar Dec 03 '21 08:12 Clark1216