i run find_similar_image.py
The color of the input image in resulting image turns blue
It also affects the similarity image results
Why do you get that result?
This line should be item_df = pd.DataFrame({'image_name':pd.Series(item_list).apply(lambda x: '/'.join(x.split('/')[-2]))})
something like this: item_df = pd.DataFrame({'image_name':pd.Series(item_list).apply(lambda x: '/'.join(x.split('\\')[-2:]))})
Getting an error...
NameError: name 'ImageItemList' is not defined
The directory is 7_Facial_attributes_fastai_opencv and the line...
src = (ImageItemList.from_csv(path, csv_name='labels.csv')
.split_by_valid_func(validation_func)
.label_from_df(cols='tags',label_delim=' '))
When I run your Data_prepration.ipynb everything goes well to the "Label creation" part. After I run those three cells, I get labels.csv -file with these headers "image_name,tags". Otherwise the file is empty. Any ideas why?