According to None I am supposed to install
libgl1
I changed my clearml.conf
to include that installation for the task container started by the agent.
Will see if it helps in a minute
I hope I'm not too much of a bugger today.. but here's another issue I'm facing currently.
Traceback (most recent call last):
File "/root/.clearml/venvs-builds/3.10/task_repository/lvgl-ui-detector.git/src/train.py", line 125, in <module>
results = training_task(env, model_variant, varargs)
File "/root/.clearml/venvs-builds/3.10/task_repository/lvgl-ui-detector.git/src/train.py", line 91, in training_task
from ultralytics import YOLO
File "/root/.clearml/venvs-builds/3.10/lib/python3.10/site-packages/ultralytics/__init__.py", line 5, in <module>
from ultralytics.data.explorer.explorer import Explorer
File "/root/.clearml/venvs-builds/3.10/lib/python3.10/site-packages/ultralytics/data/__init__.py", line 3, in <module>
from .base import BaseDataset
File "/root/.clearml/venvs-builds/3.10/lib/python3.10/site-packages/ultralytics/data/base.py", line 12, in <module>
import cv2
File "/root/.clearml/venvs-builds/3.10/lib/python3.10/site-packages/cv2/__init__.py", line 181, in <module>
bootstrap()
File "/root/.clearml/venvs-builds/3.10/lib/python3.10/site-packages/cv2/__init__.py", line 153, in bootstrap
native_module = importlib.import_module("cv2")
File "/usr/lib/python3.10/importlib/__init__.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
ImportError: libGL.so.1: cannot open shared object file: No such file or directory
I am unsure why the container started by the agent can't access that shared object, it is somewhat weird.
According to None I am supposed to install
libgl1
I changed my clearml.conf
to include that installation for the task container started by the agent.
Will see if it helps in a minute