赞
踩
x = preprocess(img_path) # 导出ONNX模型 torch.onnx.export( model=model, args=x, f="model.onnx", input_names=["input"], output_names=["output"], dynamic_axes={ "input": {0: "batch_size", 2: "height", 3: "width"}, "output": {0: "batch_size"} } )
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。