You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Traceback (most recent call last):
File "PPOCRLabel.py", line 3461, in<module>sys.exit(main())
File "PPOCRLabel.py", line 3448, in main
app, _win = get_main_app(sys.argv)
File "PPOCRLabel.py", line 3436, in get_main_app
win = MainWindow(
File "PPOCRLabel.py", line 148, in __init__
result = self.table_ocr(
File "/home/namnguyen/miniconda3/envs/paddle/lib/python3.8/site-packages/paddleocr/paddleocr.py", line 766, in __call__
res, _ = super().__call__(
File "/home/namnguyen/miniconda3/envs/paddle/lib/python3.8/site-packages/paddleocr/ppstructure/predict_system.py", line 129, in __call__
res, table_time_dict = self.table_system(
File "/home/namnguyen/miniconda3/envs/paddle/lib/python3.8/site-packages/paddleocr/ppstructure/table/predict_table.py", line 86, in __call__
structure_res, elapse = self._structure(copy.deepcopy(img))
File "/home/namnguyen/miniconda3/envs/paddle/lib/python3.8/site-packages/paddleocr/ppstructure/table/predict_table.py", line 109, in _structure
structure_res, elapse = self.table_structurer(copy.deepcopy(img))
File "/home/namnguyen/miniconda3/envs/paddle/lib/python3.8/site-packages/paddleocr/ppstructure/table/predict_structure.py", line 120, in __call__
data = transform(data, self.preprocess_op)
File "/home/namnguyen/miniconda3/envs/paddle/lib/python3.8/site-packages/paddleocr/ppocr/data/imaug/__init__.py", line 56, in transform
data = op(data)
File "/home/namnguyen/miniconda3/envs/paddle/lib/python3.8/site-packages/paddleocr/ppocr/data/imaug/operators.py", line 94, in __call__
img.astype('float32') * self.scale - self.mean) / self.std
ValueError: operands could not be broadcast together with shapes (213,488,4) (1,1,3)
问题描述 / Problem Description
运行环境 / Runtime Environment
ubuntu
paddleocr 2.7.3 pypi_0 pypi
paddlepaddle 2.6.1 pypi_0 pypi
复现代码 / Reproduction Code
完整报错 / Complete Error Message
可能解决方案 / Possible solutions
附件 / Appendix
The text was updated successfully, but these errors were encountered: