MCPcopy Index your code
hub / github.com/Yibin122/TensorRT-LaneATT

github.com/Yibin122/TensorRT-LaneATT @main

Chat with this repo
repository ↗ · DeepWiki ↗ · + Follow
77 symbols 138 edges 11 files 7 documented · 9% updated 4y ago★ 445 open issues
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

TensorRT-LaneATT

This repository creates a TensorRT engine of LaneATT for inference.

0.Prerequisites

  • TensorRT 8.0.3
  • CUDA 10.2
  • See install

1.ONNX

git clone https://github.com/lucastabelini/LaneATT.git
cd LaneATT
python laneatt_to_onnx.py

2.TensorRT

python onnx_to_tensorrt.py

sample

3.C++ Inference

cd laneatt
mkdir build && cd build
cmake ..
# modify image and engine path in laneatt_test.cc
make && ./laneatt_test

TODO

  • [x] C++ inference
  • [ ] Measure speed on Xavier

Core symbols most depended-on inside this repo

export_onnx
called by 1
laneatt_to_onnx.py
get_engine
called by 1
onnx_to_tensorrt.py
build_engine
called by 1
onnx_to_tensorrt.py
do_nms
called by 1
onnx_to_tensorrt.py
post_process
called by 1
onnx_to_tensorrt.py
engine_inference
called by 1
onnx_to_tensorrt.py
get_data_path
called by 1
common.py
locate_files
called by 1
common.py

Shape

Method 44
Function 18
Class 15

Languages

Python73%
C++27%

Modules by API surface

ganet/deform_conv.py31 symbols
common.py12 symbols
laneatt/laneatt.cc6 symbols
onnx_to_tensorrt.py5 symbols
laneatt/laneatt.hh5 symbols
laneatt_to_onnx.py4 symbols
ganet/ganet_pth2onnx.py4 symbols
ganet/ganet.hh4 symbols
ganet/ganet.cc4 symbols
laneatt/laneatt_test.cc1 symbols
ganet/main.cc1 symbols

For agents

$ claude mcp add TensorRT-LaneATT \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact