our repo base on pytorch version of yolact https://github.com/dbolya/yolact.git
Install opencv with sudo apt-get install libopencv-dev
.
reference: https://medium.com/@nanmi/%E5%A6%82%E4%BD%95%E7%94%A8tensorrt%E9%83%A8%E7%BD%B2yolact-3690e0708a85
Please follow the TensorRT trtexec tools to genetate TensorRT engine.
build the demo:
mkdir build
cd build
cmake ..
make
Then run the demo:
./yolact ../yolac_fp32.engine -i ../000000000016.jpg
or
./yolact <path/to/your/engine_file> -i <path/to/image>
For the 3rd-party module and Deepstream, you need to follow their license
For the part I wrote, you can do anything you want