Base class for sample lists.
More...
Inherits object.
Inherited by SampleImageList.
|
| average_sample_count = property |
| float: Average number samples in per class of the sample list.
|
|
| comment = property |
| str: The comment text.
|
|
| file_name = property |
| str: Name of the file from which this image list was loaded (empty string if this image list was neither loaded nor saved since its construction).
|
|
| max_sample_count = property |
| int: Number samples in the largest class of the sample list.
|
|
| min_sample_count = property |
| int: Number samples in the smallest class of the sample list.
|
|
| num_classes = property |
| int: Number of distinguishable classes in the sample list.
|
|
| num_samples = property |
| int: Total number of samples in the sample list.
|
|
Base class for sample lists.
◆ save()
None save |
( |
|
self, |
|
|
str |
file_name |
|
) |
| |
Save the sample list to a file.
Parameters
file_name : str Path to save to.