Examples: query, "exact match", wildcard*, wild?ard, wild*rd
Fuzzy search: cake~ (finds cakes, bake)
Term boost: "red velvet"^4, chocolate^2
Field grouping: tags:(+work -"fun-stuff")
Escaping: Escape characters +-&|!(){}[]^"~*?:\ with \, e.g. \+
Range search: properties.timestamp:[1587729413488 TO *] (inclusive), properties.title:{A TO Z}(excluding A and Z)
Combinations: chocolate AND vanilla, chocolate OR vanilla, (chocolate OR vanilla) NOT "vanilla pudding"
Field search: properties.title:"The Title" AND text
Answered
Hello! I Am Having A Dependency Issue With Clearml. Would Someone Be Able To Help Me Understand How To Debug It/Replicate It?

Hello! I am having a dependency issue with clearml. Would someone be able to help me understand how to debug it/replicate it?
from ultralytics import YOLO
ImportError: libGL.so.1: cannot open shared object file: No such file or directory

  
  
Posted 2 months ago
Votes Newest

Answers 8


pip install ultralytics --no-deps would also work. Is there a way to pass this to clearML?

  
  
Posted 2 months ago

Final answer was

    docker="ultralytics/ultralytics:latest",
    docker_args=["--network=host", "--ipc=host"],
  
  
Posted 2 months ago

Using docker="ultralytics/ultralytics:latest" and docker_args=["--privileged"] seems to work!

  
  
Posted 2 months ago

How to replicate on ClearML:

task = Task.create(
    script="myscript.py",
    packages=["opencv-python==4.6.*", "ultralytics"],
    docker="nvcr.io/nvidia/pytorch:22.12-py3",
)

Contents of myscript.py:
from ultralytics import YOLO

  
  
Posted 2 months ago

On local I am able to import ultralytics in this docker image
docker run --gpus 1 -it nvcr.io/nvidia/pytorch:22.12-py3
# pip install opencv-python==4.6.* ultralytics
# python

>>> from ultralytics import YOLO
>>> 
  
  
Posted 2 months ago

@<1717350332247314432:profile|WittySeal70> what's strange is I can import the package in the docker container when I run it outside of clearML

  
  
Posted 2 months ago

probably you have to have ffmpeg libsm6 libxext6
packages installed in the docker container where you use opencv.

  
  
Posted 2 months ago

What does ClearML do differently that leads to a failure here?

  
  
Posted 2 months ago