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

cannot resolve operator 'HardSwish' with opsets: ai.onnx v9 [Web] #20704

Open
lymgithub opened this issue May 17, 2024 · 1 comment
Open

cannot resolve operator 'HardSwish' with opsets: ai.onnx v9 [Web] #20704

lymgithub opened this issue May 17, 2024 · 1 comment
Labels
platform:web issues related to ONNX Runtime web; typically submitted using template stale issues that have not been addressed in a while; categorized by a bot

Comments

@lymgithub
Copy link

Describe the issue

我将paddlpaddle 转换为onnx,用onnxruntime可以正常推理,输入的张量是一样的,在js中就报错,我尝试了转换成不同版本的onnx文件,都报这个错

To reproduce

<script src="https://cdn.jsdelivr.net/npm/onnxruntime-web/dist/ort.min.js"></script> <script> const session = await ort.InferenceSession.create('/pp_rec4.onnx',{executionProviders: ['webgl']} ); const dataA = Float32Array.from([……]); const tensorA = new ort.Tensor('float32', dataA, [1,3,48,320]); const feeds = { x: tensorA }; const results = await session.run(feeds); <script> ### Urgency _No response_ ### ONNX Runtime Installation Released Package ### ONNX Runtime Version or Commit ID ONNX Runtime Web v1.17.3 ### Execution Provider 'webgpu' (WebGPU)
@lymgithub lymgithub added the platform:web issues related to ONNX Runtime web; typically submitted using template label May 17, 2024
Copy link
Contributor

This issue has been automatically marked as stale due to inactivity and will be closed in 30 days if no further activity occurs. If further support is needed, please provide an update and/or more details.

@github-actions github-actions bot added the stale issues that have not been addressed in a while; categorized by a bot label Jun 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
platform:web issues related to ONNX Runtime web; typically submitted using template stale issues that have not been addressed in a while; categorized by a bot
Projects
None yet
Development

No branches or pull requests

1 participant