Open khoatran94 opened 3 years ago
Same here, first frame only.
Seems like infer(batch_data) run only once
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.
But RTX30 cannot use 2.3.0
The object detection is done only with the first frame of the video. Please help