-
Notifications
You must be signed in to change notification settings - Fork 8
Open
Description
Description
- I first cloned the project.
- Then installed all the packages from requirements.txt
- Then created a file in
~/.jupyter/jupyter_notebook_config.pywith required configuration. - Then run the command
python app.pyinside the project which started the project. - Opened the url given in the server.
- Following exception occurred in flask backend.
E0415 17:17:06.996753 140619679872768 app.py:1891] Exception on /get_jupyter [POST]
Traceback (most recent call last):
File "/home/shikhar/anaconda3/lib/python3.7/site-packages/flask/app.py", line 2446, in wsgi_app
response = self.full_dispatch_request()
File "/home/shikhar/anaconda3/lib/python3.7/site-packages/flask/app.py", line 1951, in full_dispatch_request
rv = self.handle_user_exception(e)
File "/home/shikhar/anaconda3/lib/python3.7/site-packages/flask/app.py", line 1820, in handle_user_exception
reraise(exc_type, exc_value, tb)
File "/home/shikhar/anaconda3/lib/python3.7/site-packages/flask/_compat.py", line 39, in reraise
raise value
File "/home/shikhar/anaconda3/lib/python3.7/site-packages/flask/app.py", line 1949, in full_dispatch_request
rv = self.dispatch_request()
File "/home/shikhar/anaconda3/lib/python3.7/site-packages/flask/app.py", line 1935, in dispatch_request
return self.view_functions[rule.endpoint](**req.view_args)
File "app.py", line 60, in get_jupyter
copy_file_to_destination(from_path, to_path)
File "/home/shikhar/Documents/data-science/internal-text2vec/ref-projects/MatchZoo-Studio/utils.py", line 152, in copy_file_to_destination
f2 = open(path2, 'w', encoding='utf-8')
FileNotFoundError: [Errno 2] No such file or directory: '/home/shikhar/Documents/data-science/internal-text2vec/ref-projects/MatchZoo-Studio/matchzoo_temp_files/jupyters/5g7h8dov0q3.ipynb'
I0415 17:17:06.997191 140619679872768 _internal.py:122] 127.0.0.1 - - [15/Apr/2020 17:17:06] "POST /get_jupyter HTTP/1.1" 500 -
-
Then opened the DSSM tab. Where tried to train model with toy dataset with default hyper-parameters. Then following right pane went black. Like following:

-
Then checked the server. It was giving the following exception continuously:
E0415 17:36:22.598190 140619679872768 app.py:1891] Exception on /preprocess/dssm [POST]
Traceback (most recent call last):
File "/home/shikhar/anaconda3/lib/python3.7/site-packages/flask/app.py", line 2446, in wsgi_app
response = self.full_dispatch_request()
File "/home/shikhar/anaconda3/lib/python3.7/site-packages/flask/app.py", line 1951, in full_dispatch_request
rv = self.handle_user_exception(e)
File "/home/shikhar/anaconda3/lib/python3.7/site-packages/flask/app.py", line 1820, in handle_user_exception
reraise(exc_type, exc_value, tb)
File "/home/shikhar/anaconda3/lib/python3.7/site-packages/flask/_compat.py", line 39, in reraise
raise value
File "/home/shikhar/anaconda3/lib/python3.7/site-packages/flask/app.py", line 1949, in full_dispatch_request
rv = self.dispatch_request()
File "/home/shikhar/anaconda3/lib/python3.7/site-packages/flask/app.py", line 1935, in dispatch_request
return self.view_functions[rule.endpoint](**req.view_args)
File "/home/shikhar/Documents/data-science/internal-text2vec/ref-projects/MatchZoo-Studio/preprocess.py", line 16, in model_preprocess
with open(ROOT_PATH + 'matchzoo_temp_files/logger/' + preprocess_id + '.preprocess_log') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/shikhar/Documents/data-science/internal-text2vec/ref-projects/MatchZoo-Studio/matchzoo_temp_files/logger/22taqxefdi2.preprocess_log'
I0415 17:36:22.600006 140619679872768 _internal.py:122] 127.0.0.1 - - [15/Apr/2020 17:36:22] "POST /preprocess/dssm HTTP/1.1" 500 -
Metadata
Metadata
Assignees
Labels
No labels