Selfie Segmentation crashes after running a while, on Linux CPU #2250
Labels
legacy:selfie segmentation
Issues related to selfie segmentation
platform:python
MediaPipe Python issues
type:research
Model specific questions
System information (Please provide as much relevant information as possible)
Describe the expected behavior:
It shouldn't crash.
Standalone code you may have used to try to get what you need :
This more or less matches #2219 but for Linux and using Python.
I created a gist with Dockerfile to replicate the issue.
Copied the Python code here:
It might crash after a few hundred or only after more than 10k iterations.
I tried it with Pyhon 3.7, 3.8 and 3.9 as the base image.
Other info / Complete Logs :
Example output:
(It shouldn't exit until Ctrl+C was pressed)
In another app where I actually wanted to use it, I was getting a stacktrace (which I don't seem to see in the minimal example):
The text was updated successfully, but these errors were encountered: