Section 6 lesson 150 AttributeError on next() call #512
-
Hi @mrdbourke, |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Hi @mrdbourke, |
Beta Was this translation helpful? Give feedback.
-
Hi @mrdbourke, |
Beta Was this translation helpful? Give feedback.
-
Hi @mrdbourke, |
Beta Was this translation helpful? Give feedback.
Hi @mrdbourke,
I think I fixed the problem, but I do have a question for you. I guess I should have picked up on that "Open" key word which was in that custom class we defined:
class ImageFolderCustom(Dataset):
. In that, what was happening, was I accidentally capitalized "open" and when I ran a search for "Open" I found it, so that was my issue!However, the only thing that was sort of odd about it, was I reran that cell with the class definition, and when I did, and went back to the problem cell at the bottom, I still couldn't get things to run without that error. I had to run all of the code again, before I was able to get that last cell to work. Any idea of why that was? Is there some …