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

按照样例倒入生成的.so文件后,显示没有 pytrt这个包

Open OutBreak-hui opened this issue 4 years ago • 2 comments

please descript your problem in English if possible. it will to helpful to more people Describe the bug A clear and concise description of what the bug is.

To Reproduce Steps to reproduce the behavior: 1. 2.

Screenshots If applicable, add screenshots to help explain your problem.

System environment (please complete the following information):

  • Device:
  • OS:
  • Driver version:
  • CUDA version:
  • TensorRT version:
  • Others:

Cmake output

Running output

OutBreak-hui avatar Mar 16 '22 06:03 OutBreak-hui

你好,原来的python api有bug,你能再试一下嘛? 步骤:

cd tiny-tensorrt
git pull
cd build
rm -rf *
cmake .. -DBUILD_PYTHON=ON
make
// after build
python3
>> import sys
>> sys.path.append("./lib")
>> import pytrt
>> trt = pytrt.Trt()

zerollzeng avatar Mar 16 '22 13:03 zerollzeng

c++: 错误:unrecognized command line option ‘-Wfloat-conversion’ 大佬知道这是什么原因吗?make的时候

OutBreak-hui avatar Mar 17 '22 06:03 OutBreak-hui