Open Gall-ardo opened 3 days ago
Hi, thanks for your question. Currently there are three ways to improve efficiency:
detect_stride
, the current default value is 10, which means that every 10 frames may need to re-segment the image to find the latest occurrence of the object. If objects don't appear that frequently in your dataset, you can increase this value appropriately.You can try these methods to optimize code efficiency, and I look forward to talking with you further!
Is it normal that it takes 75 minutes for a 128 frame single video on A100? What is the average time in your trials ( I am asking for any gpu-video pair not necessarily for a100 and 128 frames.)?
I think with the default configuration you're running roughly normal efficiency at the moment, the scenario we're using for testing has about four hundred fps and takes a couple of hours. As I mentioned above, reducing the saving of intermediate results and increasing detect_stride
can significantly improve efficiency.
Hi, is it normal for the code to run very slowly when taking inference? It took about 75 minutes on an a100 gpu for a 128 frame video.