Skip to content

DiGi.YOLO.Constants

github-actions[bot] edited this page Aug 28, 2026 · 3 revisions

DiGi.YOLO.Constants Namespace

Classes

Count Class

Provides constant counts used to bound the data collected while running the YOLO scripts.

public static class Count

Inheritance System.Object → Count

Fields

Count.OutputLines Field

The number of trailing lines kept from each of the prediction process output streams.

predict.py prints a line for every image it processes and ultralytics prints more on top of that, so a county sized run writes megabytes to its output streams. Only the tail is kept, because that is the part carrying the reason a run ended the way it did.

public const int OutputLines = 200;

Field Value

System.Int32

DirectoryName Class

Provides constant values for standard directory names used in YOLO dataset structures.

public static class DirectoryName

Inheritance System.Object → DirectoryName

Fields

DirectoryName.Images Field

The name of the directory containing image files.

public const string Images = "images";

Field Value

System.String

DirectoryName.Labels Field

The name of the directory containing label files.

public const string Labels = "labels";

Field Value

System.String

DirectoryName.YOLO Field

The name of the directory containing YOLO deployment scripts and configuration files.

public const string YOLO = "YOLO";

Field Value

System.String

FileExtension Class

Provides constant values for file extensions used across the application.

public static class FileExtension

Inheritance System.Object → FileExtension

Fields

FileExtension.BoundingBoxResultFile Field

The file extension associated with bounding box result files.

public const string BoundingBoxResultFile = "bbrf";

Field Value

System.String

FileName Class

Provides constant values for file names used in YOLO runner scripts and configuration files.

public static class FileName

Inheritance System.Object → FileName

Fields

FileName.Conf Field

The file name of the dataset configuration YAML file.

public const string Conf = "conf.yaml";

Field Value

System.String

FileName.Predict Field

The file name of the prediction runner script.

public const string Predict = "predict.py";

Field Value

System.String

FileName.Requirements Field

The file name of the Python dependencies requirements file.

public const string Requirements = "requirements.txt";

Field Value

System.String

FileName.Train Field

The file name of the training runner script.

public const string Train = "train.py";

Field Value

System.String

FileName.Utils Field

The file name of the utility script.

public const string Utils = "utils.py";

Field Value

System.String