Skip to content
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

TensorFlow Implementation #2

Open
sohamshashank1 opened this issue Apr 25, 2018 · 4 comments
Open

TensorFlow Implementation #2

sohamshashank1 opened this issue Apr 25, 2018 · 4 comments
Labels
enhancement New feature or request

Comments

@sohamshashank1
Copy link

Could you please provide the Tensorflow implementation of the same code, where input in Tokenized text, same as in the blog. But the layers defined using TF.
Please

@sararob sararob added the enhancement New feature or request label Apr 29, 2018
@sararob
Copy link
Owner

sararob commented Apr 29, 2018

I'd like to add this. If you get to it before me feel free to submit a PR 😄

@Namansharma02
Copy link

I tried making this model but my accuracy is coming as zero.

Epoch 1/10
95646/95646 [==============================] - 63s 655us/step - loss: 1057.0534 - acc: 0.0000e+00

cant find the error

@Namansharma02
Copy link

is it because of the tensorflow version? mine is 1.12.0

@pgurazada
Copy link

@Namansharma02 In my case, running the model as per the blog post was giving nan's in loss. Correcting for the missing values in the data frame amended the situation. However, given that this is a regression problem, would the accuracy metric be of any value?

One last suggestion - @sararob has already put up a refined implementation here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants