Document Understanding
2023.10
バナーの背景画像
Document Understanding ガイド
最終更新日 2024年5月8日

ML パッケージのオフライン インストール

ML パッケージはすべて .zip ファイルで提供されており、AI Center 内にカスタム パッケージとして直接アップロードされています。モデルをダウンロードするには、アカウント マネージャー、CSM、またはサポートにお問い合わせください。パッケージ単位でのダウンロード リンクを入手できます。

基本情報

AI Center™ の ML パッケージを正常にオフライン インストールするには、以下の手順を実行する必要があります。

  • 必要な du バンドルをダウンロードします。利用可能なすべての du バンドルのリンクについては、こちらをご覧ください。du バンドルには、特定のバージョンに含まれるすべてのモデルの情報が入っています。たとえば、dusemistructured-2023.10.0.tar.gz には、v2023.10.0 に含まれる、すぐに使える事前トレーニング済みの ML パッケージすべてに関する情報が入っています。
  • 必要なすぐに使えるモデル パッケージをダウンロードします (例: Invoices (請求書)、Receipts (領収書)、PurchaseOrders (発注書))。リンクはアカウント マネージャー、CSM、またはサポートが提供する必要があります。

オフライン バンドルをインストールする

オフライン インストールの場合、ダウンロードした du バンドルの名前をコマンド ラインで du-ondemand.tar.gz に変更する必要があります。たとえば、dusemistructured-2023.10.0.tar.gzという名前の du バンドルをダウンロードした場合は、インストール時に名前を du-ondemand.tar.gz に変更する必要があります。
  1. Windows マシンの場合は、バンドルのリンクから直接ダウンロードして、ファイル名を du-ondemand.tar.gz に変更します。
  2. Linux マシンの場合は、インターネットにアクセスできるマシンから、以下のコマンドを実行して必要なバンドルをダウンロードします。

    wget -O ~/<bundle-name.tar.gz> 'bundle-link'wget -O ~/<bundle-name.tar.gz> 'bundle-link'

    以下に、Linux に必要なバンドルをダウンロードする方法の例を示します。

    wget -O ~/du-ondemand.tar.gz 'https://download.uipath.com/automation-suite/2023.10.0/dusemistructured-2023.10.0.tar.gz'wget -O ~/du-ondemand.tar.gz 'https://download.uipath.com/automation-suite/2023.10.0/dusemistructured-2023.10.0.tar.gz'
  3. クラスターのメイン マシンの /uipath/tmp フォルダー (インストールが行われたフォルダー) に、以下のバンドルをコピーします。
    scp ~/<bundle-name.tar.gz> <username>@<node dns>:/uipath/tmp/scp ~/<bundle-name.tar.gz> <username>@<node dns>:/uipath/tmp/
  4. このメイン マシンに接続し、バンドルを読み込ます。

    ./configureUiPathAS.sh registry upload --optional-offline-bundle "/uipath/tmp/du.tar.gz" --offline-tmp-folder "/uipath/tmp"./configureUiPathAS.sh registry upload --optional-offline-bundle "/uipath/tmp/du.tar.gz" --offline-tmp-folder "/uipath/tmp"

モデルを AI Center にアップロードする

モデルのダウンロードとインストールが完了したら、こちらの手順に従って AI Center にアップロードします。

DU バンドルを外部 Docker レジストリにアップロードする

DU バンドルを外部 Docker レジストリにアップロードするには、以下の手順に従います。

  • registry.uipath.com でホストされている UiPath レジストリから目的の DU イメージをプルする

  • イメージ ホストの名前を Docker レジストリの名前に従って変更します。

  • イメージを外部 Docker レジストリにプッシュする

目的の DU イメージをプルする

次のコマンドを実行してイメージを UiPath レジストリからプルします。
docker pull <uipath_registry_server>/<image_name>docker pull <uipath_registry_server>/<image_name>

以下に、registry.uipath.com というレジストリから UiPathDocumentOCR バンドルのイメージをプルする方法の例を示します。

docker pull registry.uipath.com/aicenter/du-doc-ocr:v23.10.0docker pull registry.uipath.com/aicenter/du-doc-ocr:v23.10.0

イメージ ホストの名前を変更する

次のコマンドを実行して、イメージ ホストの名前を変更します。

docker tag <uipath_registry_server>/<image_name> <your_registry_server>/<image_name>docker tag <uipath_registry_server>/<image_name> <your_registry_server>/<image_name>

以下に、UiPathDocumentOCR バンドルのイメージの名前を、registry.uipath.com というレジストリから registory.mycompany.com というレジストリに変更する方法の例を示します。

docker tag registry.uipath.com/aicenter/du-doc-ocr:v23.4.0-rc70 registory.mycompany.com/aicenter/du-doc-ocr:v23.10.0docker tag registry.uipath.com/aicenter/du-doc-ocr:v23.4.0-rc70 registory.mycompany.com/aicenter/du-doc-ocr:v23.10.0

イメージを外部 Docker レジストリにプッシュする

次のコマンドを実行して、イメージを外部 Docker レジストリにプッシュします。

docker push <your_registry_server>/<image_name>docker push <your_registry_server>/<image_name>

以下に、UiPathDocumentOCR バンドルのイメージを外部 Docker レジストリにプッシュする方法の例を示します。

docker push registory.mycompany.com/aicenter/du-doc-ocr:v23.10.0docker push registory.mycompany.com/aicenter/du-doc-ocr:v23.10.0

各 DU バンドルのイメージ

DU バンドル

画像

UiPathDocument OCR (UiPath ドキュメント OCR)aicenter/du-doc-ocr:v23.10.0
UiPathDocumentOCR_CPUaicenter/du-doc-ocr-cpu:v23.10.0
OCR for Chinese, Japanese, Korean (OCR - 中国語、日本語、韓国語)du/du-cjk-ocr-proxy:v23.10.0
DocumentClassifier (ドキュメント分類)aicenter/du-ml-document-type-text-classifier:v23.10.0

すぐに使える事前トレーニング済みの ML パッケージ

aicenter/du-semistructured:v23.10.0

Dulv4

aicenter/python37duv4:23.10.0

Dulv3

aicenter/python37duv3:23.10.0

Dulv2

aicenter/python37duv2:23.10.0

Was this page helpful?

サポートを受ける
RPA について学ぶ - オートメーション コース
UiPath コミュニティ フォーラム
UiPath ロゴ (白)
信頼とセキュリティ
© 2005-2024 UiPath. All rights reserved.