Separate installers to Full and Iterative

This commit is contained in:
Alex Bezdieniezhnykh
2025-05-07 12:29:43 +03:00
parent f49c4e9d37
commit b937ed8051
11 changed files with 108 additions and 59 deletions
+4 -1
View File
@@ -146,8 +146,11 @@ public class YoloLabel : Label
return null;
var strings = s.Replace(',', '.').Split(' ');
if (strings.Length != 5)
if (strings.Length < 5)
throw new Exception("Wrong labels format!");
if (strings.Length > 5)
strings = strings[..5];
var res = new YoloLabel
{