2019.8.1
inference python code for MXNet-cudnn and TensorRT-cudnn is online.
- onnx (pip3 install onnx==1.3.0)
- pycuda (pip3 install pycuda==2019.1.1 or install guide)
- tensorrt =5.x (use pip3 to install the corresponding .whl file in python folder)
CAUTION:
Carefully check the version compatible between CUDA, CUDNN, pycuda, TensorRT and onnx.
- (optional) temporally add mxnet python path to env if mxnet is not globally set
- set
eval_with_mxnet_flag
to True to evaluate with mxnet with cudnn, or with tensorrt with cudnn (cannot run both at the same time due to some conflicts) - set
symbol_file_path
,input_shape
andreal_run_loops
- run the script