We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
如图所示,我尝试将这个模型文件导出onnx文件,实际设置为动态尺寸输入时,会报错:
我检查了NAFNet网络中的check_image_size函数,并增加了打印信息,用于查验:
不知道这个模型,到底要如何导出呢?? ----我个人测试过,如果模型事先设定一张图片的尺寸数据,导出onnx文件后。可以正常调用onnx,对该图片进行 推理,结果也正常。而使用另外一张不同尺寸的图片进行onnx模型推理时,就会报错,提示输入的数据形状不对。。---因此,我才希望导出一个可以支持动态尺寸输入的onnx文件,以便进行正常应用。
The text was updated successfully, but these errors were encountered:
No branches or pull requests
如图所示,我尝试将这个模型文件导出onnx文件,实际设置为动态尺寸输入时,会报错:
我检查了NAFNet网络中的check_image_size函数,并增加了打印信息,用于查验:
不知道这个模型,到底要如何导出呢??
----我个人测试过,如果模型事先设定一张图片的尺寸数据,导出onnx文件后。可以正常调用onnx,对该图片进行 推理,结果也正常。而使用另外一张不同尺寸的图片进行onnx模型推理时,就会报错,提示输入的数据形状不对。。---因此,我才希望导出一个可以支持动态尺寸输入的onnx文件,以便进行正常应用。
The text was updated successfully, but these errors were encountered: