YOLOv8_Interface / INSTALL.md
Cippppy's picture
Initial Commit
6a7b87d verified

A newer version of the Gradio SDK is available: 5.49.0

Upgrade

Installation Guide

This is being built with python 3.11.7. Try to use that version if possible.

Guide for this Project

We are currently working on setting up the correct requirements.txt file for the entire interface. This will be updated soon!

Current Method

  1. Create a conda environment.
    • conda create -n yolo8inter python=3.11.7
  2. Activate conda environment.
    • conda activate yolo8inter
  3. Install PyTorch. The code below is specified for Windows, Conda, Python, & CUDA 11.8. If you need a different build, go to the PyTorch website.
    • conda install pytorch torchvision torchaudio pytorch-cuda=11.8 -c pytorch -c nvidia
  4. Install Ultralytics.
    • pip install ultralytics==8.0.186
  5. Install Other Requirements, like GRADIO. This is implemented but will be continually updated.
    • pip install -r requirements.txt

Other Recommendations

  1. When you run any of the examples, at least 1 weights file (.pt) will be downloaded. It is reccomended to create a "weights" folder in the directory to keep track of these.

Directly from Ultralytics Github

See below for a quickstart installation and usage example, and see the YOLOv8 Docs for full documentation on training, validation, prediction and deployment.

Install

Pip install the ultralytics package including all requirements in a Python>=3.8 environment with PyTorch>=1.8.

PyPI version Downloads

pip install ultralytics

For alternative installation methods including Conda, Docker, and Git, please refer to the Quickstart Guide.