-
Notifications
You must be signed in to change notification settings - Fork 118
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
Moving dataset utils implementation to Keras Core specifically [split_dataset] #503
Comments
Yes, looks good to me for now. I'm tackling the |
@suvadityamuk Let's change only split_dataset in this Issue will raise subsequent for rest of function changes also here is the PR. I have only added changes yet. |
Hi, @asingh9530. I'd have appreciated it if you indicated beforehand that you were working on the Please feel free to take this issue ahead and complete the task, happy to advise on anything you think I can help with. Thank you for your contribution. |
Hi @suvadityamuk, sorry for any miscommunication, since this was a big change my Intention was for us to work together on this that's why I raised a specific issue for this function change, but if you have already worked on it then I am happy to close my PR and you can take it forward. 😊 |
There is no need for that, I think your PR is already under review, so it's best to go ahead and complete it. |
@suvadityamuk Sure and apologies for any miscommunication I'll raise a different issue for other components of data_utils and will tag you there. 😊 |
Hi,
This issue is for tracking to move dataset utils implementation from
tf.data.utils
tokeras-core
implementation become framework agnostic. These are following needed to be change/added.@suvadityamuk Please add if I had left anything.
@fchollet This is for tracking moving logic for [split_dataset].
keras
data-utils from here making sure all the settings stay's intact.tf.Dataset
and we need to supporttorch
andJax
.split_dataset
to accepttorch
andJax
inputs._convert_dataset_to_list
to converttorch
andJax
inputs to list._get_data_iterator_from_dataset
this might not be entirely trivial since it handles iterator based ontf.Dataset
._get_next_sample
again need to rewrite iterator in this too but this might remain same if we make sure iterator we built in_get_data_iterator_from_dataset
is python iterator._get_type_spec
add condition to accept torch and Jax._get_next_sample
since need it currently accept tf.tensor need to add support to get torch tensor and Jax or keras-core tensor._rescale_dataset_split_sizes
This might not require any change but need to test it out._restore_dataset_from_list
This might not be entirely trivial as it recovers from tf.Dataset.The text was updated successfully, but these errors were encountered: