roboflow / roboflow/notebooks

Problem with: train-yolov8-object-detection-on-custom-dataset.ipynb

Open
#369 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
Jupyter Notebook
Stars
9.7k
Forks
1.5k
PR merge metrics
No merged PRs in 30d

Description

Search before asking
  • I have searched the Roboflow Notebooks issues and found no similar bug report.
Notebook name

train-yolov8-object-detection-on-custom-dataset.ipynb

An error was raised by this command:

project.version(dataset.version).deploy(model_type="yolov8", model_path=f"{HOME}/runs/detect/train/")

Dependency ultralytics==8.0.196 is required but found version=8.2.103, to fix: pip install ultralytics==8.0.196
Would you like to continue with the wrong version of ultralytics? y/n: n
An exception has occurred, use %tb to see the full traceback.

Bug

An error was raised by this command:

project.version(dataset.version).deploy(model_type="yolov8", model_path=f"{HOME}/runs/detect/train/")

Dependency ultralytics==8.0.196 is required but found version=8.2.103, to fix: pip install ultralytics==8.0.196
Would you like to continue with the wrong version of ultralytics? y/n: n
An exception has occurred, use %tb to see the full traceback.

Environment

-Google Colab

Minimal Reproducible Example

No response

Additional

No response

Are you willing to submit a PR?
  • Yes I'd like to help by submitting a PR!

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Open train-yolov8-object-detection-on-custom-dataset.ipynb and inspect the dependency setup and the project.version(dataset.version).deploy call. Reproduce the version mismatch in Google Colab, then verify that the notebook deploys successfully with a compatible ultralytics version.

Written by the indexing model from the issue text.

Assessment

Tech stack
jupyter-notebook, python
Domain
computer-vision, machine-learning
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.