DaChao_Xu

Results 32 comments of DaChao_Xu

the same error

@hufangjian try python darknet2caffe.py cfg/yolov4.cfg weights/yolov4.weights prototxt/yolov4.prototxt caffemodel/yolov4.caffemodel

@hufangjian python2.7 it works

yolov4-csp convert onnx is support? Me really looking forward!

@linghu8812 Hello ,I use https://github.com/CaoWGG/TensorRT-YOLOv4, the box is wrong, it seems the diffenence is yolo layer convert need add function of sigmoid?

@linghu8812 something wrong Traceback (most recent call last): File "/home/xc/xc/code/obj/YOLO/scaleyolov4-onnx/tensorrt_inference/Yolov4/export_onnx.py", line 1114, in neck=args.neck, sigmoid=args.sigmoid) File "/home/xc/xc/code/obj/YOLO/scaleyolov4-onnx/tensorrt_inference/Yolov4/export_onnx.py", line 1096, in main onnx.checker.check_model(yolo_model_def) File "/home/xc/xc/softwares/anaconda3/lib/python3.6/site-packages/onnx/checker.py", line 93, in check_model C.check_model(model.SerializeToString()) onnx.onnx_cpp2py_export.checker.ValidationError:...

> @linghu8812 something wrong > Traceback (most recent call last): > File "/home/xc/xc/code/obj/YOLO/scaleyolov4-onnx/tensorrt_inference/Yolov4/export_onnx.py", line 1114, in > neck=args.neck, sigmoid=args.sigmoid) > File "/home/xc/xc/code/obj/YOLO/scaleyolov4-onnx/tensorrt_inference/Yolov4/export_onnx.py", line 1096, in main > onnx.checker.check_model(yolo_model_def) > File...

i changed the compute way, it works! // x1,y1,x2,y2,cls,conf,batch_id //data[0] = (row + sigmoid(input[begin_id])) * down_stride; //data[1] = (col + sigmoid(input[begin_id+stride])) * down_stride; //data[2] = expf(input[begin_id+2*stride]) * (float)shared_anchors[2 * anchor_id];...

> @DaChaoXc 想问一下你这个是量化后的结果还是没有量化的结果呀? 没有量化,是float32