/TrtMatrix

A demo project based on TensorRT.

Primary LanguageC++MIT LicenseMIT

TrtMatrix

TrtMatrix是一个基于TensorRT的Demo项目,其中包含了TrtTransformerTrtExecutor两个子项目工程。

依赖TensorRT 7.x。

TrtTransformer

这是一个支持将其它深度学习框架模型转换为TensorRT模型的工具。当前支持ONNX模型。

TrtExecutor

执行TensorRT模型推理任务,main.cpp当前实现了一个音频降噪任务处理,原始模型来自于microsoft/DNS-Challenge,基于DNS-Challenge/NSNet-baseline下模型与前后处理Python代码移植。

ThirdParty/SubModule

本项目依赖以下第三方工程,以Git Submodule形式引入。第三方项目工程遵守其原始开源分发协议。

  • AudioFFT。用于计算Real FFT相关。
  • libsndfile。用于读写wav音频文件。
  • NumCppNumPy部分函数的cpp实现库,用于快速移植。

License

MIT license

Copyright (c) 2020 Mematrix

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files(the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.