3c9e0b79f500d685b0465958548c1d539000e763
A package whose family says "yolo" may hold an end-to-end export. Boxes took the family from the backend marker, and the marker names the runtime, not the head — so a fast yolo26 export arrived declared as plain yolo while its graph emits [1, N, 6] with the NMS inside it. Decoding that as a [1, 4+nc, N] grid reads coordinates as confidences: detections everywhere, and nothing that looks like a failure. OpenModelPackage now reads the first output's dims from the model it has just decrypted, and corrects the family with the reason in the warning rather than swapping it silently. It costs nothing there: the bytes are in hand. The legacy marker is left alone, so anything converting back to a zip still writes what ANSCORE expects. A two-class v8 export is [1, 6, 8400] and must not be mistaken for one, which is why the 6 has to be the last axis with a detection count before it. Both cases are tested, and the package this Mac exported before the writer was fixed now reads as yolo10 here too. 46 checks, no failures. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Description
No description provided
13 MiB
Languages
C
55.3%
C++
43.4%
Python
0.5%
CMake
0.3%
Objective-C++
0.2%
Other
0.2%