Comments (3)
When I change some code, it's working:
from:
result_boxes, result_scores, result_classid = self.post_process(
output[i * 6001: (i + 1) * 6001], batch_origin_h[i], batch_origin_w[i]
)
to :
LEN_ALL_RESULT = 38001
result_boxes, result_scores, result_classid = self.post_process(
output[i * LEN_ALL_RESULT: (i + 1) * LEN_ALL_RESULT], batch_origin_h[i], batch_origin_w[i]
)
And
from
pred = np.reshape(output[1:], (-1, 6))[:num, :]
to
pred = np.reshape(output[1:], (-1, 38))[:num, :]
Is that right ?
from tensorrtx.
@HouLingLXH 最近支持了yolov8-seg,所以输出tensor尺寸变了,应该是这个问题,帮忙提个PR吧
from tensorrtx.
The issue has been fixed on the master branch.
from tensorrtx.
Related Issues (20)
- 博主你好,这个能部署到windows上面了吗 HOT 7
- win10 compile yolov8 happen:yololayer.cu(262): error : expression must have a constant value HOT 12
- 不使用cmake搭建环境 HOT 22
- yolov8-seg, output error HOT 18
- YOLOV8 Assertion `serialized_engine' failed. 使用自己的.pt 生成 .wts 是成功的,但转.engine 是报错。chat说是卷积层权重数量不匹配 HOT 6
- Unable to build engine file for Yolov7 Custom model HOT 1
- How to use file yolov8_det_trt.py to check one's own model HOT 1
- yolov5-7.0,about anchor HOT 2
- 可以使用onnx模型转换为tensorrt模型,再进行推理吗 HOT 3
- the command : ./yolov5_det -s yolov5s.wts yolov5s.engine s, error!!! HOT 2
- widonws下yolov8模型生成wts转engine文件报错 HOT 2
- ubuntu下yolov5_v5.0的.wts转.engine失败 HOT 1
- 自己数据集训练的yolov9模型tensorrt的输出结果与pytorch结果差别很大,精度完全没有对齐 HOT 10
- 虽然最终得到了engine模型,但是报了这个错误,我是否应该忽视 HOT 1
- yolov8 TRT问题 HOT 4
- There is an error in the reasoning process of yolov8
- Yolov5 v6.0 inference with FP16 HOT 1
- 关于yolov8静态库的问题:[E] [TRT] 3: getPluginCreator could not find plugin: YoloLayer_TRT version: 1 HOT 2
- Yolov8-pose gpu后处理【催更】 HOT 2
- yolov8cls 输出 HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tensorrtx.