Home > other >  Tensorflow2.0.0 error: No module named 'tensorflow. Data'
Tensorflow2.0.0 error: No module named 'tensorflow. Data'

Time:03-12

Error message is as follows:

 
Traceback (the most recent call last) :
The File "D:/Desktop/gpt2 - tf2/test. The py", line 8, the in & lt; module>
The import tensorflow. Data. The Dataset
ModuleNotFoundError: No module named 'tensorflow. Data'



For big solutions, clearly the torch have a Dataset and DataLoader, tf, no? The inside of the tf what can replace Dataloader __getitem__ and __len__ method?
  • Related