Open krishnamohan123 opened 6 years ago
What error?
ValueError: ('Input data in NumpyArrayIterator
should have rank 4. You passed an array with shape', (0,))
Where it was showing while exwcuting?
H = model.fit_generator(aug.flow(trainX, trainY, batch_size=batch_size),
^
validation_data=(testX,testY),
steps_per_epoch=len(trainX) // batch_size,
epochs=epochs, verbose=1)
This was the error I am facing while running train.py.
Why? this kinda error will come ?
Thanks Krishna
May I know the command you are using to run the script ?
Actually when I tried to run the train.py file , trainX(that u have mentioned) is not getting any input.
Can u please ping me 7550248998 if u r free.
May I know which dataset you are using to train ?
The dataset whose link you provided I am facing the same problem
Hello arun,
Trying to execute train.py file , showing syntax in
(( File "train.py", line 26 ap.add_argument("-m", "--model", type=str, default="gender_detection.model",
SyntaxError: invalid syntax ))
What is the solution for this error.
Sorryyyyy I had spotted my mistake please reply for next issue I am facing.
Thanks Krishna