FC2カウンター FPGAの部屋 ”TVM を使ってディープラーニングを手軽に FPGA で高速化 (2)”をやってみる4
fc2ブログ

FPGAやCPLDの話題やFPGA用のツールの話題などです。 マニアックです。 日記も書きます。

FPGAの部屋

FPGAの部屋の有用と思われるコンテンツのまとめサイトを作りました。Xilinx ISEの初心者の方には、FPGAリテラシーおよびチュートリアルのページをお勧めいたします。

”TVM を使ってディープラーニングを手軽に FPGA で高速化 (2)”をやってみる4

”TVM を使ってディープラーニングを手軽に FPGA で高速化 (2)”をやってみる3”の続き。

Ultra96V2 用の”TVM を使ってディープラーニングを手軽に FPGA で高速化 (2)”をやってみようということで、前回は、”TVM を使ってディープラーニングを手軽に FPGA で高速化 (2)”の”Ultra96 への TVM ランタイムのインストール”を行った。今回は、”ホスト環境での TVM のセットアップ”をやっていったのだが、”./tvm/docker/build.sh demo_vitis_ai bash”でエラーが出て先に進まなくなってしまった。

ホスト環境での TVM のセットアップ
tvm を git clone する。
Ultra96-V2_TVM_35_211006.png
Ultra96-V2_TVM_36_211006.png

build.sh を実行する。
./tvm/docker/build.sh demo_vitis_ai bash
Ultra96-V2_TVM_37_211006.png
Ultra96-V2_TVM_38_211006.png

エラーが発生した。

The command '/bin/sh -c apt-get update --fix-missing' returned a non-zero code: 100
ERROR: docker build failed.



コマンド実行のログを示す。

(base) masaaki@masaaki-H110M4-M01:/media/masaaki/Ubuntu_Disk/Ultra96-V2/TVM_DL$ ./tvm/docker/build.sh demo_vitis_ai bash
Using default context path: /media/masaaki/Ubuntu_Disk/Ultra96-V2/TVM_DL/tvm/docker
WORKSPACE: /media/masaaki/Ubuntu_Disk/Ultra96-V2/TVM_DL/tvm/docker/../
CI_DOCKER_EXTRA_PARAMS: 
COMMAND: bash
CONTAINER_TYPE: demo_vitis_ai
BUILD_TAG: tvm
DOCKER CONTAINER NAME: tvm.demo_vitis_ai
DOCKER_IMAGE_TAG: latest
DOCKER_IMG_SPEC: tvm.demo_vitis_ai:latest

Building container (tvm.demo_vitis_ai)...
Sending build context to Docker daemon  201.7kB
Step 1/19 : FROM xilinx/vitis-ai:1.4.916
1.4.916: Pulling from xilinx/vitis-ai
01bf7da0a88c: Pulling fs layer 
f3b4a5f15c7a: Pulling fs layer 
57ffbe87baa1: Pulling fs layer 
195050004f95: Pulling fs layer 
28ef4752131e: Pulling fs layer 
161717b3aab7: Pulling fs layer 
c8a243b4402d: Pulling fs layer 
f4cc9f3f5ed3: Pulling fs layer 
078585cf4882: Pulling fs layer 
9bb8a2ef4fe9: Pulling fs layer 
31628d2f8579: Pull complete 
5759a1729f74: Pull complete 
f6bf5622f603: Pull complete 
343ab32c9bff: Pull complete 
e417d03e00f0: Pull complete 
db307339ff66: Pull complete 
53b28f82bce7: Pull complete 
b879f906e0dc: Pull complete 
a117f5309e41: Pull complete 
6dc4b00c80a5: Pull complete 
a718f95d6864: Pull complete 
d1cfc3aa434e: Pull complete 
e52a4b0ebf4b: Pull complete 
9eb3845e0638: Pull complete 
f65df791d7f6: Pull complete 
2e3224a3157e: Pull complete 
e84eff50ebe1: Pull complete 
6f7467e62fb5: Pull complete 
e98adc80d6b3: Pull complete 
f45c539d8128: Pull complete 
896507c50eb7: Pull complete 
fb407cba96a3: Pull complete 
c4c370fb9ac4: Pull complete 
Digest: sha256:1d568b1b77601a4e9989f969a74dfd9fd61102b713cb137edb83d76db11cea91
Status: Downloaded newer image for xilinx/vitis-ai:1.4.916
 ---> a325686c45a3
