Closed MrZihan closed 3 years ago
Hi @MrZihan,
We did not meet this issue before. It would be great if you can post your solution, if any, to this issue so that other people can benefit from it.
Best, Jie
I met the same problem
Hey guys, any solutions?
In my case, I solved this problem by adding "video_container.close()" to just before the return line in this function.
Since the "av.open(in_mem_bytes_io, metadata_errors="ignore")" line opens the file streams without any close() code or proper garbage collection, this will cause the thread exploding problem.
In my case, I solved this problem by adding "video_container.close()" to just before the return line in this function.
Since the "av.open(in_mem_bytes_io, metadata_errors="ignore")" line opens the file streams without any close() code or proper garbage collection, this will cause the thread exploding problem.
Yeah, I've solved it exactly in this way yesterday. Thank you anyway.
I meet the same problem,but I can not run this code in this way....
In my case, I solved this problem by adding "video_container.close()" to just before the return line in this function.
Since the "av.open(in_mem_bytes_io, metadata_errors="ignore")" line opens the file streams without any close() code or proper garbage collection, this will cause the thread exploding problem.
We found the reason is that the dataloader constantly create worker threads, however ,the threads can't exit normally.So when the number of threads exceed the upper limit,run_video_retrieval.py will exit unexpectedly. We use your docker image to run the program,have you ever had such problem before? Thanks!