You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
SAHI seems to not be thread safe. In fact, when I import SAHI, it seems that my thread do not work properly (the main thread seems to work whenI use an external thread). Do you have some tips to use this library in a thread safe way ?
I explain my use case: I have developped a Python GUI application where I want to use SAHI to detect some objects. To prevent freezing GUI, I use a worker in an external thread when I infer with SAHI.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
SAHI seems to not be thread safe. In fact, when I import SAHI, it seems that my thread do not work properly (the main thread seems to work whenI use an external thread). Do you have some tips to use this library in a thread safe way ?
I explain my use case: I have developped a Python GUI application where I want to use SAHI to detect some objects. To prevent freezing GUI, I use a worker in an external thread when I infer with SAHI.
Beta Was this translation helpful? Give feedback.
All reactions