docs(jetsons.md): fix desc (#1090)

* docs(jetsons.md): fix desc

* docs(jetsons.md): update
This commit is contained in:
tpoisonooo 2022-09-23 10:14:00 +08:00 committed by GitHub
parent ea7706cbfd
commit 107ae8499d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 11 additions and 7 deletions

View File

@ -175,16 +175,18 @@ It takes about 1 hour 40 minutes to install MMCV on a Jetson Nano. So, please be
#### Install ONNX #### Install ONNX
```shell ```shell
# Execute one of the following commands
pip install onnx pip install onnx
conda install -c conda-forge onnx
``` ```
#### Install h5py #### Install h5py and pycuda
Model Converter employs HDF5 to save the calibration data for TensorRT INT8 quantization. Model Converter employs HDF5 to save the calibration data for TensorRT INT8 quantization and needs `pycuda` to copy device memory.
```shell ```shell
sudo apt-get install -y pkg-config libhdf5-100 libhdf5-dev sudo apt-get install -y pkg-config libhdf5-100 libhdf5-dev
pip install versioned-hdf5 pip install versioned-hdf5 pycuda
``` ```
```{note} ```{note}

View File

@ -158,16 +158,18 @@ conda activate mmdeploy
- 安装 ONNX - 安装 ONNX
```shell ```shell
pip install onnx # 以下方式二选一
python3 -m pip install onnx
conda install -c conda-forge onnx
``` ```
- 安装 h5py - 安装 h5py 和 pycuda
Model Converter 使用 HDF5 存储 TensorRT INT8 量化的校准数据 Model Converter 使用 HDF5 存储 TensorRT INT8 量化的校准数据;需要 pycuda 拷贝显存
```shell ```shell
sudo apt-get install -y pkg-config libhdf5-100 libhdf5-dev sudo apt-get install -y pkg-config libhdf5-100 libhdf5-dev
pip install versioned-hdf5 pip install versioned-hdf5 pycuda
``` ```
### 安装 SDK 的依赖项 ### 安装 SDK 的依赖项