-
Notifications
You must be signed in to change notification settings - Fork 35
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
Investigate how to decode images into tensors #13
Comments
The initial framework is being set up by #48. In the long run we can create a lib file to contain the image_to_tensor function, which can then be imported by Rust and AssemblyScript apps that use wasi-nn. |
An issue we ran into with Rune is that there are multiple layouts for an image depending on the way it is intended to be used and data locality. For example, we've found that TensorFlow models prefer tend to prefer images to be |
@Michael-F-Bryan so this means that we may need to have multiple image to tensor implementation, depending on what underlying framework is used? |
Yep, so you might have a |
@geekbeast, commenting here to keep related topics in this issue: @brianjjones is actively working on this issue (#70, #72, #73) and I'm sure would be happy to discuss any parts that aren't done yet. The crate is up, @brianjjones, what else do you think is needed before closing this issue? |
For ease-of-use, users will likely want to decode images online rather than offline like we do currently with the openvino-tensor-converter tool. Here are some possible libraries to investigate:
The text was updated successfully, but these errors were encountered: