roboflow / roboflow/notebooks

Not suitable libraries version of numpy

Open
#388 0 comments 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

How to Train YOLOv8 Instance Segmentation on a Custom Dataset

Bug

It looks like the code failed due to a ValueError related to a change in the size of a NumPy data type. This often happens when there are incompatible versions of libraries like NumPy, PyTorch, and Ultralytics installed.

Environment

-Google Colab
-pip install ultralytics==8.2.103 -q

from IPython import display
display.clear_output()

prevent ultralytics from tracking your activity

!yolo settings sync=False
import ultralytics
ultralytics.checks()

Minimal Reproducible Example

No response

Additional
Image
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 the “How to Train YOLOv8 Instance Segmentation on a Custom Dataset” notebook and reproduce the failure in Google Colab using the environment shown in the issue. Compare the installed NumPy, PyTorch, and Ultralytics-related versions around the reported ValueError; done means the notebook runs without that error.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.