Open yashrathi-git opened 1 year ago
You are doing it right. It's just that the datasets are like Schrödinger's cat, you never know if they are going to be alive and working or not when you need them. And this has been the issue for years now.
Edit: I just looked into your code. You are using it wrong.
Here is the correct usage:
next(iter(train_data))
This will create an iterable. Although it still won't work because as I said, something is wrong with the datasets.
❓ Questions and Help
Description I did this:
But looking at the docs here, it should be iterable. I also tried using
.__iter__
.