unet-tensorrt icon indicating copy to clipboard operation
unet-tensorrt copied to clipboard

Can use python?

Open missbook520 opened this issue 3 years ago • 5 comments

Thank you very much for your work, can I use python to call it?

missbook520 avatar May 08 '21 06:05 missbook520

Yes, you need to compile code to a library (.so file) and use pybind11 to call the function. Maybe I will add plugin in the future if I have time :)

YuzhouPeng avatar May 08 '21 06:05 YuzhouPeng

Thank you very much for your reply. I followed your steps when compiling this project on jeston nano, but the following error was reported when using unet -s. What is the problem? My CUDA version is 10.2, tensorrt version is 7.1.3-1, thank you very much 38b6ea7cd23228a846a9a65a60f089b

missbook520 avatar May 08 '21 12:05 missbook520

你有使用链接里的pytorch unet训练权重吗?我看了下好像weights翻倍了

YuzhouPeng avatar May 09 '21 11:05 YuzhouPeng

如果训练按照步骤来的话,可能是factor的问题,我抽时间fix下把

YuzhouPeng avatar May 09 '21 11:05 YuzhouPeng

https://github.com/wang-xinyu/tensorrtx/tree/master/unet please use newest repo for testing, this old repo is no longer maintained

YuzhouPeng avatar Jul 24 '24 03:07 YuzhouPeng