HI everyone,
I am trying to implement Lesson1’s ideas on the Kaggle Digit Recognizer Competition. I have gotten to the point of getting the data ready to be fed into an ImageDataBunch object using from_folder. However, I keep getting this error that I am not sure what is going on?
TypeError: argument of type 'PosixPath' is not iterable
@sinsji So I have been working on this since yesterday and I think I figured out why. It seems the PosixPath wasn’t been iterated by ImageDataBunch. I changed the path created by pathlib library which was an PosixPath object to just a string which specified the path to the training and testing directories and it worked. I will run the final kernel tomorrow and will share the result here!!