-
Notifications
You must be signed in to change notification settings - Fork 8
Open
Description
Hello!
I know it is difficult to keep track and retroactively update deprecated code since you are now busy with YOLOv10, but here is another error message that merits your attention:
In the step for "yolov8 object detection, Tracking, blurring and object counting" in your documentation, here is the output on my terminal window:
python predict.py model=yolov8l.pt source="test1.mp4" show=True
...
Error executing job with overrides: ['model=yolov8l.pt', 'source=test1.mp4', 'show=True']
Traceback (most recent call last):
File "/home/reza/projects/yolo/yolov8/YOLOv8-object-tracking-blurring-counting/ultralytics/yolo/v8/detect/predict.py", line 289, in predict
predictor()
...
AttributeError: module 'numpy' has no attribute 'float'.
`np.float` was a deprecated alias for the builtin `float`. To avoid this error in existing code, use `float` by itself. Doing this will not modify any behavior and is safe. If you specifically wanted the numpy scalar type, use `np.float64` here.
The aliases was originally deprecated in NumPy 1.20; for more details and guidance see the original release note at:
https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations
The requested update may be beyond your current scope but, respectfully, I trust that you understand that the tutorial cannot be completed as documented by you. Perhaps some guidance on a workaround would be helpful. Thanks.
Regards.
Metadata
Metadata
Assignees
Labels
No labels