Skip to content
This repository has been archived by the owner on Oct 9, 2023. It is now read-only.

ImageClassificationData.from_arrays #151

Closed
aribornstein opened this issue Feb 28, 2021 · 4 comments
Closed

ImageClassificationData.from_arrays #151

aribornstein opened this issue Feb 28, 2021 · 4 comments
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@aribornstein
Copy link
Contributor

🚀 Feature

In addition from data reading from file paths it should be possible to image data and labels from numpy arrays like required in the mnist kaggle challenge. https://www.kaggle.com/c/digit-recognizer

Motivation

Data processing in Flash needs to be improved there are many different ways to ingest data but flash requires data to be in folders for image classification this forces users to do inefficient preprocessing to use flash for basic scenarios. This needs to be improved.

Pitch

Alternatives

Additional context

@aribornstein aribornstein added enhancement New feature or request help wanted Extra attention is needed labels Feb 28, 2021
@stale
Copy link

stale bot commented Apr 30, 2021

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the won't fix This will not be worked on label Apr 30, 2021
@edgarriba
Copy link
Contributor

@aribornstein what would be your ideal api here - something like ?

dm = ImageClassificationData.from_arrays(data: List[np.ndarray], List[int]):
  ...

@stale stale bot removed the won't fix This will not be worked on label May 3, 2021
@ethanwharris
Copy link
Collaborator

Following #256 you should now be able to do ImageClassificationData.from_numpy(train_data: ndarray, train_targets: List[Any], ...)

@aribornstein
Copy link
Contributor Author

Amazing!!!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants