Comments (8)
@Hidayat722 What's the input shape are you using? the input H and W should be divisible by 32.
from tensorrtx.
@Hidayat722 Did you adapt the CLASS_NUM
defined in yololayer.h?
from tensorrtx.
Yeah i did it but still having problems. Anyhow when i use yolov3-spp.cfg it works which is fine i can use this configuration for training. Anyhow my main concern is that i want to use this engine file with deepstream but i am unable to use it. Since the infer function is different with nvdsparsecustomyolov3 custom function in deepstream, Any solution or suggestion would be appreciated.
Thanks in advance.
from tensorrtx.
@Hidayat722 I never used deepstream, so not able to help you with it.
For yolov3-spp-1cls, you should adapt several layers, including conv88, conv100 and conv112, change their output channels to 18. Can you try it?
from tensorrtx.
Well i have instead used the yolov3-spp.cfg for training since it converts to engine file but i am struggline with deepstream thanks for your help
from tensorrtx.
Hi @wang-xinyu i tried for the single class as you mentioned above but i am getting error with concatenation
len 1024
91
len 256
94
len 256
95
len 512
96
len 256
97
len 512
98
len 256
99
len 512
103
len 128
ERROR: (Unnamed Layer* 209) [Concatenation]: all concat input tensors must have the same dimensions except on the concatenation axis (0), but dimensions mismatched at input 1 at index 1. Input 0 shape: [256,34,160], Input 1 shape: [512,33,160]
106
len 128
107
len 256
108
len 128
109
len 256
110
len 128
111
len 256
set name out
ERROR: (Unnamed Layer* 209) [Concatenation]: all concat input tensors must have the same dimensions except on the concatenation axis (0), but dimensions mismatched at input 1 at index 1. Input 0 shape: [256,34,160], Input 1 shape: [512,33,160]
build out
Thanks
from tensorrtx.
Hi @wang-xinyu I also tried the new version where the outputs have been changed to 3 * (Yolo::CLASS_NUM + 5) but still i am getting the same error for yolov3-spp-1cls.cfg. Any help would be appreciated.
Thanks.
from tensorrtx.
@wang-xinyu Thanks alot the trick worked for me
from tensorrtx.
Related Issues (20)
- Yolov8 想将激活函数修改为relu,但是发现代码写死了,yolov5使用的auto更具有通用性 HOT 1
- yolov5 nms支持CUDA加速 HOT 5
- ImportError: libnvinfer.so.8: cannot open shared object file: No such file or directory HOT 3
- cmake error HOT 1
- The recently updated YOLOv8-Pose does not come with dedicated code for converting to the .wts format. HOT 2
- yolov8-pose似乎 不支持自己训练的模型 HOT 7
- kernel weights has count 2688 but 32640 was expected HOT 1
- yolov5编译问题 HOT 2
- yolov5s.pt微调后在生成.wts报错,改了数据类别,但类别总数不变。麻烦大大帮忙看看~谢谢!!new.pt是我微调后的模型 HOT 1
- ModuleNotFoundError: No module named 'utils.torch_utils' HOT 2
- 博主你好,这个能部署到windows上面了吗 HOT 6
- win10 compile yolov8 happen:yololayer.cu(262): error : expression must have a constant value HOT 12
- 不使用cmake搭建环境 HOT 21
- yolov8-seg, output error HOT 18
- YOLOV8 Assertion `serialized_engine' failed. 使用自己的.pt 生成 .wts 是成功的,但转.engine 是报错。chat说是卷积层权重数量不匹配 HOT 5
- 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 2
- the command : ./yolov5_det -s yolov5s.wts yolov5s.engine s, error!!! 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.