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
TypeError when running #7
Comments
Hello Bashar, It seems as if you are using Python 2.7, this code is written to be used with Python 3.5. BR |
Thanks for responding. I used the python3 command to run it, but got the same error.
… On Mar 14, 2017, at 11:08 PM, pusj ***@***.***> wrote:
Hello Bashar,
It seems as if you are using Python 2.7, this code is written to be used with Python 3.5.
BR
Staffan
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.
|
Steffan does seem to be right from what I can see, despite you using pip3 it is using a python 2.7 runtime... if you type "python --version" into your console what do you get? If you get anything other than 3.5.x+ then that's your problem. |
My output for the python --version is Python 3.5.2
|
Well then it looks like Keras is failing on something. All I can think of is that you're using a version of Keras that isn't the same as mine. Make sure you're using Keras 1.2.2 or if you want to use a different version then check the docs for your version's namespace arguments |
Okay, so I re-installed keras, and the app ran for a while, but, I got the following error now:
|
Change line number 51 in lstm.py to make it work in keras 2.0 Raised PR for the fix - #17 |
I tried running the code and installing dependencies using pip and pip3 and I tried running the code using python and python3, but I keep getting this:
The text was updated successfully, but these errors were encountered: