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

Fix UI issue for image classification #233

Merged
merged 1 commit into from
May 8, 2024

Conversation

Honry
Copy link
Collaborator

@Honry Honry commented May 8, 2024

When switch to NPU and choose model directly, it will throw error as the data type doesn't change correspondingly, fix it by clicking the correct data type if switch to NPU or CPU.

When switch to NPU and choose model directly, it will throw error
as the data type doesn't change correspondingly, fix it by clicking
the correct data type if switch to NPU or CPU.
@Honry
Copy link
Collaborator Author

Honry commented May 8, 2024

@mingmingtasd, @ibelem, PTAL, thanks!

@mingmingtasd
Copy link
Contributor

LGTM, thanks! Good fix!

@Honry Honry merged commit 1802c28 into webmachinelearning:master May 8, 2024
3 checks passed
Honry added a commit to Honry/webnn-samples that referenced this pull request May 15, 2024
When switch to NPU and choose model directly, it will throw error
as the data type doesn't change correspondingly, fix it by clicking
the correct data type if switch to NPU or CPU.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants