mirror of
https://github.com/open-mmlab/mmdeploy.git
synced 2025-01-14 08:09:43 +08:00
docs(jetsons.md): fix desc (#1090)
* docs(jetsons.md): fix desc * docs(jetsons.md): update
This commit is contained in:
parent
ea7706cbfd
commit
107ae8499d
@ -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}
|
||||||
|
@ -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 的依赖项
|
||||||
|
Loading…
x
Reference in New Issue
Block a user