Deep learning memo

1
2
3
import netron
modelPath = "models.onnx"
netron.start(modelPath)

then browse to http://localhost:8080.
onnx to trt

1
./trtexec --onnx=Resnet34_3inputs_448x448_20200609.onnx --saveEngine=Resnet34_3inputs_448x448_20200609.trt --workspace=6000

TensorRT docs https://docs.nvidia.com/deeplearning/tensorrt/api/c_api/classnvinfer1_1_1_i_runtime.html