Replies: 2 comments
-
|
Beta Was this translation helpful? Give feedback.
0 replies
-
Hi thanks for your reply, there is another error that comes up, something
deep in tensorflow, I'll look into it further.
…On Mon, Feb 6, 2023, 15:32 Marvin ***@***.***> wrote:
create_dataset() only uses the as_dataset() function of TFDS's
DatasetBuilder. You could try something like:
class DatasetBuilder:
def as_dataset(self, split, shuffle_files, read_config, decoders):
return tf.data.Dataset.from_tensor_slices((np.ones((200, 32, 32, 1)), np.ones((200, 1))))
—
Reply to this email directly, view it on GitHub
<#2851 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ALI5PXDCAKBYRWCDH5CGCPTWWEDPDANCNFSM6AAAAAAUSVBLRQ>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Is there a way to do essentially
with something like
instead of the
dataset_builder
in the first code block?I would like multi-device deterministic dataloading from a
from_tensor_slices
tensorflow dataset, has anyone got something like this working? CheersBeta Was this translation helpful? Give feedback.
All reactions