Comprendere il riepilogo del manifest - Rekognition

Le traduzioni sono generate tramite traduzione automatica. In caso di conflitto tra il contenuto di una traduzione e la versione originale in Inglese, quest'ultima prevarrà.

Comprendere il riepilogo del manifest

Il riepilogo del manifest contiene le seguenti informazioni.

Il riepilogo del manifest viene creato durante l'addestramento, se non ci sono Elenco degli errori del file manifest del terminale. Per ottenere la posizione del file manifest di riepilogo (manifest_summary.json), consultare Ottenere i risultati della convalida.

Nota

Gli errori di servizio e gli errori del file manifest non vengono riportati nel riepilogo del manifest. Per ulteriori informazioni, consulta Errori terminali.

Per informazioni sugli errori specifici relativi al contenuto del manifest, consultareErrori di contenuti del manifest terminale.

Formato del file manifest di riepilogo

Un file manifest è composto da 2 sezioni statistics eerrors.

statistiche

statistics contiene informazioni sugli errori nei set di dati di addestramento e test.

  • training— statistiche ed errori rilevati nel set di dati di allenamento.

  • testing— statistiche ed errori rilevati nel set di dati di test.

Gli oggetti nell'errorsarray contengono il codice di errore e il messaggio per gli errori di contenuto manifest.

L'error_line_indicesarray contiene i numeri di riga per ogni riga JSON nel manifest di addestramento o di test in cui c’è un errore. Per ulteriori informazioni, consulta Correzione degli errori di addestramento.

errori

Errori che riguardano sia il set di dati di addestramento che quello di test. Ad esempio, ERROR_INSUFFICIENT_USABLE_LABEL_OVERLAP si verifica quando non ci sono abbastanza etichette utilizzabili che si sovrappongono ai set di dati di addestramento e test.

{ "statistics": { "training": { "use_case": String, # Possible values are IMAGE_LEVEL_LABELS, OBJECT_LOCALIZATION and NOT_DETERMINED "total_json_lines": Number, # Total number json lines (images) in the training manifest. "valid_json_lines": Number, # Total number of JSON Lines (images) that can be used for training. "invalid_json_lines": Number, # Total number of invalid JSON Lines. They are not used for training. "ignored_json_lines": Number, # JSON Lines that have a valid schema but have no annotations. The aren't used for training and aren't counted as invalid. "error_json_line_indices": List[int], # Contains a list of line numbers for JSON line errors in the training dataset. "errors": [ { "code": String, # Error code for a training manifest content error. "message": String # Description for a training manifest content error. } ] }, "testing": { "use_case": String, # Possible values are IMAGE_LEVEL_LABELS, OBJECT_LOCALIZATION and NOT_DETERMINED "total_json_lines": Number, # Total number json lines (images) in the manifest. "valid_json_lines": Number, # Total number of JSON Lines (images) that can be used for testing. "invalid_json_lines": Number, # Total number of invalid JSON Lines. They are not used for testing. "ignored_json_lines": Number, # JSON Lines that have a valid schema but have no annotations. They aren't used for testing and aren't counted as invalid. "error_json_line_indices": List[int], # contains a list of error record line numbers in testing dataset. "errors": [ { "code": String, # # Error code for a testing manifest content error. "message": String # Description for a testing manifest content error. } ] } }, "errors": [ { "code": String, # # Error code for errors that span the training and testing datasets. "message": String # Description of the error. } ] }

Esempio riepilogo manifest

L'esempio seguente è un riepilogo parziale del manifest che mostra un errore di contenuto del manifest terminale (ERROR_TOO_MANY_INVALID_ROWS_IN_MANIFEST). L'error_json_line_indicesarray contiene i numeri di riga degli errori di riga JSON non terminali nel manifest di convalida dell’addestramento o del test corrispondenti.

{ "errors": [], "statistics": { "training": { "use_case": "NOT_DETERMINED", "total_json_lines": 301, "valid_json_lines": 146, "invalid_json_lines": 155, "ignored_json_lines": 0, "errors": [ { "code": "ERROR_TOO_MANY_INVALID_ROWS_IN_MANIFEST", "message": "The manifest file contains too many invalid rows." } ], "error_json_line_indices": [ 15, 16, 17, 22, 23, 24, . . . . 300 ] }, "testing": { "use_case": "NOT_DETERMINED", "total_json_lines": 15, "valid_json_lines": 13, "invalid_json_lines": 2, "ignored_json_lines": 0, "errors": [], "error_json_line_indices": [ 13, 15 ] } } }