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

How to read image data with multi-class label with function fn.readers.file? #5625

Open
MoonBunnyZZZ opened this issue Sep 6, 2024 · 2 comments
Assignees

Comments

@MoonBunnyZZZ
Copy link

MoonBunnyZZZ commented Sep 6, 2024

I have a multiclass task.Every image has more than one class index.
How to read the data with function fn.readers.file?It seems like that the function only support single label per image.Am I right?

@JanuszL
Copy link
Contributor

JanuszL commented Sep 6, 2024

Hi @MoonBunnyZZZ,

Thank you for reaching out. In your case, the most flexible approach would be to use the external source operator, which allows you to return any number of outputs (images and labels).

@MoonBunnyZZZ
Copy link
Author

MoonBunnyZZZ commented Sep 6, 2024

Hi @MoonBunnyZZZ,

Thank you for reaching out. In your case, the most flexible approach would be to use the external source operator, which allows you to return any number of outputs (images and labels).

@JanuszL Thank you foryour answer.If using th external source operator,the speed may be slow than readers.file function?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants