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

ImagePayload.cache should support more data type #864

Closed
hepengfe opened this issue Jul 8, 2022 · 2 comments
Closed

ImagePayload.cache should support more data type #864

hepengfe opened this issue Jul 8, 2022 · 2 comments
Assignees
Labels

Comments

@hepengfe
Copy link
Collaborator

hepengfe commented Jul 8, 2022

Describe the bug
Currently ImagePayload.cache is expected to be numpy.Ndarray only, we should support more data types such as some image data objects from PIL library.

Also, note that this library supports lazy loading internally while initializing an image object by PIL.Image.open(image_path)

To Reproduce
Steps to reproduce the behavior:

  1. Prepare data ...
  2. Run command '....'
  3. See error

Expected behavior
We should have a tutorial for a CV task

Screenshots
If applicable, add screenshots to help explain your problem.

Environment (please complete the following information):

  • OS: [e.g. iOS]
  • Version [e.g. 22]
  • Python and Package verions: [e.g. Python version, Pytorch version]

Additional context
Add any other context about the problem here.

@hepengfe hepengfe self-assigned this Jul 8, 2022
@hunterhector
Copy link
Member

We should use the feature request template for this

@hepengfe
Copy link
Collaborator Author

hepengfe commented Jul 8, 2022

#868

@hepengfe hepengfe closed this as completed Jul 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants