Skip to content

Commit

Permalink
Merge pull request #114 from dme-compunet/fix-names-order
Browse files Browse the repository at this point in the history
Fix names order
  • Loading branch information
dme-compunet authored Jan 14, 2025
2 parents 17ef79f + 65560c7 commit f2815a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/YoloSharp/Metadata/YoloMetadata.cs
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ private static YoloName[] ParseNames(string text)
var id = int.Parse(valueSplit[0]);
var name = valueSplit[1][1..^1].Replace('_', ' ');

names[i] = new YoloName(id, name);
names[id] = new YoloName(id, name);
}

return names;
Expand Down

0 comments on commit f2815a9

Please sign in to comment.