# 学習を早期終了

Early Stopping を使用すると、モデルの学習中に training job を停止できます。

次のような場合にこの機能を使用するとよいでしょう:

1. 学習グラフでモデルの高い性能が示されており、
2. training job にはまだ多くの epoch が残っている場合。

モデルの学習を途中で停止すると、weights は保存され、モデルは使用可能になります。

何らかの理由で job を完全にキャンセルしたい場合は、 [Cancel a Training Job のドキュメント](/roboflow/roboflow-jp/train/cancel-a-training-job.md)を参照してください。キャンセルされた job では、学習で得られた model weights は保存されません。

model training job を途中で停止するには、「Stop Training Early」ボタンをクリックします:

<figure><img src="/files/aef7753268b4842cfa7162c9371fb1a1f3d7f02f" alt=""><figcaption></figcaption></figure>

「Stop Training Early」ボタンをクリックすると、training job の停止処理がただちに開始され、model weights が使用可能な状態に準備されます。

training job には、job が途中で停止されたことを示すタグが表示されます:

<figure><img src="/files/ac79f2eb6ffec2895f96f1da2c7bd5ae9ad6ec19" alt=""><figcaption></figcaption></figure>

停止した model が利用可能になるまで、数分かかる場合があります。

model の準備が整うと、model version 名の横に緑のチェックマークが表示されます:

<figure><img src="/files/3eebe84ebba418148510ec933f9894d686d0115b" alt=""><figcaption></figcaption></figure>

## NAS Training Stop Reasons

Neural Architecture Search (NAS) で学習された model では、model が収束した場合にも学習が自動的に停止することがあります（すべての target epochs が完了する前にピーク性能に達した場合）。この場合、training results ページのバナーに、training が収束し、不要な epochs がスキップされたことが表示されます。


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.roboflow.com/roboflow/roboflow-jp/train/stop-training-early.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
