123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197 |
- [2021-03-11 15:45:11,090] [autoreload.py:617] [autoreload:run_with_reloader] [INFO]- Watching for file changes with StatReloader
- [2021-03-11 15:45:18,176] [basehttp.py:157] [basehttp:log_message] [INFO]- "POST /ocr/invoice_ocr/ HTTP/1.1" 200 36
- [2021-03-11 16:48:41,324] [autoreload.py:617] [autoreload:run_with_reloader] [INFO]- Watching for file changes with StatReloader
- [2021-03-11 16:55:01,145] [autoreload.py:617] [autoreload:run_with_reloader] [INFO]- Watching for file changes with StatReloader
- [2021-03-11 16:56:00,609] [autoreload.py:617] [autoreload:run_with_reloader] [INFO]- Watching for file changes with StatReloader
- [2021-03-11 16:56:39,716] [autoreload.py:617] [autoreload:run_with_reloader] [INFO]- Watching for file changes with StatReloader
- [2021-03-11 16:56:44,906] [log.py:230] [log:log_response] [ERROR]- Internal Server Error: /ocr/invoice_ocr/
- Traceback (most recent call last):
- File "C:\Users\t\.virtualenvs\invoice_ocr-XlsmZNoZ\lib\site-packages\django\core\handlers\exception.py", line 47, in inner
- response = get_response(request)
- File "C:\Users\t\.virtualenvs\invoice_ocr-XlsmZNoZ\lib\site-packages\django\core\handlers\base.py", line 181, in _get_response
- response = wrapped_callback(request, *callback_args, **callback_kwargs)
- File "C:\Users\t\.virtualenvs\invoice_ocr-XlsmZNoZ\lib\site-packages\django\views\generic\base.py", line 70, in view
- return self.dispatch(request, *args, **kwargs)
- File "C:\Users\t\.virtualenvs\invoice_ocr-XlsmZNoZ\lib\site-packages\django\views\generic\base.py", line 98, in dispatch
- return handler(request, *args, **kwargs)
- File "D:\pythonProject\invoice_ocr\ocr\views.py", line 14, in post
- res = ocr.predict(paths=image_path)
- File "D:\pythonProject\invoice_ocr\PaddleOCR\deploy\hubserving\ocr_system\module.py", line 72, in predict
- predicted_data = self.read_images(paths)
- File "D:\pythonProject\invoice_ocr\PaddleOCR\deploy\hubserving\ocr_system\module.py", line 51, in read_images
- img_path), "The {} isn't a valid file.".format(img_path)
- AssertionError: The .PaddleOCR/doc/imgs/11.jpg isn't a valid file.
- [2021-03-11 16:56:44,907] [basehttp.py:157] [basehttp:log_message] [ERROR]- "POST /ocr/invoice_ocr/ HTTP/1.1" 500 83254
- [2021-03-11 16:57:26,616] [autoreload.py:617] [autoreload:run_with_reloader] [INFO]- Watching for file changes with StatReloader
- [2021-03-11 16:57:30,898] [log.py:230] [log:log_response] [ERROR]- Internal Server Error: /ocr/invoice_ocr/
- Traceback (most recent call last):
- File "C:\Users\t\.virtualenvs\invoice_ocr-XlsmZNoZ\lib\site-packages\django\core\handlers\exception.py", line 47, in inner
- response = get_response(request)
- File "C:\Users\t\.virtualenvs\invoice_ocr-XlsmZNoZ\lib\site-packages\django\core\handlers\base.py", line 181, in _get_response
- response = wrapped_callback(request, *callback_args, **callback_kwargs)
- File "C:\Users\t\.virtualenvs\invoice_ocr-XlsmZNoZ\lib\site-packages\django\views\generic\base.py", line 70, in view
- return self.dispatch(request, *args, **kwargs)
- File "C:\Users\t\.virtualenvs\invoice_ocr-XlsmZNoZ\lib\site-packages\django\views\generic\base.py", line 98, in dispatch
- return handler(request, *args, **kwargs)
- File "D:\pythonProject\invoice_ocr\ocr\views.py", line 14, in post
- res = ocr.predict(paths=image_path)
- File "D:\pythonProject\invoice_ocr\PaddleOCR\deploy\hubserving\ocr_system\module.py", line 85, in predict
- dt_boxes, rec_res = self.text_sys(img)
- AttributeError: 'OCRSystem' object has no attribute 'text_sys'
- [2021-03-11 16:57:30,899] [basehttp.py:157] [basehttp:log_message] [ERROR]- "POST /ocr/invoice_ocr/ HTTP/1.1" 500 81632
- [2021-03-11 17:09:26,941] [autoreload.py:617] [autoreload:run_with_reloader] [INFO]- Watching for file changes with StatReloader
- [2021-03-11 17:09:30,716] [log.py:230] [log:log_response] [ERROR]- Internal Server Error: /ocr/invoice_ocr/
- Traceback (most recent call last):
- File "C:\Users\t\.virtualenvs\invoice_ocr-XlsmZNoZ\lib\site-packages\django\core\handlers\exception.py", line 47, in inner
- response = get_response(request)
- File "C:\Users\t\.virtualenvs\invoice_ocr-XlsmZNoZ\lib\site-packages\django\core\handlers\base.py", line 181, in _get_response
- response = wrapped_callback(request, *callback_args, **callback_kwargs)
- File "C:\Users\t\.virtualenvs\invoice_ocr-XlsmZNoZ\lib\site-packages\django\views\generic\base.py", line 70, in view
- return self.dispatch(request, *args, **kwargs)
- File "C:\Users\t\.virtualenvs\invoice_ocr-XlsmZNoZ\lib\site-packages\django\views\generic\base.py", line 98, in dispatch
- return handler(request, *args, **kwargs)
- File "D:\pythonProject\invoice_ocr\ocr\views.py", line 14, in post
- res = ocr.predict(paths=image_path)
- File "D:\pythonProject\invoice_ocr\PaddleOCR\deploy\hubserving\ocr_system\module.py", line 85, in predict
- dt_boxes, rec_res = self.text_sys(img)
- AttributeError: 'OCRSystem' object has no attribute 'text_sys'
- [2021-03-11 17:09:30,717] [basehttp.py:157] [basehttp:log_message] [ERROR]- "POST /ocr/invoice_ocr/ HTTP/1.1" 500 82459
- [2021-03-11 17:10:55,703] [autoreload.py:617] [autoreload:run_with_reloader] [INFO]- Watching for file changes with StatReloader
- [2021-03-11 17:11:02,591] [log.py:230] [log:log_response] [ERROR]- Internal Server Error: /ocr/invoice_ocr/
- Traceback (most recent call last):
- File "C:\Users\t\.virtualenvs\invoice_ocr-XlsmZNoZ\lib\site-packages\django\core\handlers\exception.py", line 47, in inner
- response = get_response(request)
- File "C:\Users\t\.virtualenvs\invoice_ocr-XlsmZNoZ\lib\site-packages\django\core\handlers\base.py", line 181, in _get_response
- response = wrapped_callback(request, *callback_args, **callback_kwargs)
- File "C:\Users\t\.virtualenvs\invoice_ocr-XlsmZNoZ\lib\site-packages\django\views\generic\base.py", line 70, in view
- return self.dispatch(request, *args, **kwargs)
- File "C:\Users\t\.virtualenvs\invoice_ocr-XlsmZNoZ\lib\site-packages\django\views\generic\base.py", line 98, in dispatch
- return handler(request, *args, **kwargs)
- File "D:\pythonProject\invoice_ocr\ocr\views.py", line 14, in post
- res = ocr.predict(paths=image_path)
- File "D:\pythonProject\invoice_ocr\PaddleOCR\deploy\hubserving\ocr_system\module.py", line 85, in predict
- dt_boxes, rec_res = self.text_sys(img)
- AttributeError: 'OCRSystem' object has no attribute 'text_sys'
- [2021-03-11 17:11:02,593] [basehttp.py:157] [basehttp:log_message] [ERROR]- "POST /ocr/invoice_ocr/ HTTP/1.1" 500 81741
- [2021-03-11 17:35:31,917] [autoreload.py:617] [autoreload:run_with_reloader] [INFO]- Watching for file changes with StatReloader
- [2021-03-11 17:35:41,540] [log.py:230] [log:log_response] [ERROR]- Internal Server Error: /ocr/invoice_ocr/
- Traceback (most recent call last):
- File "C:\Users\t\.virtualenvs\invoice_ocr-XlsmZNoZ\lib\site-packages\django\core\handlers\exception.py", line 47, in inner
- response = get_response(request)
- File "C:\Users\t\.virtualenvs\invoice_ocr-XlsmZNoZ\lib\site-packages\django\core\handlers\base.py", line 181, in _get_response
- response = wrapped_callback(request, *callback_args, **callback_kwargs)
- File "C:\Users\t\.virtualenvs\invoice_ocr-XlsmZNoZ\lib\site-packages\django\views\generic\base.py", line 70, in view
- return self.dispatch(request, *args, **kwargs)
- File "C:\Users\t\.virtualenvs\invoice_ocr-XlsmZNoZ\lib\site-packages\django\views\generic\base.py", line 98, in dispatch
- return handler(request, *args, **kwargs)
- File "D:\pythonProject\invoice_ocr\ocr\views.py", line 17, in post
- res = ocr.predict(paths=image_path)
- File "D:\pythonProject\invoice_ocr\PaddleOCR\deploy\hubserving\ocr_system\module.py", line 85, in predict
- dt_boxes, rec_res = self.text_sys(img)
- AttributeError: 'OCRSystem' object has no attribute 'text_sys'
- [2021-03-11 17:35:41,542] [basehttp.py:157] [basehttp:log_message] [ERROR]- "POST /ocr/invoice_ocr/ HTTP/1.1" 500 82573
- [2021-03-11 17:36:43,172] [autoreload.py:617] [autoreload:run_with_reloader] [INFO]- Watching for file changes with StatReloader
- [2021-03-11 17:36:46,332] [log.py:230] [log:log_response] [ERROR]- Internal Server Error: /ocr/invoice_ocr/
- Traceback (most recent call last):
- File "C:\Users\t\.virtualenvs\invoice_ocr-XlsmZNoZ\lib\site-packages\django\core\handlers\exception.py", line 47, in inner
- response = get_response(request)
- File "C:\Users\t\.virtualenvs\invoice_ocr-XlsmZNoZ\lib\site-packages\django\core\handlers\base.py", line 181, in _get_response
- response = wrapped_callback(request, *callback_args, **callback_kwargs)
- File "C:\Users\t\.virtualenvs\invoice_ocr-XlsmZNoZ\lib\site-packages\django\views\generic\base.py", line 70, in view
- return self.dispatch(request, *args, **kwargs)
- File "C:\Users\t\.virtualenvs\invoice_ocr-XlsmZNoZ\lib\site-packages\django\views\generic\base.py", line 98, in dispatch
- return handler(request, *args, **kwargs)
- File "D:\pythonProject\invoice_ocr\ocr\views.py", line 16, in post
- res = ocr.predict(paths=image_path)
- File "D:\pythonProject\invoice_ocr\PaddleOCR\deploy\hubserving\ocr_system\module.py", line 85, in predict
- dt_boxes, rec_res = self.text_sys(img)
- AttributeError: 'OCRSystem' object has no attribute 'text_sys'
- [2021-03-11 17:36:46,333] [basehttp.py:157] [basehttp:log_message] [ERROR]- "POST /ocr/invoice_ocr/ HTTP/1.1" 500 82334
- [2021-03-11 17:38:20,368] [autoreload.py:617] [autoreload:run_with_reloader] [INFO]- Watching for file changes with StatReloader
- [2021-03-11 17:38:26,483] [log.py:230] [log:log_response] [ERROR]- Internal Server Error: /ocr/invoice_ocr/
- Traceback (most recent call last):
- File "C:\Users\t\.virtualenvs\invoice_ocr-XlsmZNoZ\lib\site-packages\django\core\handlers\exception.py", line 47, in inner
- response = get_response(request)
- File "C:\Users\t\.virtualenvs\invoice_ocr-XlsmZNoZ\lib\site-packages\django\core\handlers\base.py", line 181, in _get_response
- response = wrapped_callback(request, *callback_args, **callback_kwargs)
- File "C:\Users\t\.virtualenvs\invoice_ocr-XlsmZNoZ\lib\site-packages\django\views\generic\base.py", line 70, in view
- return self.dispatch(request, *args, **kwargs)
- File "C:\Users\t\.virtualenvs\invoice_ocr-XlsmZNoZ\lib\site-packages\django\views\generic\base.py", line 98, in dispatch
- return handler(request, *args, **kwargs)
- File "D:\pythonProject\invoice_ocr\ocr\views.py", line 15, in post
- res = ocr.predict(paths=image_path)
- File "D:\pythonProject\invoice_ocr\PaddleOCR\deploy\hubserving\ocr_system\module.py", line 85, in predict
- dt_boxes, rec_res = self.text_sys(img)
- AttributeError: 'OCRSystem' object has no attribute 'text_sys'
- [2021-03-11 17:38:26,485] [basehttp.py:157] [basehttp:log_message] [ERROR]- "POST /ocr/invoice_ocr/ HTTP/1.1" 500 82333
- [2021-03-11 17:42:13,675] [autoreload.py:617] [autoreload:run_with_reloader] [INFO]- Watching for file changes with StatReloader
- [2021-03-11 17:42:46,110] [log.py:230] [log:log_response] [ERROR]- Internal Server Error: /ocr/invoice_ocr/
- Traceback (most recent call last):
- File "C:\Users\t\.virtualenvs\invoice_ocr-XlsmZNoZ\lib\site-packages\django\core\handlers\exception.py", line 47, in inner
- response = get_response(request)
- File "C:\Users\t\.virtualenvs\invoice_ocr-XlsmZNoZ\lib\site-packages\django\core\handlers\base.py", line 181, in _get_response
- response = wrapped_callback(request, *callback_args, **callback_kwargs)
- File "C:\Users\t\.virtualenvs\invoice_ocr-XlsmZNoZ\lib\site-packages\django\views\generic\base.py", line 70, in view
- return self.dispatch(request, *args, **kwargs)
- File "C:\Users\t\.virtualenvs\invoice_ocr-XlsmZNoZ\lib\site-packages\django\views\generic\base.py", line 98, in dispatch
- return handler(request, *args, **kwargs)
- File "D:\pythonProject\invoice_ocr\ocr\views.py", line 15, in post
- res = ocr.predict(paths=image_path)
- File "D:\pythonProject\invoice_ocr\PaddleOCR\deploy\hubserving\ocr_system\module.py", line 85, in predict
- dt_boxes, rec_res = self.text_sys(img)
- AttributeError: 'OCRSystem' object has no attribute 'text_sys'
- [2021-03-11 17:42:46,115] [basehttp.py:157] [basehttp:log_message] [ERROR]- "POST /ocr/invoice_ocr/ HTTP/1.1" 500 84339
- [2021-03-11 17:44:59,338] [autoreload.py:617] [autoreload:run_with_reloader] [INFO]- Watching for file changes with StatReloader
- [2021-03-11 17:46:38,923] [autoreload.py:617] [autoreload:run_with_reloader] [INFO]- Watching for file changes with StatReloader
- [2021-03-11 17:46:49,402] [log.py:230] [log:log_response] [ERROR]- Internal Server Error: /ocr/invoice_ocr/
- Traceback (most recent call last):
- File "C:\Users\t\.virtualenvs\invoice_ocr-XlsmZNoZ\lib\site-packages\django\core\handlers\exception.py", line 47, in inner
- response = get_response(request)
- File "C:\Users\t\.virtualenvs\invoice_ocr-XlsmZNoZ\lib\site-packages\django\core\handlers\base.py", line 181, in _get_response
- response = wrapped_callback(request, *callback_args, **callback_kwargs)
- File "C:\Users\t\.virtualenvs\invoice_ocr-XlsmZNoZ\lib\site-packages\django\views\generic\base.py", line 70, in view
- return self.dispatch(request, *args, **kwargs)
- File "C:\Users\t\.virtualenvs\invoice_ocr-XlsmZNoZ\lib\site-packages\django\views\generic\base.py", line 98, in dispatch
- return handler(request, *args, **kwargs)
- File "D:\pythonProject\invoice_ocr\ocr\views.py", line 15, in post
- res = ocr.predict(paths=image_path)
- File "D:\pythonProject\invoice_ocr\PaddleOCR\deploy\hubserving\ocr_system\module.py", line 85, in predict
- dt_boxes, rec_res = self.text_sys(img)
- AttributeError: 'OCRSystem' object has no attribute 'text_sys'
- [2021-03-11 17:46:49,403] [basehttp.py:157] [basehttp:log_message] [ERROR]- "POST /ocr/invoice_ocr/ HTTP/1.1" 500 82334
- [2021-03-11 17:47:33,531] [autoreload.py:617] [autoreload:run_with_reloader] [INFO]- Watching for file changes with StatReloader
- [2021-03-11 17:47:43,431] [basehttp.py:157] [basehttp:log_message] [INFO]- "POST /ocr/invoice_ocr/ HTTP/1.1" 200 2809
- [2021-03-11 17:49:15,419] [autoreload.py:240] [autoreload:trigger_reload] [INFO]- D:\pythonProject\invoice_ocr\PaddleOCR\deploy\hubserving\ocr_system\module.py changed, reloading.
- [2021-03-11 17:49:18,917] [autoreload.py:617] [autoreload:run_with_reloader] [INFO]- Watching for file changes with StatReloader
- [2021-03-11 18:04:57,114] [autoreload.py:617] [autoreload:run_with_reloader] [INFO]- Watching for file changes with StatReloader
- [2021-03-11 18:07:58,829] [autoreload.py:617] [autoreload:run_with_reloader] [INFO]- Watching for file changes with StatReloader
- [2021-03-11 18:08:09,947] [log.py:230] [log:log_response] [ERROR]- Internal Server Error: /ocr/invoice_ocr/
- Traceback (most recent call last):
- File "C:\Users\t\.virtualenvs\invoice_ocr-XlsmZNoZ\lib\site-packages\django\core\handlers\exception.py", line 47, in inner
- response = get_response(request)
- File "C:\Users\t\.virtualenvs\invoice_ocr-XlsmZNoZ\lib\site-packages\django\core\handlers\base.py", line 181, in _get_response
- response = wrapped_callback(request, *callback_args, **callback_kwargs)
- File "C:\Users\t\.virtualenvs\invoice_ocr-XlsmZNoZ\lib\site-packages\django\views\generic\base.py", line 70, in view
- return self.dispatch(request, *args, **kwargs)
- File "C:\Users\t\.virtualenvs\invoice_ocr-XlsmZNoZ\lib\site-packages\django\views\generic\base.py", line 98, in dispatch
- return handler(request, *args, **kwargs)
- File "D:\pythonProject\invoice_ocr\ocr\views.py", line 9, in post
- image = images.read()
- AttributeError: 'list' object has no attribute 'read'
- [2021-03-11 18:08:09,950] [basehttp.py:157] [basehttp:log_message] [ERROR]- "POST /ocr/invoice_ocr/ HTTP/1.1" 500 78453
- [2021-03-11 18:09:34,381] [autoreload.py:617] [autoreload:run_with_reloader] [INFO]- Watching for file changes with StatReloader
- [2021-03-11 18:14:45,668] [autoreload.py:617] [autoreload:run_with_reloader] [INFO]- Watching for file changes with StatReloader
- [2021-03-11 18:14:48,585] [log.py:230] [log:log_response] [ERROR]- Internal Server Error: /ocr/invoice_ocr/
- Traceback (most recent call last):
- File "C:\Users\t\.virtualenvs\invoice_ocr-XlsmZNoZ\lib\site-packages\django\core\handlers\exception.py", line 47, in inner
- response = get_response(request)
- File "C:\Users\t\.virtualenvs\invoice_ocr-XlsmZNoZ\lib\site-packages\django\core\handlers\base.py", line 181, in _get_response
- response = wrapped_callback(request, *callback_args, **callback_kwargs)
- File "C:\Users\t\.virtualenvs\invoice_ocr-XlsmZNoZ\lib\site-packages\django\views\generic\base.py", line 70, in view
- return self.dispatch(request, *args, **kwargs)
- File "C:\Users\t\.virtualenvs\invoice_ocr-XlsmZNoZ\lib\site-packages\django\views\generic\base.py", line 98, in dispatch
- return handler(request, *args, **kwargs)
- File "D:\pythonProject\invoice_ocr\ocr\views.py", line 12, in post
- img = cv2.imdecode(image.read(), cv2.IMREAD_ANYCOLOR)
- TypeError: Expected Ptr<cv::UMat> for argument 'buf'
- [2021-03-11 18:14:48,587] [basehttp.py:157] [basehttp:log_message] [ERROR]- "POST /ocr/invoice_ocr/ HTTP/1.1" 500 78852
|