Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Fix: Pin NumPy to 1.24.3 for YOLOv8 compatibility
YOLOv8 is built against NumPy 1.24.x, and newer versions (1.26.4) cause a “dtype size changed” error. Adding:

!pip uninstall -y numpy
!pip install numpy==1.24.3
at the top of train-yolov8-object-detection-on-custom-dataset.ipynb fixes that.
  • Loading branch information
mralamdari authored Jun 5, 2025
commit 087f312ebb2c929a0f5e38cc9293d5a3d006b309
144 changes: 88 additions & 56 deletions notebooks/train-yolov8-object-detection-on-custom-dataset.ipynb

Large diffs are not rendered by default.