All Questions
5 questions
0
votes
0
answers
135
views
KeyError: '0' using flow_from_dataframe [duplicate]
I am performing multi-label classification. I am trying to create a data generator using Keras.
I am directly opening the csv file using read_csv and using it for my dataframe(below).
My dataset ...
1
vote
1
answer
1k
views
Keras ImageGenerator : IndexError: list index out of range
I loaded the data from kaggle kernel to my machine for reprodicing, now the code is not working, but works on the keras on same python environment.
Here is the code and the bug.
def ...
1
vote
0
answers
874
views
keras.preprocessing.image imagedatagenerator flow from dataframe read error
I am using python3 with conda, and using keras.preprocessing.image.imagedatagenerator to read images from directory by a dataframe.
I am using the following code:
data = pd.read_csv("/home/user/...
0
votes
1
answer
986
views
How to convert a column of image urls to numpy arrays in a dataframe?
I am working on Plant Seedlings dataset on Kaggle and I have prepared a dataframe which has 2 columns.
The first column has the directory of each image that is present in the train set and the second ...
17
votes
5
answers
36k
views
How to use .predict_generator() on new Images - Keras
I've used ImageDataGenerator and flow_from_directory for training and validation.
These are my directories:
train_dir = Path('D:/Datasets/Trell/images/new_images/training')
test_dir = Path('D:/...