huyhoang17 / DB_text_minimal

[WIP] A Pytorch implementation of DB-Text - Real-time Scene Text Detection with Differentiable Binarization

Home Page:https://arxiv.org/abs/1911.08947

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

save_trt.py

eyebies opened this issue · comments

Thanks for sharing the code !Would it be possible to upload the save_trt file as well ?
thanks!

Hi @eyebies ,
Currently, I don't have this script anymore. But you can convert this DB model to TensorRT format by using trtexec

Note, if used F.interpolate function, you must change the mode to "bilinear" instead of the current default mode "nearest" to avoid wrong output mask from Trt model (even though the model converts successfully)!