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

Is it possible to pass 2D numpy arrays as input instead of png/jpg for image classification? #484

Closed
Jim2002 opened this issue Aug 10, 2019 · 4 comments
Labels
duplicate This issue or pull request already exists feature New feature or request

Comments

@Jim2002
Copy link

Jim2002 commented Aug 10, 2019

Is it possible to pass 2D numpy arrays as input instead of png/jpg for image classification?
I have made some 2D numpy arrays (values between 0~1 , black and white, 1 channel) that I would like to train them as images for classification, I was wondering if it's possible to pass the arrays to Ludwig strait away instead of converting all the arrays to png then pass to Ludwig? If yes, how? Thanks for any help.

@w4nderlust
Copy link
Collaborator

Not at the moment. We will likely add a similar option in the future (see other feature requests). For the time being I suggest you to save your numpys and feed the paths where you saved them. You can use a temp dir and delete once done.

@Jim2002
Copy link
Author

Jim2002 commented Aug 11, 2019

Not at the moment. We will likely add a similar option in the future (see other feature requests). For the time being I suggest you to save your numpys and feed the paths where you saved them. You can use a temp dir and delete once done.

Ok thank you very much.

@w4nderlust w4nderlust added the feature New feature or request label Aug 13, 2019
@w4nderlust
Copy link
Collaborator

This is also a duplicate of #268 for most intents and purposes.

@w4nderlust
Copy link
Collaborator

It took a while from the original request, but PR #1174 addresses this issue, closing it, please let us know if this works for you @Jim2002 .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate This issue or pull request already exists feature New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants