dgs.models.dataset.MOT.write_seq_ini¶
- dgs.models.dataset.MOT.write_seq_ini(fp: str, data: dict[str, any], space_around_delimiters: bool | None = None, key: str | None = None) None[source]¶
- Write the - seqinfo.inifile to a given location.- Parameters:
- fp – The absolute path to the file containing the sequence information. 
- data – The data to be written into the sequence file. 
- space_around_delimiters – Whether to put spaces around the delimiters, see - configparser.ConfigParser().write()for more details. Default- DEF_VAL.dataset.MOT.space_around_delimiters.
- key – The key at which the data should be stored in the seqinfo.ini file. Default - DEF_VAL["submission"]["MOT"]["seqinfo_key"].