AlphaPose_TRT icon indicating copy to clipboard operation
AlphaPose_TRT copied to clipboard

about run error,TypeError: __init__() takes 2 positional arguments but 3 were given

Open zhanghongyong123456 opened this issue 2 years ago • 2 comments

image

zhanghongyong123456 avatar Aug 05 '21 01:08 zhanghongyong123456

You can change from detector.yolo.darknet import Darknet in darknet2onnx.py to detector.yolo.darknet_trt import Darknet, and it will work.

HW140701 avatar Sep 16 '21 09:09 HW140701

You can change from detector.yolo.darknet import Darknet in darknet2onnx.py to detector.yolo.darknet_trt import Darknet, and it will work. Thank you for your reply. I'll try it on

zhanghongyong123456 avatar Sep 21 '21 07:09 zhanghongyong123456