Open meegoStar opened 7 years ago
@meegoStar hi, did you find out the solution?
No. Unfortunately, we just kept manually restarting the program until all the features been extracted.
I experienced the same while running this, and I wasn't able to find the cause (as there is concurrency to fetch the videos, maybe at some point or some video make this program to freeze). I rerun the code until I had all the video features extracted. I'm sorry I can not help more.
Maybe there's a deadlock in the script "extract_feature.py". I'm trying to solve this deadlock if it exists. I'll leave a message here if I succeed.
Hello,@cyanine-gi
Have you solved the problem?
Can you give me some advice?
Thank you very much!
Maybe it's caused by the circumstance check of "_stop_all_generators" and "_stop_all_extractors". Since line 97 don't check the queue again,maybe the extracting_features_task() won't quit. To solve this, I simply changed the code and set this task to a single thread mode, which is not that fast when processing files but more reliable.
Hello,@cyanine-gi Can you give me samples code? Thank you so much!
Best regards
Hello, I'm running
extract_features.py
using the commandKERAS_BACKEND=theano python -u extract_features.py -d ~/Videos/videos
. However, the program will freeze and refuse to make any further progress with the latest printed messages only showingI could only force
extract_features.py
terminated, and run the command again to continue. Is it normal thatextract_features.py
freezes?