gsxab / YolactDeploymentORTCpp

Deploy YOLACT++ with onnxruntime and C++ API
The Unlicense
14 stars 5 forks source link

yolact ort postprocessing #4

Open jhpark0307 opened 1 year ago

jhpark0307 commented 1 year ago

Thanks for your code. I'm decoding yolact output. I would like to know what "yolact/priors_plus.dat" of your code is for. I also wonder if this is a necessary file for decoding.

gsxab commented 1 year ago

Sorry that it has been such a long time that I may not remember details very well and correctly. priors are parameters related to anchor box positions and sizes. In the train set, anchor boxes with different positions, size and aspect ratios, are scaled the same. The model itself just gives confidences for every anchor box, with normalized center positions and sizes. Thus, in the decoding process, anchor box parameters are necessary to decode the output boxes out of normalized ones.