I ran it with my structure above and it worked on most cells but not all.
When I ran it, it did create the models and tmp directories on the same level as train/valid/test though.
I haven’t investigated the errors, but I got a ValueError on # 2. A few incorrect labels at random plot_val_with_title(rand_by_correct(False), "Incorrectly classified")
@chadst88, I can’t answer that. I don’t know if we actually need anything there for our own images. The sample directory in dogscats has train and valid directories, each with a cats and a dogs directory. There are also a couple of np array files (cached or compiled? idk). Maybe someone else can shed some light on what the sample directory is for. It looked like the video from lesson 1 was about to discuss each directory but then moved on.
Hi,
I had a similar problem, where I downloaded lots of images and wanted to assign labels myself. There wasn’t a good solution for this, so I created my own and open-sourced it.
Maybe you find it useful in any way!
I am a newbie to this forum. So I am putting my request here. Let me explain the scenario.
I am trying to load images using ImageDataBunch.from_folder(), images are loaded for the training set, but for the validation set, I am getting the following error message.
C:…/…Anaconda3\lib\site-packages\fastai\data_block.py:541: UserWarning: You are labelling your items with CategoryList.
Your valid set contained the following unknown labels, the corresponding items have been discarded.
training
if getattr(ds, ‘warn’, False): warn(ds.warn)