Open muschellij2 opened 8 months ago
https://stackoverflow.com/questions/68836551/keras-attributeerror-sequential-object-has-no-attribute-predict-classes
https://github.com/shaheen-syed/CNN-Non-Wear-Time-Algorithm/blob/232d02e736063e3f6da1ed68c4a9fffbe17f456d/functions/raw_non_wear_functions.py#L493
I think should fix it?
start_label = np.argmax(cnn_model.predict(start_episode), axis=-1)
stop_label = np.argmax(cnn_model.predict(stop_episode), axis=-1)
https://stackoverflow.com/questions/68836551/keras-attributeerror-sequential-object-has-no-attribute-predict-classes
https://github.com/shaheen-syed/CNN-Non-Wear-Time-Algorithm/blob/232d02e736063e3f6da1ed68c4a9fffbe17f456d/functions/raw_non_wear_functions.py#L493