williamfzc / stagesepx

detect stages in video automatically
MIT License
432 stars 125 forks source link

Keras AttributeError: 'Sequential' object has no attribute 'predict_classes' #164

Open williamfzc opened 3 years ago

williamfzc commented 3 years ago

https://stackoverflow.com/questions/68836551/keras-attributeerror-sequential-object-has-no-attribute-predict-classes

This function were removed in TensorFlow version 2.6. According to the keras in https://keras.rstudio.com/reference/predict_proba.html#details

BTW, waiting for a patch :)

linyajun558 commented 3 years ago

问下,这个最新版修复了吗?

williamfzc commented 3 years ago

https://github.com/williamfzc/stagesepx/tree/fix-tensorflow-26 装下这个分支上的版本试试