Closed stefsmeets closed 2 months ago
I mananged to solve the pytorch issue, but now opencv is causing issues.
Our use of opencv is fairly limited, I think we should consider moving completely to scikit-image
rembg also depends on opencv, so eliminating it from our workflow does not solve the problem.
https://unraphael.streamlit.app/preprocess https://unraphael.streamlit.app/detect_objects
It gives:
ImportError: libGL.so.1: cannot open shared object file: No such file or directory
when importing opencv. This seems to me like it is not getting the opencv headless.Second, ultralytics fails to install:
This might be because we are running on Python 3.12: