Files
tinygrad/examples
gonutz e7cbc6dc23 Fix ValueError in Yolo 8 example (#7387)
Calling

    python3 examples/yolov8.py ./test/models/efficientnet/Chicken.jpg

used to result in this error

    ValueError: Calling nonzero on 0d arrays is not allowed.

Using np.atleast_1d makes sure we avoid a zero-dimension array.

Co-authored-by: gonutz <gonutz@fake.mail>
2024-10-30 10:18:39 +08:00
..
2024-10-16 11:40:07 +08:00
2024-10-16 14:51:41 -04:00
2024-07-14 11:09:58 -07:00
2023-03-11 16:28:10 -08:00
2024-09-24 10:08:04 +08:00
2024-09-24 10:08:04 +08:00
2024-10-21 10:44:54 -04:00
2023-10-30 18:42:26 -07:00
2024-10-29 15:54:19 +08:00
2024-07-30 20:29:54 -07:00
2024-07-03 09:06:01 -07:00
2024-07-02 21:39:01 -04:00
2024-07-03 22:47:10 -04:00
2024-09-25 17:45:13 +08:00
2024-09-21 01:26:43 -04:00
2024-05-22 20:43:21 -04:00
2023-11-28 17:36:55 -08:00
2023-12-08 12:59:38 -08:00