Skip to content

Latest commit

 

History

History

Swin-Transformer

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

Swin-Transformer timm=>ONNX=>TensorRT

1.Reference

2.Export ONNX Model

python3 export_onnx.py

3.Build Swin-Transformer_trt Project

cd ../  # in project directory
mkdir build && cd build
cmake ..
make -j

4.run Swin-Transformer_trt

cd ../../bin/
./tensorrt_inference Swin_Transformer ../configs/Swin-Transformer/config.yaml ../../../samples/classification