> For the complete documentation index, see [llms.txt](https://docs.roboflow.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.roboflow.com/roboflow/roboflow-jp/deploy/batch-processing.md).

# Batch Processing

Batch Processing は、実行するための費用対効果の高い方法です [Workflows](/roboflow/roboflow-jp/workflows/what-is-workflows.md) 画像のバッチや保存済み動画を対象に。大量のデータを非同期で処理するのに最適です。

Batch Processing は、大きなバッチを実行するために必要なインフラを自動的にプロビジョニングします。

Roboflow の Web インターフェースまたは API（CLI 経由）から Batch Processing ジョブを設定できます。

ジョブを開始すると、データを処理するためのマシンがクラウド上にプロビジョニングされます。その後、データに対して実行するよう選択した Workflow の出力を含む JSON ファイルを受け取ります。

次の動画では、Batch Processing を詳しく説明しています:

{% embed url="<https://www.youtube.com/watch?v=S7K2j2IeQrM>" %}

### Batch Processing ジョブを作成する

Batch Processing ジョブを作成するには、Roboflow ダッシュボードの左サイドバーにある Deployments をクリックします。次に、"Batch Processing" タブをクリックします:

<figure><img src="/files/5969dc9a1b69574ca8e53896ae35a810e89fdeab" alt=""><figcaption></figcaption></figure>

"New Batch Job" をクリックして Batch Processing ジョブを作成します。

ジョブを設定できるウィンドウが開きます:

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

#### Workflow を選択する

ジョブの設定を開始するには、まず Workflow を選択します。まだ Workflow がない場合は、始めるために Workflows のドキュメントを参照してください。

#### 画像または動画をアップロードする

次に、Workflow を実行したい画像または動画をアップロードする必要があります。

#### ハードウェアを設定する

Batch Processing ジョブは CPU または GPU で実行できます。GPU ジョブのほうが高速ですが、費用は高くなります。

料金情報については、Roboflow の料金ドキュメントを参照してください。

ジョブに CPU または GPU のどちらかを選択してください:

<figure><img src="/files/0415bd0498d2e4f7a5911d045b76eeb05583b2f4" alt=""><figcaption></figcaption></figure>

"Advanced Options" タブでは、いくつかの高度な設定オプションも利用できます。これらのオプションはデフォルトのままにしておくことを推奨します。

#### ジョブを開始する

Batch Processing ジョブを開始するには、"Create Batch Job" をクリックします。

ジョブのインフラがプロビジョニングされ、処理が開始されます。

### ジョブの進行状況を監視

ジョブを開始すると、処理の設定中、バッチデータの処理中、そしてジョブ完了時に表示されるステータスインジケーターが表示されます。

バッチのどこまで処理されたかをリアルタイムで監視できます。

データの処理にかかる時間は、画像の枚数によって異なります。

### API または CLI で Batch Processing ジョブを作成する

プログラムから Batch Processing ジョブを作成するには、次を参照してください [API Reference](/roboflow/roboflow-jp/deploy/batch-processing/api-reference.md) REST API エンドポイントについては、または [CLI Usage](/roboflow/roboflow-jp/deploy/batch-processing/cli-usage.md) Roboflow CLI のガイドを参照してください。

一般的な問題のデバッグについては、次を参照してください [トラブルシューティング](/roboflow/roboflow-jp/deploy/batch-processing/troubleshooting.md).


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://docs.roboflow.com/roboflow/roboflow-jp/deploy/batch-processing.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
