

翻訳は機械翻訳により提供されています。提供された翻訳内容と英語版の間で齟齬、不一致または矛盾がある場合、英語版が優先します。

# マニフェストの概要について
<a name="tm-debugging-summary"></a>

マニフェストの概要には次の情報が含まれています。
+ 検証中に発生した [致命的マニフェストコンテンツエラーのリスト](tm-debugging.md#tm-error-category-combined-terminal) に関するエラー情報。
+ トレーニングデータセットとテストデータセット内の [非致命的 JSON 行検証エラーのリスト](tm-debugging.md#tm-error-category-non-terminal-errors) のエラー位置情報。
+ トレーニングデータセットとテストデータセットで見つかった無効な JSON 行の総数などのエラー統計。

[致命的マニフェストファイルエラーのリスト](tm-debugging.md#tm-error-category-terminal) がない場合、マニフェストの概要はトレーニング中に作成されます。マニフェストの概要ファイル (*manifest\$1summary.json*) の場所を取得するには、「[検証結果の取得](tm-debugging-getting-validation-data.md)」を参照してください。

**注記**  
[サービスエラー](tm-debugging.md#tm-error-category-service)と[マニフェストファイルエラー](tm-debugging.md#tm-error-category-terminal)は、マニフェストの概要には報告されません。詳細については、「[ターミナルエラー](tm-debugging.md#tm-error-categories-terminal)」を参照してください。

特定のマニフェストコンテンツエラーについては、「[ターミナルマニフェストコンテンツエラー](tm-debugging-aggregate-errors.md)」を参照してください。

## マニフェストの概要ファイル形式
<a name="tm-manifest-summary-file"></a>

マニフェストファイルには、`statistics`と`errors`の 2 つのセクションがあります。

### 統計
<a name="tm-manifest-summary-statistics"></a>

`statistics`には、トレーニングデータセットとテストデータセットのエラーに関する情報が含まれています。
+ `training` - トレーニングデータセットで見つかった統計とエラー。
+ `testing` - テストデータセットで見つかった統計とエラー。



`errors` 配列内のオブジェクトには、マニフェストコンテンツエラーのエラーコードとメッセージが含まれます。 ``

`error_line_indices` 配列には、トレーニングマニフェストまたはテストマニフェスト内のエラーのある各 JSON 行の行番号が含まれます。詳細については、「[トレーニングエラーの修正](tm-debugging-fixing-validation-errors.md)」を参照してください。

### エラー
<a name="tm-manifest-summary-errors"></a>

トレーニングデータセットとテストデータセットの両方にまたがるエラー。例えば、[ERROR\$1INSUFFICIENT\$1USABLE\$1LABEL\$1OVERLAP](tm-debugging-aggregate-errors.md#tm-error-ERROR_INSUFFICIENT_USABLE_LABEL_OVERLAP) は、トレーニングデータセットとテストデータセットと重複する使用可能なラベルが十分にない場合に発生します。

```
{
    "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.
        }
    ]
}
```

## マニフェストの概要の例
<a name="tm-debugging-manifest-summary-example"></a>

以下の例は、ターミナルマニフェストコンテンツエラー ([ERROR\$1TOO\$1MANY\$1INVALID\$1ROWS\$1IN\$1MANIFEST](tm-debugging-aggregate-errors.md#tm-error-ERROR_TOO_MANY_INVALID_ROWS_IN_MANIFEST)) を示すマニフェストの概要の一部です。`error_json_line_indices` 配列には、対応するトレーニングのまたはテストの検証マニフェストに含まれる非ターミナル JSON 行エラーの行番号が含まれています。

```
{
    "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
            ]
        }
    }
}
```