GilLevi / AgeGenderDeepLearning

633 stars 285 forks source link

Help me fix errror when i run model . #32

Closed cannguyen275 closed 4 years ago

cannguyen275 commented 6 years ago

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

cannguyen275 commented 6 years ago

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

GilLevi commented 6 years ago

Can you please print the value of predictions ?