The integration went mostly successful and after a few hours of debugging, I was successfully deployed the web app at localhost http://127.0.0.1:8000.
Internal Server Error: /catalog/video/abnormal/RoadAccidents343_x264
Traceback (most recent call last):
File "C:\Users\Anaconda3\envs\[]\lib\site-packages\django\core\handlers\exception.py", line 34, in inner
response = get_response(request)
File "C:\Users\c\Anaconda3\envs\trillion_question_mark\lib\site-packages\django\core\handlers\base.py", line 115, in _get_response
response = self.process_exception_by_middleware(e, request)
File "C:\Users\p\Anaconda3\envs\trillion_question_mark\lib\site-packages\django\core\handlers\base.py", line 113, in _get_response
response = wrapped_callback(request, *callback_args, **callback_kwargs)
File "C:\Users\c\Anaconda3\envs\trillion_question_mark\lib\site-packages\django\views\generic\base.py", line 71, in view
return self.dispatch(request, *args, **kwargs)
File "C:\Users\c\Anaconda3\envs\trillion_question_mark\lib\site-packages\django\views\generic\base.py", line 97, in dispatch
return handler(request, *args, **kwargs)
File "C:\Users\c\Anaconda3\envs\trillion_question_mark\lib\site-packages\django\views\generic\base.py", line 158, in get
context = self.get_context_data(**kwargs)
File "C:\\[]\HumanBehaviorBKU\WebApp\catalog\views.py", line 84, in get_context_data
x, scores = get_score(video_path)
File "C:\[]\HumanBehaviorBKU\WebApp\c3d\plot_controller.py", line 73, in get_score
F_Score = np.matlib.repmat(predictions[iv],1,(int(total_segments[iv+1])-int(total_segments[iv])))
File "C:\Users\[]\Anaconda3\envs\trillion_question_mark\lib\site-packages\numpy\matlib.py", line 362, in repmat
c = a.reshape(1, a.size).repeat(m, 0).reshape(rows, origcols).repeat(n, 0)
ValueError: negative dimensions are not allowed
[17/Jul/2019 21:47:45] "GET /catalog/video/abnormal/RoadAccidents343_x264 HTTP/1.1" 500 115664