Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TypeError: forward() missing 1 required positional argument: 'args' #4

Open
lofyol opened this issue Jul 15, 2021 · 2 comments
Open

Comments

@lofyol
Copy link

lofyol commented Jul 15, 2021

你好,我在用python darknet2onnx.py --cfg ./detector/yolo/cfg/yolov3-spp.cfg --weight ./detector/yolo/data/yolov3-spp.weights
的时候报错了,能不能帮我看下

@zhanghongyong123456
Copy link

你好,我在用python darknet2onnx.py --cfg ./detector/yolo/cfg/yolov3-spp.cfg --weight ./detector/yolo/data/yolov3-spp.weights
的时候报错了,能不能帮我看下
您好,请问您解决了吗,我这里提示是3个参数,这如何解决呢
image

@HW140701
Copy link

你好,我在用python darknet2onnx.py --cfg ./detector/yolo/cfg/yolov3-spp.cfg --weight ./detector/yolo/data/yolov3-spp.weights
的时候报错了,能不能帮我看下
您好,请问您解决了吗,我这里提示是3个参数,这如何解决呢
image

我试了一下,你把darknet2onnx.py中from detector.yolo.darknet import Darknet修改为detector.yolo.darknet_trt import Darknet,就可以了

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants