Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
Collapse
Brand Logo

ModalAI Forum

  1. ModalAI Support Forum
  2. VOXL 2 and VOXL 2 Mini
  3. Issues building Yolov8 trainer

Issues building Yolov8 trainer

Scheduled Pinned Locked Moved Unsolved VOXL 2 and VOXL 2 Mini
voxl-2-mini
3 Posts 2 Posters 1.2k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • J Offline
    J Offline
    jeremyrbrown5
    Contributor
    wrote on last edited by
    #1

    Hello

    We having issues building the docker image. Attached is a picture of the errors we are encountering.
    Voxl trainer Error.png

    We have tried install the dependencies individually with little luck. Any assistance would be greatly appreciated

    Thank you

    Robbie McCueR 1 Reply Last reply
    0
    • J jeremyrbrown5

      Hello

      We having issues building the docker image. Attached is a picture of the errors we are encountering.
      Voxl trainer Error.png

      We have tried install the dependencies individually with little luck. Any assistance would be greatly appreciated

      Thank you

      Robbie McCueR Offline
      Robbie McCueR Offline
      Robbie McCue
      wrote on last edited by
      #2

      @jeremyrbrown5

      Hi Jeremy,

      i just replicated this issue and was able to build the container by making the following changes to the docker file. Try adding these on your end and see if this resolves the issue.

      FROM nvidia/cuda:11.8.0-cudnn8-devel-ubuntu22.04
      
      WORKDIR /app
      
      RUN echo '@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@'
      RUN echo '@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@'
      RUN echo '@@@@@@@@@@@@@@@@@@@@@@@@@,                     ,&@@@@@@@@@@@@@@@@@@@@@'
      RUN echo '@@@@@@@@@@@@@@@@@@&          %@@@@@@@@@@@@@@@@@@@@(   .@@@@@@@@@@@@@@@'
      RUN echo '@@@@@@@@@@@@@@(        ,@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@#  @@@@@@@@@@@'
      RUN echo '@@@@@@@@@@@.        @@@@@@@@@@/ ,%@@@@@@%* (@@@@@@@@@.   %@@@ @@@@@@@@'
      RUN echo '@@@@@@@@%        @@@@@@@@@@@   @&,      *@&  *@@@@@@@@@@ @@  %@@@@@@@@'
      RUN echo '@@@@@@, %@@@   @@@@@@@@@@@@@  @@@@@&  @@@@@&  @@@@@@@@@@@   *#  @@@@@@'
      RUN echo '@@@@@  %@@@@@ *@@@@@@@@@@@@@  @@@@@&  @@@@@%  @@@@@@@@@@@* @@@@  @@@@@'
      RUN echo '@@@@@@.  .,    @@@@@@@@@@@@@  @@@@@&  @@@@@%  @@@@@@@@@@.      @@@@@@@'
      RUN echo '@@@@@@@@@   @@& @@@&@@@@@@@@  @@@@@@.,@@@@@&  @@@@@@@@       @@@@@@@@@'
      RUN echo '@@@@@@@@@@@@(     %@@% (@@@@@@@@@@@@@@@@@@@@@@@@@@,      *@@@@@@@@@@@@'
      RUN echo '@@@@@@@@@@@@@@@@@&.  ,@@@@.  .%@@@@@@@@@@@@@/        %@@@@@@@@@@@@@@@@'
      RUN echo '@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@(,.     .(@@@@@@@@@@@@@@@@@@@@@@@@@'
      RUN echo '@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@'
      
      RUN apt-get update && apt-get install -y \
          git \
          wget \
          curl \
          unzip \
          python3 \
          python3-pip \
          build-essential \
          cmake \
          libgl1-mesa-glx \
          libglib2.0-0 \
          libusb-1.0-0 \
          && rm -rf /var/lib/apt/lists/*
      
      RUN pip3 install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu118
      RUN pip3 install cmake
      RUN pip3 install protobuf==3.20.3
      RUN pip3 install onnx
      #RUN pip3 install ultralytics tensorflow onnx onnx2tf>1.17.5,<=1.22.3 tflite_support onnxruntime onnxslim onnx_graphsurgeon>=0.3.26 sng4onnx>=1.0.1 tf_keras
      RUN pip3 install ultralytics tensorflow "onnx2tf>1.17.5,<=1.22.3" tflite_support onnxruntime onnxslim "onnx_graphsurgeon>=0.3.26" "sng4onnx>=1.0.1" tf_keras
      
      J 1 Reply Last reply
      0
      • Robbie McCueR Robbie McCue

        @jeremyrbrown5

        Hi Jeremy,

        i just replicated this issue and was able to build the container by making the following changes to the docker file. Try adding these on your end and see if this resolves the issue.

        FROM nvidia/cuda:11.8.0-cudnn8-devel-ubuntu22.04
        
        WORKDIR /app
        
        RUN echo '@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@'
        RUN echo '@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@'
        RUN echo '@@@@@@@@@@@@@@@@@@@@@@@@@,                     ,&@@@@@@@@@@@@@@@@@@@@@'
        RUN echo '@@@@@@@@@@@@@@@@@@&          %@@@@@@@@@@@@@@@@@@@@(   .@@@@@@@@@@@@@@@'
        RUN echo '@@@@@@@@@@@@@@(        ,@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@#  @@@@@@@@@@@'
        RUN echo '@@@@@@@@@@@.        @@@@@@@@@@/ ,%@@@@@@%* (@@@@@@@@@.   %@@@ @@@@@@@@'
        RUN echo '@@@@@@@@%        @@@@@@@@@@@   @&,      *@&  *@@@@@@@@@@ @@  %@@@@@@@@'
        RUN echo '@@@@@@, %@@@   @@@@@@@@@@@@@  @@@@@&  @@@@@&  @@@@@@@@@@@   *#  @@@@@@'
        RUN echo '@@@@@  %@@@@@ *@@@@@@@@@@@@@  @@@@@&  @@@@@%  @@@@@@@@@@@* @@@@  @@@@@'
        RUN echo '@@@@@@.  .,    @@@@@@@@@@@@@  @@@@@&  @@@@@%  @@@@@@@@@@.      @@@@@@@'
        RUN echo '@@@@@@@@@   @@& @@@&@@@@@@@@  @@@@@@.,@@@@@&  @@@@@@@@       @@@@@@@@@'
        RUN echo '@@@@@@@@@@@@(     %@@% (@@@@@@@@@@@@@@@@@@@@@@@@@@,      *@@@@@@@@@@@@'
        RUN echo '@@@@@@@@@@@@@@@@@&.  ,@@@@.  .%@@@@@@@@@@@@@/        %@@@@@@@@@@@@@@@@'
        RUN echo '@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@(,.     .(@@@@@@@@@@@@@@@@@@@@@@@@@'
        RUN echo '@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@'
        
        RUN apt-get update && apt-get install -y \
            git \
            wget \
            curl \
            unzip \
            python3 \
            python3-pip \
            build-essential \
            cmake \
            libgl1-mesa-glx \
            libglib2.0-0 \
            libusb-1.0-0 \
            && rm -rf /var/lib/apt/lists/*
        
        RUN pip3 install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu118
        RUN pip3 install cmake
        RUN pip3 install protobuf==3.20.3
        RUN pip3 install onnx
        #RUN pip3 install ultralytics tensorflow onnx onnx2tf>1.17.5,<=1.22.3 tflite_support onnxruntime onnxslim onnx_graphsurgeon>=0.3.26 sng4onnx>=1.0.1 tf_keras
        RUN pip3 install ultralytics tensorflow "onnx2tf>1.17.5,<=1.22.3" tflite_support onnxruntime onnxslim "onnx_graphsurgeon>=0.3.26" "sng4onnx>=1.0.1" tf_keras
        
        J Offline
        J Offline
        jeremyrbrown5
        Contributor
        wrote on last edited by
        #3

        @Robbie-McCue worked, thanks so much!

        1 Reply Last reply
        0

        Reading along? Create a free ModalAI Forum account to join in.

        With an account you can reply, ask your own question, get an email when a ModalAI engineer answers, and mark the reply that solved it. Your place in each thread is saved between visits.

        Questions about VOXL, Flight Core, ESCs and ModalAI drones are answered here by the engineers who build them.

        Register Login
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        ModalAI
        Categories Recent Tags ModalAI.com Docs
        © 2026 ModalAI® · Accelerating autonomy for smaller, smarter, safer drones · Powered by NodeBB
        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups