jeffheaton / t81_558_deep_learning

T81-558: Keras - Applications of Deep Neural Networks @Washington University in St. Louis
https://sites.wustl.edu/jeffheaton/t81-558/
Other
5.72k stars 3.03k forks source link

Jupyter notebook doesn't start #146

Closed spthakkar closed 2 years ago

spthakkar commented 2 years ago

Describe the bug A clear and concise description of what the bug is. If you have a general programming question, Stack Overflow is a better forum. Please only add issues specifically related to a problem with the code in this repository. I followed steps as mentioned in file https://github.com/jeffheaton/t81_558_deep_learning/blob/master/install/tensorflow-install-jul-2020.ipynb

when i start to test jupyter notebook it gives me 500: internal server error Expected behavior A clear and concise description of what you expected to happen. Running jupyter notebook with my GPU Which Notebook Contains this Issue Please let me know which notebook contains the code for the issue you are reporting. (e.g. https://github.com/jeffheaton/t81_558_deep_learning/blob/master/t81_558_class_01_1_overview.ipynb) https://github.com/jeffheaton/t81_558_deep_learning/blob/master/install/tensorflow-install-jul-2020.ipynb

spthakkar commented 2 years ago

following is my commnad prompt

Could not open static file '' [W 14:19:06.318 NotebookApp] 404 GET /static/components/react/react-dom.production.min.js (127.0.0.1) 5.99ms referer=http://localhost:8888/tree?token=aa1b7a7047fecc46e0a2b914c3e83881171d0d62e6f59d78 [W 14:19:06.335 NotebookApp] 404 GET /static/components/react/react-dom.production.min.js (127.0.0.1) 1.09ms referer=http://localhost:8888/tree?token=aa1b7a7047fecc46e0a2b914c3e83881171d0d62e6f59d78 /home/shital/anaconda3/envs/tensorflow/lib/python3.8/json/encoder.py:257: UserWarning: date_default is deprecated since jupyter_client 7.0.0. Use jupyter_client.jsonutil.json_default. return _iterencode(o, 0) [E 14:19:34.780 NotebookApp] Uncaught exception GET /notebooks/PhD_material/Students2021-22/Smit_Paper/Codes/Xception.ipynb (127.0.0.1) HTTPServerRequest(protocol='http', host='localhost:8888', method='GET', uri='/notebooks/PhD_material/Students2021-22/Smit_Paper/Codes/Xception.ipynb', version='HTTP/1.1', remote_ip='127.0.0.1') Traceback (most recent call last): File "/home/shital/anaconda3/envs/tensorflow/lib/python3.8/site-packages/tornado/web.py", line 1702, in _execute result = method(*self.path_args, *self.path_kwargs) File "/home/shital/anaconda3/envs/tensorflow/lib/python3.8/site-packages/tornado/web.py", line 3173, in wrapper return method(self, args, kwargs) File "/home/shital/anaconda3/envs/tensorflow/lib/python3.8/site-packages/notebook/notebook/handlers.py", line 90, in get self.write(self.render_template('notebook.html', File "/home/shital/anaconda3/envs/tensorflow/lib/python3.8/site-packages/notebook/base/handlers.py", line 519, in render_template return template.render(ns) File "/home/shital/anaconda3/envs/tensorflow/lib/python3.8/site-packages/jinja2/environment.py", line 1301, in render self.environment.handle_exception() File "/home/shital/anaconda3/envs/tensorflow/lib/python3.8/site-packages/jinja2/environment.py", line 936, in handle_exception raise rewrite_traceback_stack(source=source) File "/home/shital/anaconda3/envs/tensorflow/lib/python3.8/site-packages/notebook/templates/notebook.html", line 1, in top-level template code {% extends "page.html" %} File "/home/shital/anaconda3/envs/tensorflow/lib/python3.8/site-packages/notebook/templates/page.html", line 154, in top-level template code {% block header %} File "/home/shital/anaconda3/envs/tensorflow/lib/python3.8/site-packages/notebook/templates/notebook.html", line 112, in block 'header' {% for exporter in get_frontend_exporters() %} File "/home/shital/anaconda3/envs/tensorflow/lib/python3.8/site-packages/notebook/notebook/handlers.py", line 19, in get_frontend_exporters from nbconvert.exporters.base import get_export_names, get_exporter File "/home/shital/anaconda3/envs/tensorflow/lib/python3.8/site-packages/nbconvert/init.py", line 4, in from .exporters import File "/home/shital/anaconda3/envs/tensorflow/lib/python3.8/site-packages/nbconvert/exporters/init.py", line 3, in from .html import HTMLExporter File "/home/shital/anaconda3/envs/tensorflow/lib/python3.8/site-packages/nbconvert/exporters/html.py", line 12, in from jinja2 import contextfilter ImportError: cannot import name 'contextfilter' from 'jinja2' (/home/shital/anaconda3/envs/tensorflow/lib/python3.8/site-packages/jinja2/init.py) [E 14:19:34.783 NotebookApp] { "Host": "localhost:8888", "Connection": "keep-alive", "Sec-Ch-Ua": "\" Not A;Brand\";v=\"99\", \"Chromium\";v=\"98\", \"Google Chrome\";v=\"98\"", "Sec-Ch-Ua-Mobile": "?0", "Sec-Ch-Ua-Platform": "\"Linux\"", "Upgrade-Insecure-Requests": "1", "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/98.0.4758.102 Safari/537.36", "Accept": "text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,/*;q=0.8,application/signed-exchange;v=b3;q=0.9", "Sec-Fetch-Site": "same-origin", "Sec-Fetch-Mode": "navigate", "Sec-Fetch-User": "?1", "Sec-Fetch-Dest": "document", "Referer": "http://localhost:8888/tree/PhD_material/Students2021-22/Smit_Paper/Codes", "Accept-Encoding": "gzip, deflate, br", "Accept-Language": "en-US,en;q=0.9", "Cookie": "_xsrf=2|fd19b107|66cc509a5ab70a5989e888b8c28b5009|1657614162; username-localhost-8889=\"2|1:0|10:1658213867|23:username-localhost-8889|44:NDkzNzlkYWNjZGQ3NDFkNGI4OGE3MGE1OWE0OWI5YjQ=|42de4830a7122164bd952e815933bd3cbd06a8412f95d77ee002fccfc02acff9\"; username-localhost-8890=\"2|1:0|10:1658214793|23:username-localhost-8890|44:NjIyYmFhMTk4MmNhNDQ2MDk1N2FiMDk0NmQ2YThkODQ=|2c733e62e845f0a37c886d7be6bab6f6d416ce03c6b616b0ae4a5945ba4055e7\"; username-localhost-8888=\"2|1:0|10:1658306946|23:username-localhost-8888|44:Zjg1NGQ3OGRjZjUzNDhhNmE5ZmM0NzY2OTI0Y2Q0NmI=|cb2d68fb65b44867fc2f75fe4a2a3c68728792ce35ded8c200b5e0d8d83fd75d\"" } [E 14:19:34.783 NotebookApp] 500 GET /notebooks/PhD_material/Students2021-22/Smit_Paper/Codes/Xception.ipynb (127.0.0.1) 39.78ms referer=http://localhost:8888/tree/PhD_material/Students2021-22/Smit_Paper/Codes [W 14:19:34.794 NotebookApp] 404 GET /static/components/react/react-dom.production.min.js (127.0.0.1) 1.00ms referer=http://localhost:8888/notebooks/PhD_material/Students2021-22/Smit_Paper/Codes/Xception.ipynb [W 14:19:34.819 NotebookApp] 404 GET /static/components/react/react-dom.production.min.js (127.0.0.1) 1.50ms referer=http://localhost:8888/notebooks/PhD_material/S

jeffheaton commented 2 years ago

Unfortunately, I do not have the time/capacity to help with individual installations. If there is a clear repeatable issue from the actual code (beyond installation issues), I am glad to help.