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
X2Paddle/x2paddle/convert.py
Lines 105 to 109 in d823b87
此处 enable_onnx_checker 没有指定类型,在命令行中传入时,默认是 str 类型,即使设置 --enable_onnx_check=False, 最后得到的参数值不是 bool 类型的 False,而是字符串类型的 'False',在进行 if 判断时会进入执行 check 的分支:
X2Paddle/x2paddle/decoder/onnx_decoder.py
Lines 404 to 405 in d823b87
其余一些类似的参数也有类似的问题,但有些为默认 False 所以不会出现上述问题
The text was updated successfully, but these errors were encountered:
No branches or pull requests
X2Paddle/x2paddle/convert.py
Lines 105 to 109 in d823b87
此处 enable_onnx_checker 没有指定类型,在命令行中传入时,默认是 str 类型,即使设置 --enable_onnx_check=False, 最后得到的参数值不是 bool 类型的 False,而是字符串类型的 'False',在进行 if 判断时会进入执行 check 的分支:
X2Paddle/x2paddle/decoder/onnx_decoder.py
Lines 404 to 405 in d823b87
其余一些类似的参数也有类似的问题,但有些为默认 False 所以不会出现上述问题
The text was updated successfully, but these errors were encountered: