NTUYWANG103 / APEX_AIMBOT

This is a YOLOV7 based APEX and CSGO Aimbot
GNU General Public License v3.0
583 stars 99 forks source link

为什么使用项目自带的best_apex.onnx训练trt不会报错,自己训练的权重onnx会报错呢 #61

Closed qhs388 closed 1 year ago

qhs388 commented 1 year ago

为什么使用项目自带的best_apex.onnx训练trt不会报错,但用自己训练的权重onnx训练出来的trt,参数nums, boxes, confidences, classes对不上,少参数,报错

modu82 commented 1 year ago

I have encountered the same problem, have you solved it

xiazaipw commented 1 year ago

hi bro did you solve it? I also encountered this problem.

PlutoNameless commented 1 year ago

Please ensure that the ONNX you are using is compatible with the YOLOv7 version.

xiazaipw commented 1 year ago

I am using the latest version, can you tell me what version you are using?

PlutoNameless commented 1 year ago

I am using the latest version, can you tell me what version you are using?

I'm not quite sure what you mean by the latest version, if you are using dead yolov7, it should correspond to this project: https://github.com/WongKinYiu/yolov7; if you are using some other version of yolo, you may need to modify the code to re-adapt it.

xiazaipw commented 1 year ago

I am using this version, can you tell me how to disable encryption? Thanks.

xiazaipw commented 1 year ago

I'll give it a try, but I can't find this file, utils/netLoginUnit.py

PlutoNameless commented 1 year ago

To correct the error earlier, in the InferenceEngine.py file

xiazaipw commented 1 year ago

Sorry, I didn't quite get it, but thanks for the, answer.