Open riibeirogabriel opened 3 years ago
This is an issue with tensorflow, not TFDS. tf.Tensor and tf.data.Dataset object may not be pickable. I don't think this could be solved easily.
@Conchylicultor You know if i can serialize using a tensorflow method? i read about the save()
method, but i need a method that converts this object to a binary without write on disk.
What I need help with / What I was wondering I have tried serialize the
response
object from this code:But when i use the
pickle.dump
method to convert this dict to a binary file this exception is throwed:tensorflow.python.framework.errors_impl.InternalError: Tensorflow type 21 not convertible to numpy dtype.
Can someone help me?
Environment information (if applicable)
tensorflow-datasets
/tfds-nightly
version: stable