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)
- 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 3
- 当我试图将一张图片分割之后填入batch再进行推理时报错
- yolov8GPU
- 分享一个arcface trt python代码,亲测可用 HOT 1
- cuda11.8与tensorrt 8.6.1.6不适配?
- What is calib_table_name and input_blob_name? HOT 1
- Set specific Cuda stream ID in Cpp implimentation code. HOT 2
- 多batch推理 HOT 1
- yolov7 and yolov9 HOT 1
- POSE_NUM不等于17*3,等于20*3的话,运行yolov8_pose_trt.py报错,请问是什么问题? HOT 3
- YOLOV8x_p2. wts export YOLOV8x_p2. engine int8 model error
- tsm model different from original HOT 2
- About the use of general-x4v3.pth model in Real-ESRGAN-0.3.0
- 能否推理视频?
- vit分类模型,与pt模型相比精度掉点太大
- wts转化engine模型失败,Load engine file failed: D:/YOLOv8/yolov8_tensorrt-main/weights/yolov8n.engine HOT 2
- 想让TensorRTX对Yolov8-seg生成的模型文件转engine后,支持对多通道(比如6通道)的输入图像的推理,该如何修改? 急需这个功能,可是改了一个星期也没成功。求大神指教。
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.