Reputation: 11
test_ds.save(path)
I want to save the tf.data.Dataset,but get the message "AttributeError: type object 'DatasetV2' has no attribute 'save'"
Upvotes: 0
Views: 616
Reputation: 11
refer to this answer: How to Save a Tensorflow Dataset
found out tf version is 2.8.0 in the runtime environment,using tf.data.experimental.save
works.
Upvotes: 0
Reputation: 11
using test_ds.save(path)
I got new problem,"AttributeError: 'TensorSliceDataset' object has no attribute 'save'"
Upvotes: -1