
本文共 2665 字,大约阅读时间需要 8 分钟。
������������TensorRT���������������������������������������
TensorRT������������������������������Inference���������������������������������������������������������������������TensorRT���CPU���GPU���������������������10���������������������������
TensorRT���������������������������������������������������������������
���������TensorRT���������������������������������int8���FP16������������������������������������������������������������������������float���double���������������������������������������������������������������������������������������������������������������������������int8������������������������������������������
���������TensorRT������GPU������������������������������������������������������������������������������bias+conv+relu��������������� ���������������������������������������������������������������������������������������GPU������������������������������������������������������������������
������TensorRT���������������������������
���������Python������������TensorRT������������������������������PyCuD���PyCUDA������������������PyTorch���������������������������������������������������������������
���home��������������������������� tensorrt_tar ������������������TensorRT���������������������������������������������������
���TensorRT���lib������������������������������LD_LIBRARY_PATH���������������������������
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/root/tensorrt_tar/TensorRT-*/lib
- ������pip������TensorRT Python���������������������������
- ������������������TensorFlow���������������������UFF���������������������������������������
- ������������������������������������������������������GraphSurgeon������������������������������
���TensorFlow���������������_pb���������������
������convert_to_uff���������TensorFlow���������������UFF���������������������������
���PyTorch������������ONNX���������������������
������TensorRT Runtime Engine������������������������������������������������������������������������������������������������������������������������������
pip install tensorrt-5.0.2.6-py2.py3-none-any.whl
cd TensorRT-5.0.2.6/uff
pip install uff-0.5.5-py2.py3-none-any.whl
cd TensorRT-5.0.2.6/graphsurgeon
������������������������������������������������������TensorRT���������������������
import tensorrt as trtimport uff
������������TensorRT������������������������������������
python3.5 /usr/lib/python3.5/dist-packages/uff/bin/convert_to_uff.py --input_file models/lenet5.pb
������������������UFF���������������������models���������������������lenet5.uff���
������PyTorch������������������������������������������������
���������������������������������������������������������������������������������������
发表评论
最新留言
关于作者
