GilLevi/AgeGenderDeepLearning

Help me fix errror when i run model .

cannguyen275 opened this issue · 2 comments

Hhen I run model have error : ValueError:_ Mean shape incompatible with input shape.

I fixed this error but when i classifer have error
94 if oversample:
---> 95 predictions = predictions.reshape((len(predictions) / 10, 10, -1))
96 predictions = predictions.mean(1)
97

TypeError: 'float' object cannot be interpreted as an integer

Can you please print the value of predictions ?