export_labels_to_deeptempo
Convert harvested field labels into a DeepTempo-compatible format for training and evaluation. Save to file with summary statistics.
Instructions
Export harvested field labels in DeepTempo-compatible format.
This tool transforms field label data from harvest_labels() into a format that DeepTempo can consume for training and evaluation. The format is designed to be generic and adaptable to DeepTempo's specific needs.
Args: field_data: Output from harvest_labels() containing field metadata output_format: Format version ("deeptempo_v1" for now) save_to_file: Whether to save the export to a file file_path: Path for output file (default: ./deeptempo_labels_export.json)
Returns: Dictionary containing: - export_data: The formatted data ready for DeepTempo - file_path: Path where file was saved (if save_to_file=True) - summary: Statistics about the export
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | No | ||
| field_data | Yes | ||
| save_to_file | No | ||
| output_format | No | deeptempo_v1 |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |