init_annotations#
- Dataset.init_annotations()[source]#
Initialize annotations by adding info and checking index
add
category_strcolumn (for informative purpose only, label map prevails)add
splitcolumn (for informative purpose only, images split prevails)reset index if it has duplicates.
apply the right dtypes
reorder the columns so that required columns are first and attributes last