Train Deploy Yolov8 logo

Train Deploy Yolov8

Organization
Seeed-Projects
train-deploy-yolov8

Train and deploy YOLOv8 object detection models entirely on reComputer Jetson (JetPack 5.0+), covering dataset preparation, Label Studio annotation, model training, validation, TensorRT quantization, and real-time inference.

Overview

PublisherSeeed-Projects
RepositorySeeed-Jetson-DevelopTool
Skill nametrain-deploy-yolov8
Stars
58
Forks
9
Bundled files
2
LicenseMIT
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 2 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by Seeed-Projects on GitHub. Read the source before you install it.

Installation

Install the Train Deploy Yolov8 AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/Seeed-Projects/Seeed-Jetson-DevelopTool/tree/main/seeed_jetson_develop/skills/openclaw/train-deploy-yolov8
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/Seeed-Projects/Seeed-Jetson-DevelopTool.git /tmp/Seeed-Jetson-DevelopTool
mkdir -p .claude/skills
cp -r /tmp/Seeed-Jetson-DevelopTool/seeed_jetson_develop/skills/openclaw/train-deploy-yolov8 .claude/skills/train-deploy-yolov8
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Train Deploy Yolov8 in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Train Deploy Yolov8 on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Train Deploy Yolov8 is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

Train and Deploy YOLOv8 on reComputer

Execution model

Run one phase at a time. After each phase, verify the expected result before continuing.

  • If a phase succeeds → print [OK] and move to the next phase.
  • If a phase fails → print [STOP], consult the failure decision tree, and ask the user before retrying.

Phase 1 — Verify prerequisites

bash
cat /etc/nv_tegra_release
dpkg -l | grep nvidia-jetpack
python3 --version
nvcc --version

Expected: JetPack 5.0+ installed; CUDA available.

Phase 2 — Prepare dataset

Option A: Download public dataset

Download a traffic detection dataset from Kaggle:

After extraction, update paths in data.yaml:

yaml
train: ./train/images
val: ./valid/images
test: ./test/images

nc: 5
names: ['bicycle', 'bus', 'car', 'motorbike', 'person']

Option B: Collect and annotate custom data with Label Studio

bash
sudo groupadd docker
sudo gpasswd -a ${USER} docker
sudo systemctl restart docker
sudo chmod a+rw /var/run/docker.sock

mkdir label_studio_data
sudo chmod -R 776 label_studio_data
docker run -it -p 8080:8080 -v $(pwd)/label_studio_data:/label-studio/data heartexlabs/label-studio:latest

Access Label Studio at http://localhost:8080, create a project, annotate images, and export in YOLO format. Merge annotated data into the public dataset's train/images and train/labels folders.

Phase 3 — Install YOLOv8

bash
git clone https://github.com/ultralytics/ultralytics.git
cd ultralytics

Edit requirements.txt — comment out torch and torchvision (install Jetson-specific versions separately):

bash
sed -i 's/^torch>=/#torch>=/' requirements.txt
sed -i 's/^torchvision>=/#torchvision>=/' requirements.txt
pip3 install -e .
cd ..

Phase 4 — Install Jetson PyTorch and TorchVision

bash
sudo apt-get install -y libopenblas-base libopenmpi-dev
wget https://developer.download.nvidia.cn/compute/redist/jp/v512/pytorch/torch-2.1.0a0+41361538.nv23.06-cp38-cp38-linux_aarch64.whl -O torch-2.1.0a0+41361538.nv23.06-cp38-cp38-linux_aarch64.whl
pip3 install torch-2.1.0a0+41361538.nv23.06-cp38-cp38-linux_aarch64.whl

sudo apt install -y libjpeg-dev zlib1g-dev
git clone --branch v0.16.0 https://github.com/pytorch/vision torchvision
cd torchvision
python3 setup.py install --user
cd ..

Verify YOLO installation:

bash
yolo detect predict model=yolov8s.pt source='https://ultralytics.com/images/bus.jpg'

Expected: Inference runs and saves detection results.

Phase 5 — Train the model

Create train.py:

python
from ultralytics import YOLO

model = YOLO('yolov8s.pt')
results = model.train(
    data='<path_to>/data.yaml',
    batch=8, epochs=100, imgsz=640, save_period=5
)
bash
python3 train.py

Consider using tmux for long training sessions to prevent disconnection issues.

Expected: Training completes; weight files saved in runs/detect/train/weights/.

Phase 6 — Validate the model

bash
yolo detect predict \
    model='./runs/detect/train/weights/best.pt' \
    source='./datas/test/images/<test_image>.jpg' \
    save=True show=False

Expected: Detection results saved showing correct object detection.

Phase 7 — Deploy with TensorRT quantization

bash
pip3 install onnx
yolo export model=./runs/detect/train/weights/best.pt format=engine half=True device=0

This takes 10-20 minutes. A .engine file is generated alongside the .pt file.

Test quantized model inference:

bash
# Update inference.py to use the .engine file path instead of .pt
python3 inference.py

Expected: Significant FPS improvement with the TensorRT engine compared to the original .pt model.

Failure decision tree

SymptomLikely causeSuggested fix
yolo command not foundYOLOv8 not installed in PATHRun pip3 install -e . from ultralytics directory
PyTorch CUDA not availableWrong wheel for JetPack versionVerify JetPack version and download matching wheel
TorchVision build failsMissing build depssudo apt install libjpeg-dev zlib1g-dev
Training OOM (out of memory)Batch size too largeReduce batch parameter (try 4 or 2)
TensorRT export failsONNX not installed or CUDA issuepip3 install onnx; verify nvcc --version
Label Studio container failsDocker permissionsRun sudo chmod a+rw /var/run/docker.sock
Low detection accuracyInsufficient training data or epochsIncrease dataset size or training epochs

Reference files

  • references/source.body.md — Full original wiki content (reference only)

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Train Deploy Yolov8 AI skill do?

Train and deploy YOLOv8 object detection models entirely on reComputer Jetson (JetPack 5.0+), covering dataset preparation, Label Studio annotation, model training, validation, TensorRT quantization, and real-time inference.

Why use Train Deploy Yolov8 on TypingMind?

Because you install it once and use it with any model. Train Deploy Yolov8 is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Train Deploy Yolov8 in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/Seeed-Projects/Seeed-Jetson-DevelopTool/tree/main/seeed_jetson_develop/skills/openclaw/train-deploy-yolov8. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Train Deploy Yolov8?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Train Deploy Yolov8?

As many as you like. As long as a model supports skills, you can use Train Deploy Yolov8 with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Train Deploy Yolov8 AI skill free?

Yes. It is published on GitHub by Seeed-Projects under the MIT license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