educative.io

'BatchDataset' object has no attribute 'make_one_shot_iterator'

I got the following error when trying to run the code in the Dataset Iteration module. It seems the method went away with TF 1. What would be the workaround in TF2?


Type your question above this line.

Course: https://www.educative.io/collection/6083138522447872/6598392304107520
Lesson: https://www.educative.io/collection/page/6083138522447872/6598392304107520/6533524981022720

Hi @Ovo_Okpubuluku, thanks for reaching out.
All the codes are running fine, kindly refresh the *code widget and start with the default code.

1 Like