I am trying to load data for both training set and validation set. Training set data loads without any isues, but validation does not load and has some issues, i have given below the code and 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)
my cnn network ran epochs and did wrong prediction. Now i am able to figure out what’s going on but i could not find the solutions.
It looks like my validation dataset is not labelled when i import the data using ImageDataBunch() and the error message is given below.
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.
No_findings
if getattr(ds, ‘warn’, False): warn(ds.warn)