Hello,
on the page with details of computing environment it is written that the library opencv-python==4.8.0.74 is avaliable.
From the official documentation, to import the library we need to import the module "cv2" (https://pypi.org/project/opencv-python/4.8.0.74/), however, I am getting the following error when trying to submit a model that imports the module.
File "/multiverse/storage/lattari/Prj/postdoc/Courses/AN2DL_2023/Competition1_running_dir/worker_gpu4_dir/tmp/codalab/tmpbSkoKZ/run/program/score.py", line 107, in
from model import model # example model, in scikit-learn style
^^^^^^^^^^^^^^^^^^^^^^^
File "/multiverse/storage/lattari/Prj/postdoc/Courses/AN2DL_2023/Competition1_running_dir/worker_gpu4_dir/tmp/codalab/tmpbSkoKZ/run/input/res/model.py", line 3, in
import cv2
File "/usr/local/lib/python3.11/dist-packages/cv2/__init__.py", line 181, in
bootstrap()
File "/usr/local/lib/python3.11/dist-packages/cv2/__init__.py", line 153, in bootstrap
native_module = importlib.import_module("cv2")
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/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
The problem with opencv is resolved.
Posted by: an2dl.competitions @ Nov. 10, 2023, 8:52 a.m.