guillaume-chevalier / LSTM-Human-Activity-Recognition

Human Activity Recognition example using TensorFlow on smartphone sensors dataset and an LSTM RNN. Classifying the type of movement amongst six activity categories - Guillaume Chevalier
MIT License
3.35k stars 938 forks source link

Why not change correct_pred to exempt one-hot? #26

Open KennCoder7 opened 6 years ago

KennCoder7 commented 6 years ago

correct_pred = tf.nn.in_top_k(predictions=pred, targets=y, k=1)