Thank you for the example. I get the following error:
Using Theano backend.
WARNING (theano.configdefaults): g++ not detected ! Theano will be unable to execute optimized C-implementations (for both CPU and GPU) and will default to Python implementations. Performance will be severely degraded. To remove this warning, set Theano flags cxx to an empty string.
File "C:\BrainPorn\How-to-Predict-Stock-Prices-Easily-Demo-master\lstm.py", line 17
print 'yo'
^
SyntaxError: Missing parentheses in call to 'print'
I'm more then confused.
I have Anaconda with a TensorFlow Env and a Keras lib.
But I can't start a notebook on the TensorFlow shell, so I start the notebook on the Anaconda shell, where the above output appears in the browser.
Who can provide a descent "how to start the example" (cross-platform or Win7)?
Update Day Two:
The environment of the example is not install able on Windows, so trying other ways.
Install native on Windows: Keras install failed, probably because of Scipy
Install Anaconda way: Keras install failed, Notebook showing up in Browser (incl. failed dependency Keras)
Install Docker way: Jupyter install failed...
Trying the docker way. Would be nice to have a container, so more people could follow.
I got a functional container with TensorFlow + Keras from here:
https://blog.thoughtram.io/machine-learning/2016/09/23/beginning-ml-with-keras-and-tensorflow.html
Now I have a running TensorFlow with Keras but no jupyter notebook option.
Unfortunately 'pip install jupyter' in the environment leads to errors too.
So still no success.
Does someone has a Docker container with TensorFlow + Keras + Jupitor Notebook?
Update: Found an all in one docker image here:
https://github.com/floydhub/dl-docker (Python2 and iTouch Kernel)
docker run -it -p 192.168.99.100:8888:8888 -p 192.168.99.100:6006:6006 -v /sharedfolder:/root/sharedfolder floydhub/dl-docker:cpu jupyter notebook
...does not show the example (empty notebook)...sadly giving up.
Update:
Turns out Docker on Win needs a special syntax....
docker run -it -p 192.168.99.100:8888:8888 -p 192.168.99.100:6006:6006 -v //c/Users//sharedfolder:/root/sharedfolder floydhub/dl-docker:cpu jupyter notebook
...finally does the trick....but after a while in the browser I get this:
The kernel has died, and the automatic restart has failed. It is possible the kernel cannot be restarted. If you are not able to restart the kernel, you will still be able to save the notebook, but running code will no longer work until the notebook is reopened.
What a disaster after such a long journey!!!
Which Kernel do we need?