Tested ok (Jupyter 4.:on Jupiter 6.4.11), under tensor flow 2
**Remember to "Restart and clear output" the "Kernel" - at the top menu everything you run a jupter notebook file.
If the tensorflow tutorials cannot run, try to downgrade to an older tf version >>pip install tensorflow==2.0
do this> conda install git
then add this to wind10 path C:\Users\khwong\Anaconda3\pkgs\git-2.23.0-h6bb4b03_0\Library\bin;
Cd to the directory containing the notebook file , otherwise cannot run e.g. "file_demo.ipynb"
2020.8.1, How to run the demo program : beginner.ipynb (jupyter notebook) for beginners, Download https://www.tensorflow.org/tutorials/quickstart/beginner (click download notebook), i.e. save in d:\temp1 In PC , win10-start-search “anaconda PowerShell prompt-right”-click-administrator to start anaconda. In anaconda prompt: > active tf-gpu #active tf-cpu #if you have no GPUnu > d: >cd to d:\1temp. >jupyter notebook # if it cannot start on Chrome > # start Microsoft-IE, open: localhost8888 # password may be 1234 > now you can run “jupyter notebook” and follow the instruction to run the code, the result will change every time you click-on “RUN>|”
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
If you have completed steps 1-8 in https://sites.google.com/site/hongslinks/tensor_windows, run win10-start / anaconda navigator (Anaconda 3) ,
you can see you can install spyder3 and jupyter6. Clink the icon to start the installation you need.
////////////// in case you have problems//////////////
In Anaconda-prompt: (tf-gpu)>cd to the directory contain filename.ipynb; > jupyter notebook
Open IE(seems to be more reliable than chrome) http://localhost:8889/, type in the password, that's ok. See below to set password
** Note: The following error was encountered while trying to retrieve the URL: http://localhost:8889/tree?
see https://jupyter-notebook.readthedocs.io/en/stable/security.html
use >jupyter notebook password #set a password and use it for http://localhost:8889/tree (use Chrome)
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
jupyter notebook
https://jupyter.readthedocs.io/en/latest/
under windows-searchc (191009)
type:> anaconda prompt
Inside anaconda promot
>activate tf-gpu
>cd c:\destination_directory #(that contain .ipynb files)
then, type > jupyter notebook
the a web browser will appear and you will see the .ipynb file, click it to start, use the icon to control your program flow
============ Useful Links ===========
-----------------------ipybk , py converter ---------------------
--------Installation----------
https://pypi.org/project/ipynb-py-convert/
---usage
ipynb-py-convert examples/plot.py examples/plot.ipynb
or
ipynb-py-convert examples/plot.ipynb examples/plot.py
--------------