ItemPaths¶
- class ItemPaths[source]¶
Bases:
tupleItemPaths(img_path, ann_path)
Methods
Return number of occurrences of value.
Return first index of value.
Attributes
str: Full annotation file path of itemstr: Full image file path of item- __add__(value, /)¶
Return self+value.
- __mul__(value, /)¶
Return self*value.
- count(value, /)¶
Return number of occurrences of value.
-
index(value, start=
0, stop=9223372036854775807, /)¶ Return first index of value.
Raises ValueError if the value is not present.