media-smart / cheetahinfer Goto Github PK
View Code? Open in Web Editor NEWA C++ inference SDK based on TensorRT
License: Apache License 2.0
A C++ inference SDK based on TensorRT
License: Apache License 2.0
您好!
我使用volksdep转换pytorch->onnx到float32精度的trt模型,分别使用您提供的python接口和c++接口推理,在确认对模型输入数据相同的情况下,python接口和c++的输出略有不同,其中python接口的输出和pytorch模型的输出完全一致。
python:
'hm': -4.7435, -4.9425, -5.0953...
'wh': 2.9964, 6.2605, 9.4454...
'reg':0.3520, 0.4671, 0.4568...
c++:
f32hm[0]: -4.79173 f32hm[1]: -4.93249 f32hm[2]: -5.12284
f32wh[0]: 3.20822 f32wh[1]: 6.29681 f32wh[2]: 9.39095
f32reg[0]: 0.346569 f32reg[1]: 0.466546 f32reg[2]: 0.455642
不知道您是否遇到过类似情况?可否给我一些建议?
十分感谢!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.