From 38a88a2853e20a7f45f07d09321b30ebba7b66d0 Mon Sep 17 00:00:00 2001 From: zhangchenrui Date: Thu, 11 Sep 2025 11:29:15 +0800 Subject: [PATCH] delete -no-check-certificate --- model_examples/GameFormer/README.md | 4 ++-- model_examples/HPTR/README.md | 2 +- model_examples/LaneSegNet/README.md | 5 ++--- model_examples/MapTR/README.md | 5 ++--- model_examples/PivotNet/README.md | 11 +++++------ model_examples/QCNet/README.md | 2 +- model_examples/StreamPETR/README.md | 5 ++--- 7 files changed, 15 insertions(+), 19 deletions(-) diff --git a/model_examples/GameFormer/README.md b/model_examples/GameFormer/README.md index d4d1f0d1..0a2b8eca 100644 --- a/model_examples/GameFormer/README.md +++ b/model_examples/GameFormer/README.md @@ -89,7 +89,7 @@ ``` 对于arm64架构Linux系统,waymo官方并没有提供预先编译好whl包。为了方便用户使用,我们提供arm64系统编译的whl包,可以直接在华为云OBS上进行下载。 ``` - wget --no-check-certificate https://pytorch-package.obs.cn-north-4.myhuaweicloud.com/DrivingSDK/packages/waymo_open_dataset_tf_2.11.0-1.5.0-py3-none-any.whl + wget https://pytorch-package.obs.cn-north-4.myhuaweicloud.com/DrivingSDK/packages/waymo_open_dataset_tf_2.11.0-1.5.0-py3-none-any.whl pip install -r requirements_waymo.txt pip install waymo_open_dataset_tf_2.11.0-1.5.0-py3-none-any.whl ``` @@ -106,7 +106,7 @@ 4. 安装 tcmalloc 高效内存资源分配库 ``` mkdir gperftools && cd gperftools - wget --no-check-certificate https://github.com/gperftools/gperftools/releases/download/gperftools-2.16/gperftools-2.16.tar.gz + wget https://github.com/gperftools/gperftools/releases/download/gperftools-2.16/gperftools-2.16.tar.gz tar -zvxf gperftools-2.16.tar.gz cd gperftools-2.16 ./configure diff --git a/model_examples/HPTR/README.md b/model_examples/HPTR/README.md index b2eed921..8e325426 100644 --- a/model_examples/HPTR/README.md +++ b/model_examples/HPTR/README.md @@ -96,7 +96,7 @@ HPTR 是一种用于自动驾驶实时运动预测的层次化Transformer模型 ``` 对于 arm64 架构 Linux 系统,waymo 官方并没有提供预先编译好 whl 包。为了方便用户使用,我们提供 arm64 系统编译的 whl 包,可以直接在华为云 OBS 上进行下载: ``` - wget --no-check-certificate https://pytorch-package.obs.cn-north-4.myhuaweicloud.com/DrivingSDK/packages/waymo_open_dataset_tf_2.11.0-1.5.0-py3-none-any.whl + wget https://pytorch-package.obs.cn-north-4.myhuaweicloud.com/DrivingSDK/packages/waymo_open_dataset_tf_2.11.0-1.5.0-py3-none-any.whl pip install waymo_open_dataset_tf_2.11.0-1.5.0-py3-none-any.whl ``` diff --git a/model_examples/LaneSegNet/README.md b/model_examples/LaneSegNet/README.md index 4a1e96bf..ed91100a 100644 --- a/model_examples/LaneSegNet/README.md +++ b/model_examples/LaneSegNet/README.md @@ -119,9 +119,8 @@ code_path=DrivingSDK/model_examples/LaneSegNet - 安装毕昇编译器 - 将CANN包安装目录记为cann_root_dir,执行下列命令安装毕昇编译器。 + 将CANN包安装目录记为cann_root_dir,执行下列命令安装毕昇编译器,官网下载毕昇编译器4.1.0版本:https://www.hikunpeng.com/zh/developer/devkit/download/bishengcompiler。 ``` - wget https://kunpeng-repo.obs.cn-north-4.myhuaweicloud.com/BiSheng%20Enterprise/BiSheng%20Enterprise%20203.0.0/BiShengCompiler-4.1.0-aarch64-linux.tar.gz tar -xvf BiShengCompiler-4.1.0-aarch64-linux.tar.gz export PATH=$(pwd)/BiShengCompiler-4.1.0-aarch64-linux/bin:$PATH export LD_LIBRARY_PATH=$(pwd)/BiShengCompiler-4.1.0-aarch64-linux/lib:$LD_LIBRARY_PATH @@ -130,7 +129,7 @@ code_path=DrivingSDK/model_examples/LaneSegNet - 安装依赖,将安装mpdecimal依赖包的目录记为mpdecimal_install_path。 ``` - wget --no-check-certificate https://www.bytereef.org/software/mpdecimal/releases/mpdecimal-2.5.1.tar.gz + wget https://www.bytereef.org/software/mpdecimal/releases/mpdecimal-2.5.1.tar.gz tar -xvf mpdecimal-2.5.1.tar.gz cd mpdecimal-2.5.1 bash ./configure --prefix=mpdecimal_install_path diff --git a/model_examples/MapTR/README.md b/model_examples/MapTR/README.md index 5510d8a5..d89446b3 100644 --- a/model_examples/MapTR/README.md +++ b/model_examples/MapTR/README.md @@ -148,9 +148,8 @@ MapTR是一种高效的端到端Transformer模型,用于在线构建矢量化 - 安装毕昇编译器 - 将CANN包安装目录记为cann_root_dir,执行下列命令安装毕昇编译器。 + 将CANN包安装目录记为cann_root_dir,执行下列命令安装毕昇编译器,官网下载毕昇编译器4.1.0版本:https://www.hikunpeng.com/zh/developer/devkit/download/bishengcompiler。 ``` - wget https://kunpeng-repo.obs.cn-north-4.myhuaweicloud.com/BiSheng%20Enterprise/BiSheng%20Enterprise%20203.0.0/BiShengCompiler-4.1.0-aarch64-linux.tar.gz tar -xvf BiShengCompiler-4.1.0-aarch64-linux.tar.gz export PATH=$(pwd)/BiShengCompiler-4.1.0-aarch64-linux/bin:$PATH export LD_LIBRARY_PATH=$(pwd)/BiShengCompiler-4.1.0-aarch64-linux/lib:$LD_LIBRARY_PATH @@ -159,7 +158,7 @@ MapTR是一种高效的端到端Transformer模型,用于在线构建矢量化 - 安装依赖 ``` - wget --no-check-certificate https://www.bytereef.org/software/mpdecimal/releases/mpdecimal-2.5.1.tar.gz + wget https://www.bytereef.org/software/mpdecimal/releases/mpdecimal-2.5.1.tar.gz tar -xvf mpdecimal-2.5.1.tar.gz cd mpdecimal-2.5.1 bash ./configure --prefix=/path/to/install/mpdecimal diff --git a/model_examples/PivotNet/README.md b/model_examples/PivotNet/README.md index a5063f72..11fcb6bf 100644 --- a/model_examples/PivotNet/README.md +++ b/model_examples/PivotNet/README.md @@ -130,9 +130,8 @@ code_path=model_examples/PivotNet - 安装毕昇编译器 - 将CANN包安装目录记为cann_root_dir,执行下列命令安装毕昇编译器。 + 将CANN包安装目录记为cann_root_dir,执行下列命令安装毕昇编译器,官网下载毕昇编译器4.1.0版本:https://www.hikunpeng.com/zh/developer/devkit/download/bishengcompiler。 ``` - wget https://kunpeng-repo.obs.cn-north-4.myhuaweicloud.com/BiSheng%20Enterprise/BiSheng%20Enterprise%20203.0.0/BiShengCompiler-4.1.0-aarch64-linux.tar.gz tar -xvf BiShengCompiler-4.1.0-aarch64-linux.tar.gz export PATH=$(pwd)/BiShengCompiler-4.1.0-aarch64-linux/bin:$PATH export LD_LIBRARY_PATH=$(pwd)/BiShengCompiler-4.1.0-aarch64-linux/lib:$LD_LIBRARY_PATH @@ -141,7 +140,7 @@ code_path=model_examples/PivotNet - 安装依赖,将安装mpdecimal依赖包的目录记为mpdecimal_install_path。 ``` - wget --no-check-certificate https://www.bytereef.org/software/mpdecimal/releases/mpdecimal-2.5.1.tar.gz + wget https://www.bytereef.org/software/mpdecimal/releases/mpdecimal-2.5.1.tar.gz tar -xvf mpdecimal-2.5.1.tar.gz cd mpdecimal-2.5.1 bash ./configure --prefix=mpdecimal_install_path @@ -208,9 +207,9 @@ code_path=model_examples/PivotNet ``` cd /path/to/pivotnet cd assets/weights -wget --no-check-certificate https://github.com/wenjie710/PivotNet/releases/download/v1.0/efficientnet-b0-355c32eb.pth . -wget --no-check-certificate https://github.com/wenjie710/PivotNet/releases/download/v1.0/resnet50-0676ba61.pth . -wget --no-check-certificate https://github.com/wenjie710/PivotNet/releases/download/v1.0/upernet_swin_tiny_patch4_window7_512x512.pth . +wget https://github.com/wenjie710/PivotNet/releases/download/v1.0/efficientnet-b0-355c32eb.pth . +wget https://github.com/wenjie710/PivotNet/releases/download/v1.0/resnet50-0676ba61.pth . +wget https://github.com/wenjie710/PivotNet/releases/download/v1.0/upernet_swin_tiny_patch4_window7_512x512.pth . ``` - 生成模型训练数据 diff --git a/model_examples/QCNet/README.md b/model_examples/QCNet/README.md index 56f23548..9c946177 100644 --- a/model_examples/QCNet/README.md +++ b/model_examples/QCNet/README.md @@ -132,7 +132,7 @@ code_path=model_examples/QCNet 5. 安装 tcmalloc 高效内存资源分配库 ``` mkdir gperftools && cd gperftools - wget --no-check-certificate https://github.com/gperftools/gperftools/releases/download/gperftools-2.16/gperftools-2.16.tar.gz + wget https://github.com/gperftools/gperftools/releases/download/gperftools-2.16/gperftools-2.16.tar.gz tar -zvxf gperftools-2.16.tar.gz cd gperftools-2.16 ./configure diff --git a/model_examples/StreamPETR/README.md b/model_examples/StreamPETR/README.md index bf25316c..793d576a 100644 --- a/model_examples/StreamPETR/README.md +++ b/model_examples/StreamPETR/README.md @@ -226,10 +226,9 @@ chmod 777 StreamPETR/backfunc.sh 10. 编译优化 (1)python编译优化 -源码下载毕昇编译器: +官网下载毕昇编译器4.1.0版本:https://www.hikunpeng.com/zh/developer/devkit/download/bishengcompiler: ``` ulimit -n 4096 -wget --no-check-certificate https://kunpeng-repo.obs.cn-north-4.myhuaweicloud.com/BiSheng%20Enterprise/BiSheng%20Enterprise%20203.0.0/BiShengCompiler-4.1.0-aarch64-linux.tar.gz tar -xvf BiShengCompiler-4.1.0-aarch64-linux.tar.gz export PATH=$(pwd)/BiShengCompiler-4.1.0-aarch64-linux/bin:$PATH export LD_LIBRARY_PATH=$(pwd)/BiShengCompiler-4.1.0-aarch64-linux/lib:$LD_LIBRARY_PATH @@ -238,7 +237,7 @@ source {cann_root_dir}/set_env.sh 下载所需依赖: ``` -wget --no-check-certificate https://www.bytereef.org/software/mpdecimal/releases/mpdecimal-2.5.1.tar.gz +wget https://www.bytereef.org/software/mpdecimal/releases/mpdecimal-2.5.1.tar.gz tar -xvf mpdecimal-2.5.1.tar.gz cd mpdecimal-2.5.1 bash ./configure --prefix=/path/to/install/mpdecimal -- Gitee