zhaojinxi commented on pull request #9884: URL: https://github.com/apache/tvm/pull/9884#issuecomment-1008755169
@masahi I just use the **yolov5 of official implementation** https://github.com/ultralytics/yolov5/issues/251, with the command: "python export.py --weights yolov5s.pt --img 640 --include torchscript". Then i get a torchscript model. compile this model: shape_dict = {'images': [1,3,640,640]} model_onnx = onnx.load('yolov5s.onnx') mod, params = relay.frontend.from_onnx(model_onnx, shape_dict) then will get a error: Check failed: (!checked_type.defined()) is false: Expected Array[RelayExpr], but got Array[index 1: Array] -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
