to_parquet#

DetectionEvaluator.to_parquet(output_dir: Path | str, overwrite: bool = False) None#

Save the current object to a folder containing parquet files for dataframes inside this object, and a metadata.yaml file for other attributes.

Parameters:
  • output_dir – output directory where the files will be created. If overwrite is set to False, it must not already exist.

  • overwrite – if set to True, will remove the directory at output_dir if it already exists. Defaults to False.