TadasBaltrusaitis / OpenFace

OpenFace – a state-of-the art tool intended for facial landmark detection, head pose estimation, facial action unit recognition, and eye-gaze estimation.
Other
6.86k stars 1.84k forks source link

[Docker] too many thread_release_buffer calls! #988

Open tashrifbillah opened 3 years ago

tashrifbillah commented 3 years ago

Hi, I tried the following command inside your docker container. It completes without any error but with an empty input_aligned directory:

openface-build/build/bin/FaceLandmarkVidMulti -f input.mp4 -out_dir output/

...
Attempting to read from file: input.mp4
Device or file opened
WARNING: using a AU detection in multiple face mode, it might not be as accurate and is experimental
Starting tracking
0% 10% 20% 30% 40% 50% 60% 70% 80% 90% Closing output recorder
Closing input reader
[h264 @ 0xec98080] too many thread_release_buffer calls!
[h264 @ 0xec98080] too many thread_release_buffer calls!
[h264 @ 0xec98080] too many thread_release_buffer calls!
[h264 @ 0xec98080] too many thread_release_buffer calls!
Closed successfully
...

And then input_aligned directory is empty:

output/
├── input_aligned
├── input.csv
├── input.hog
└── input_of_details.txt

Did anyone see this log before:

too many thread_release_buffer calls!

TadasBaltrusaitis commented 3 years ago

I've seen this error before and it does not really cause any issues (besides the error messages), see https://stackoverflow.com/questions/29995917/opencv-error-mpeg4-0x7ffe33cb3e60-too-many-thread-release-buffer-calls

tashrifbillah commented 3 years ago

Hmm but why is the input_aligned directory empty? I set up display parameters properly that the tracking video pops up during tests.