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

Update Dataset type to support multilabel datasets #578

Open
PatrickLaflamme opened this issue Nov 10, 2023 · 1 comment
Open

Update Dataset type to support multilabel datasets #578

PatrickLaflamme opened this issue Nov 10, 2023 · 1 comment

Comments

@PatrickLaflamme
Copy link

Currently, the Dataset abstract class only supports single-class datasets. This is because of the getY method defined here:

https://github.com/Kotlin/kotlindl/blob/master/dataset/src/jvmMain/kotlin/org/jetbrains/kotlinx/dl/dataset/Dataset.kt#L23

which only returns a single Float per index, instead of a FloatData.

@zaleslaw
Copy link
Collaborator

@PatrickLaflamme Could you give a case when it could be useful for KotlinDL? Did you try to do some cases?

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

2 participants