Comments (18)
已经提交修复
from tensorrtx.
@lindsayshuo pls advice
from tensorrtx.
Env
- GPU, RTX3060
- OS, Ubuntu 20.04.4 LTS
- Cuda version,12.2
- TensorRT version, 8.2.5.1
About this repo
- which branch/tag/commit are you using?
master- which model?
yolov8-segYour problem
warm_up->(640, 640, 3), time->4.74ms
warm_up->(640, 640, 3), time->3.88ms
yolov8_seg_trt.py:401: RuntimeWarning: overflow encountered in exp
return 1 / (1 + np.exp(-x))
result_boxes[j]:[ 0. 0. 1391.6953 713.90625]
result_classid[j]:399.013671875
Exception in thread Thread-21:
Traceback (most recent call last):
File "/usr/lib/python3.8/threading.py", line 932, in _bootstrap_inner
self.run()
File "yolov8_seg_trt.py", line 483, in run
batch_image_raw, use_time = self.yolov8_wrapper.infer(self.yolov8_wrapper.get_raw_image(self.image_path_batch))
File "yolov8_seg_trt.py", line 201, in infer
categories[int(result_classid[j])], result_scores[j]
IndexError: list index out of range
- what is your command?
python3 yolov8_seg_trt.py- what's your output?
- what output do you expect?
box and mask
是不是官方模型,我看是索引超了
from tensorrtx.
Env
- GPU, RTX3060
- OS, Ubuntu 20.04.4 LTS
- Cuda version,12.2
- TensorRT version, 8.2.5.1
About this repo
- which branch/tag/commit are you using?
master- which model?
yolov8-segYour problem
warm_up->(640, 640, 3), time->4.74ms
warm_up->(640, 640, 3), time->3.88ms
yolov8_seg_trt.py:401: RuntimeWarning: overflow encountered in exp
return 1 / (1 + np.exp(-x))
result_boxes[j]:[ 0. 0. 1391.6953 713.90625]
result_classid[j]:399.013671875
Exception in thread Thread-21:
Traceback (most recent call last):
File "/usr/lib/python3.8/threading.py", line 932, in _bootstrap_inner
self.run()
File "yolov8_seg_trt.py", line 483, in run
batch_image_raw, use_time = self.yolov8_wrapper.infer(self.yolov8_wrapper.get_raw_image(self.image_path_batch))
File "yolov8_seg_trt.py", line 201, in infer
categories[int(result_classid[j])], result_scores[j]
IndexError: list index out of range
- what is your command?
python3 yolov8_seg_trt.py- what's your output?
- what output do you expect?
box and mask是不是官方模型,我看是索引超了
不是,custom dataset, yolov8 训练的自定义模型,3类
class_id 输出是比较大浮点数
from tensorrtx.
Env
- GPU, RTX3060
- OS, Ubuntu 20.04.4 LTS
- Cuda version,12.2
- TensorRT version, 8.2.5.1
About this repo
- which branch/tag/commit are you using?
master- which model?
yolov8-segYour problem
warm_up->(640, 640, 3), time->4.74ms
warm_up->(640, 640, 3), time->3.88ms
yolov8_seg_trt.py:401: RuntimeWarning: overflow encountered in exp
return 1 / (1 + np.exp(-x))
result_boxes[j]:[ 0. 0. 1391.6953 713.90625]
result_classid[j]:399.013671875
Exception in thread Thread-21:
Traceback (most recent call last):
File "/usr/lib/python3.8/threading.py", line 932, in _bootstrap_inner
self.run()
File "yolov8_seg_trt.py", line 483, in run
batch_image_raw, use_time = self.yolov8_wrapper.infer(self.yolov8_wrapper.get_raw_image(self.image_path_batch))
File "yolov8_seg_trt.py", line 201, in infer
categories[int(result_classid[j])], result_scores[j]
IndexError: list index out of range
- what is your command?
python3 yolov8_seg_trt.py- what's your output?
- what output do you expect?
box and mask是不是官方模型,我看是索引超了
不是,custom dataset, yolov8 训练的自定义模型,3类
是用最新代码的wts导出的吗
from tensorrtx.
Env
- GPU, RTX3060
- OS, Ubuntu 20.04.4 LTS
- Cuda version,12.2
- TensorRT version, 8.2.5.1
About this repo
- which branch/tag/commit are you using?
master- which model?
yolov8-segYour problem
warm_up->(640, 640, 3), time->4.74ms
warm_up->(640, 640, 3), time->3.88ms
yolov8_seg_trt.py:401: RuntimeWarning: overflow encountered in exp
return 1 / (1 + np.exp(-x))
result_boxes[j]:[ 0. 0. 1391.6953 713.90625]
result_classid[j]:399.013671875
Exception in thread Thread-21:
Traceback (most recent call last):
File "/usr/lib/python3.8/threading.py", line 932, in _bootstrap_inner
self.run()
File "yolov8_seg_trt.py", line 483, in run
batch_image_raw, use_time = self.yolov8_wrapper.infer(self.yolov8_wrapper.get_raw_image(self.image_path_batch))
File "yolov8_seg_trt.py", line 201, in infer
categories[int(result_classid[j])], result_scores[j]
IndexError: list index out of range
- what is your command?
python3 yolov8_seg_trt.py- what's your output?
- what output do you expect?
box and mask是不是官方模型,我看是索引超了
不是,custom dataset, yolov8 训练的自定义模型,3类
是用最新代码的wts导出的吗
是的,master, 刚pull的
from tensorrtx.
Env
- GPU, RTX3060
- OS, Ubuntu 20.04.4 LTS
- Cuda version,12.2
- TensorRT version, 8.2.5.1
About this repo
- which branch/tag/commit are you using?
master- which model?
yolov8-segYour problem
warm_up->(640, 640, 3), time->4.74ms
warm_up->(640, 640, 3), time->3.88ms
yolov8_seg_trt.py:401: RuntimeWarning: overflow encountered in exp
return 1 / (1 + np.exp(-x))
result_boxes[j]:[ 0. 0. 1391.6953 713.90625]
result_classid[j]:399.013671875
Exception in thread Thread-21:
Traceback (most recent call last):
File "/usr/lib/python3.8/threading.py", line 932, in _bootstrap_inner
self.run()
File "yolov8_seg_trt.py", line 483, in run
batch_image_raw, use_time = self.yolov8_wrapper.infer(self.yolov8_wrapper.get_raw_image(self.image_path_batch))
File "yolov8_seg_trt.py", line 201, in infer
categories[int(result_classid[j])], result_scores[j]
IndexError: list index out of range
- what is your command?
python3 yolov8_seg_trt.py- what's your output?
- what output do you expect?
box and mask是不是官方模型,我看是索引超了
不是,custom dataset, yolov8 训练的自定义模型,3类
是用最新代码的wts导出的吗
是的,master, 刚pull的
你用c++试了吗
from tensorrtx.
Env
- GPU, RTX3060
- OS, Ubuntu 20.04.4 LTS
- Cuda version,12.2
- TensorRT version, 8.2.5.1
About this repo
- which branch/tag/commit are you using?
master- which model?
yolov8-segYour problem
warm_up->(640, 640, 3), time->4.74ms
warm_up->(640, 640, 3), time->3.88ms
yolov8_seg_trt.py:401: RuntimeWarning: overflow encountered in exp
return 1 / (1 + np.exp(-x))
result_boxes[j]:[ 0. 0. 1391.6953 713.90625]
result_classid[j]:399.013671875
Exception in thread Thread-21:
Traceback (most recent call last):
File "/usr/lib/python3.8/threading.py", line 932, in _bootstrap_inner
self.run()
File "yolov8_seg_trt.py", line 483, in run
batch_image_raw, use_time = self.yolov8_wrapper.infer(self.yolov8_wrapper.get_raw_image(self.image_path_batch))
File "yolov8_seg_trt.py", line 201, in infer
categories[int(result_classid[j])], result_scores[j]
IndexError: list index out of range
- what is your command?
python3 yolov8_seg_trt.py- what's your output?
- what output do you expect?
box and mask是不是官方模型,我看是索引超了
不是,custom dataset, yolov8 训练的自定义模型,3类
是用最新代码的wts导出的吗
是的,master, 刚pull的
你用c++试了吗
没有,只用了python
from tensorrtx.
Env
- GPU, RTX3060
- OS, Ubuntu 20.04.4 LTS
- Cuda version,12.2
- TensorRT version, 8.2.5.1
About this repo
- which branch/tag/commit are you using?
master- which model?
yolov8-segYour problem
warm_up->(640, 640, 3), time->4.74ms
warm_up->(640, 640, 3), time->3.88ms
yolov8_seg_trt.py:401: RuntimeWarning: overflow encountered in exp
return 1 / (1 + np.exp(-x))
result_boxes[j]:[ 0. 0. 1391.6953 713.90625]
result_classid[j]:399.013671875
Exception in thread Thread-21:
Traceback (most recent call last):
File "/usr/lib/python3.8/threading.py", line 932, in _bootstrap_inner
self.run()
File "yolov8_seg_trt.py", line 483, in run
batch_image_raw, use_time = self.yolov8_wrapper.infer(self.yolov8_wrapper.get_raw_image(self.image_path_batch))
File "yolov8_seg_trt.py", line 201, in infer
categories[int(result_classid[j])], result_scores[j]
IndexError: list index out of range
- what is your command?
python3 yolov8_seg_trt.py- what's your output?
- what output do you expect?
box and mask是不是官方模型,我看是索引超了
不是,custom dataset, yolov8 训练的自定义模型,3类
是用最新代码的wts导出的吗
是的,master, 刚pull的
你用c++试了吗
没有,只用了python
可以把j打出来看看
from tensorrtx.
from tensorrtx.
output[i * 38001: (i + 1) * 38001] 看看这个是不是空
from tensorrtx.
@lindsayshuo
不为空
from tensorrtx.
@lindsayshuo 不为空
result_boxes, result_scores, result_classid,result_proto_coef 这几个打印下
from tensorrtx.
from tensorrtx.
打印int(result_classid[j])]这个呢
from tensorrtx.
@lindsayshuo
model有3类,值应该为 <3
from tensorrtx.
from tensorrtx.
from tensorrtx.
Related Issues (20)
- 可以使用onnx模型转换为tensorrt模型,再进行推理吗 HOT 2
- 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 1
- Yolov8-pose gpu后处理【催更】 HOT 1
- yolov8cls 输出 HOT 1
- Yolov8 creating wts fails for newly trained models. HOT 3
- yolov8n-seg模型的int8转化报错 HOT 3
- Yolov8 segmentation mask are not good, no mask found in some bounding boxes. HOT 4
- Platform for converting to .wts file HOT 1
- Convert single class .pt custom model to .wts model error HOT 2
- TensorRT10.2.0.19生成.engine报错 HOT 2
- 当我试图将一张图片分割之后填入batch再进行推理时报错
- yolov8GPU
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.