Step 2/19 : RUN apt-get update --fix-missing
 ---> Running in c2232d8956c0
Get:1 http://security.ubuntu.com/ubuntu bionic-security InRelease [88.7 kB]    
Get:2 http://archive.ubuntu.com/ubuntu bionic InRelease [242 kB]               
Get:3 http://ppa.launchpad.net/timsc/opencv-3.4/ubuntu bionic InRelease [15.9 kB]
Ign:4 https://apt.kitware.com/ubuntu bionic InRelease                          
Err:5 https://apt.kitware.com/ubuntu bionic Release                            
  Certificate verification failed: The certificate is NOT trusted. The certificate chain uses expired certificate.  Could not handshake: Error in the certificate verification. [IP: 66.194.253.25 443]
Get:6 http://ppa.launchpad.net/ubuntu-toolchain-r/test/ubuntu bionic InRelease [20.8 kB]
Get:7 http://archive.ubuntu.com/ubuntu bionic-updates InRelease [88.7 kB]      
Get:8 http://security.ubuntu.com/ubuntu bionic-security/restricted amd64 Packages [606 kB]
Get:9 http://archive.ubuntu.com/ubuntu bionic-backports InRelease [74.6 kB]    
Get:10 http://ppa.launchpad.net/timsc/opencv-3.4/ubuntu bionic/main amd64 Packages [11.1 kB]
Get:11 http://archive.ubuntu.com/ubuntu bionic/multiverse amd64 Packages [186 kB]
Get:12 http://archive.ubuntu.com/ubuntu bionic/universe amd64 Packages [11.3 MB]
Get:13 http://ppa.launchpad.net/ubuntu-toolchain-r/test/ubuntu bionic/main amd64 Packages [50.4 kB]
Get:14 http://security.ubuntu.com/ubuntu bionic-security/universe amd64 Packages [1,430 kB]
Get:15 http://security.ubuntu.com/ubuntu bionic-security/main amd64 Packages [2,365 kB]
Get:16 http://security.ubuntu.com/ubuntu bionic-security/multiverse amd64 Packages [26.7 kB]
Get:17 http://archive.ubuntu.com/ubuntu bionic/restricted amd64 Packages [13.5 kB]
Get:18 http://archive.ubuntu.com/ubuntu bionic/main amd64 Packages [1,344 kB]  
Get:19 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 Packages [2,801 kB]
Get:20 http://archive.ubuntu.com/ubuntu bionic-updates/universe amd64 Packages [2,209 kB]
Get:21 http://archive.ubuntu.com/ubuntu bionic-updates/multiverse amd64 Packages [34.4 kB]
Get:22 http://archive.ubuntu.com/ubuntu bionic-updates/restricted amd64 Packages [638 kB]
Get:23 http://archive.ubuntu.com/ubuntu bionic-backports/universe amd64 Packages [11.4 kB]
Get:24 http://archive.ubuntu.com/ubuntu bionic-backports/main amd64 Packages [11.3 kB]
Reading package lists... Done                                                  
E: The repository 'https://apt.kitware.com/ubuntu bionic Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
The command '/bin/sh -c apt-get update --fix-missing' returned a non-zero code: 100
ERROR: docker build failed.

  1. 2021年10月07日 05:10 |
  2. Ultra96
  3. | トラックバック:0
  4. | コメント:0

コメント

コメントの投稿


管理者にだけ表示を許可する

トラックバック URL
https://marsee101.blog.fc2.com/tb.php/5376-c32ba303
この記事にトラックバックする(FC2ブログユーザー)