Skip to content

[feature request] Allow passing in image reading/loading function to old-style datasets constructors #4991

Closed
@vadimkantorov

Description

@vadimkantorov

🚀 The feature

This makes more sense now that torchvision is compiled with its own image reading functions (read_image), so easier way to test pipelines without PIL would be nice

In addition, this would allow easy stubbing out image loading when wanted and solving #4975

Motivation, pitch

N/A

Alternatives

No response

Additional context

No response

cc @pmeier

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions