-
Notifications
You must be signed in to change notification settings - Fork 77
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Help with converting to Keras model #17
Comments
Hey Dan, I'll have a look at training it myself |
Main issue I found was that decay in keras is different to tensorflow: 0.96 in tf would be 0.04 in keras. Also, as each sample in my X_train was already of length n_steps (ie I'm not grabbing the next window from one large timeseries) I didn't use stateful LSTMs, and used shuffle=True in model.fit() I also removed the extra LSTM layer you had, although I tested with it in and it still converged. Training code:
Training output: |
Wow, this is amazing, thanks so much! Can't wait to try this out. |
can you please share the full code of keras model. and how can i predict on any video please give me an example. |
Hi likhithakarusala, |
can anyone help me with the inference code for the Keras Model? |
Hello there, I would like to ask whether the train_set is same as the original one ? The shape of x_train should be (total_number_of_samples/ length of sequence, length_of_sequence, number_of_keypoints) ? |
First of all, thank you for creating this wonderful repository. I'm the one who ported PoseNet into tensorflow.js and would love to feed the output of that into this rnn model in real-time. The easiest way to do this would be to convert it to a keras model and run the tensorflow.js converter on it.
Anyways, I've attempted to convert the tensorflow graph from this jupyter notebook into a Keras model, but the model is not properly training - it stops converging and gets stuck at around 20% validation accuracy.
Here is my keras model buildling and training code:
What am I doing wrong?
The text was updated successfully, but these errors were encountered: