Im trying to use TPU in google colab so after doing some preprocess in numpy format im trying to convert into tensorflow format by using
train_setx = tf.data.Dataset.from_tensor_slices(trainx)
which has 90k images of size 225*225*1. if i try to run this code im getting this error
RuntimeError: Failed to serialize message`
but if i convert another dataset of 10k images it worked and i saw in github that its because of large dataset. is it so? then how to convert my dataset which has 90k image?