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 "F:\hzk\PaddleOCR-2.7.5\PPOCRLabel\PPOCRLabel.py", line 2843, in
sys.exit(main())
File "F:\hzk\PaddleOCR-2.7.5\PPOCRLabel\PPOCRLabel.py", line 2831, in main
app, _win = get_main_app(sys.argv)
File "F:\hzk\PaddleOCR-2.7.5\PPOCRLabel\PPOCRLabel.py", line 2821, in get_main_app
win = MainWindow(lang=args.lang,
File "F:\hzk\PaddleOCR-2.7.5\PPOCRLabel\PPOCRLabel.py", line 114, in init
result = self.ocr.ocr('./data/paddle.png', cls=True, det=True)
File "F:\hzk\PaddleOCR-2.7.5\PPOCRLabel..\paddleocr.py", line 682, in ocr
dt_boxes, rec_res, _ = self.call(img, cls)
dt_boxes, elapse = self.text_detector(img)
File "F:\hzk\PaddleOCR-2.7.5\tools\infer\predict_det.py", line 250, in call
self.predictor.run()
ValueError: (InvalidArgument) shape should have the save dim with perm, but received shape size is:4, perm size is:3.
[Hint: Expected shape.size() == perm.size(), but received shape.size():4 != perm.size():3.] (at ../paddle/phi/kernels/funcs/transpose_func
tion.cu.h:663)
[operator < transpose2 > error]
(PaddleOCR) PS F:\hzk\PaddleOCR-2.7.5\PPOCRLabel> python PPOCRLabel.py --lang ch
[2024/05/07 17:13:43] ppocr WARNING: When args.layout is false, args.ocr is automatically set to false
Traceback (most recent call last):
File "F:\hzk\PaddleOCR-2.7.5\PPOCRLabel\PPOCRLabel.py", line 2846, in
sys.exit(main())
File "F:\hzk\PaddleOCR-2.7.5\PPOCRLabel\PPOCRLabel.py", line 2834, in main
app, _win = get_main_app(sys.argv)
File "F:\hzk\PaddleOCR-2.7.5\PPOCRLabel\PPOCRLabel.py", line 2824, in get_main_app
win = MainWindow(lang=args.lang,
File "F:\hzk\PaddleOCR-2.7.5\PPOCRLabel\PPOCRLabel.py", line 112, in init
result = self.ocr.ocr('./data/paddle.png', cls=True, det=True)
File "F:\hzk\PaddleOCR-2.7.5\PPOCRLabel..\paddleocr.py", line 682, in ocr
dt_boxes, rec_res, _ = self.call(img, cls)
File "F:\hzk\PaddleOCR-2.7.5\tools\infer\predict_system.py", line 75, in call
dt_boxes, elapse = self.text_detector(img)
File "F:\hzk\PaddleOCR-2.7.5\tools\infer\predict_det.py", line 250, in call
self.predictor.run()
ValueError: (InvalidArgument) shape should have the save dim with perm, but received shape size is:4, perm size is:3.
[Hint: Expected shape.size() == perm.size(), but received shape.size():4 != perm.size():3.] (at ../paddle/phi/kernels/funcs/transpose_func
tion.cu.h:663)
[operator < transpose2 > error]
配置文件:ch_PPOCRv4_rec.yml
The text was updated successfully, but these errors were encountered:
Traceback (most recent call last):
File "F:\hzk\PaddleOCR-2.7.5\PPOCRLabel\PPOCRLabel.py", line 2843, in
sys.exit(main())
File "F:\hzk\PaddleOCR-2.7.5\PPOCRLabel\PPOCRLabel.py", line 2831, in main
app, _win = get_main_app(sys.argv)
File "F:\hzk\PaddleOCR-2.7.5\PPOCRLabel\PPOCRLabel.py", line 2821, in get_main_app
win = MainWindow(lang=args.lang,
File "F:\hzk\PaddleOCR-2.7.5\PPOCRLabel\PPOCRLabel.py", line 114, in init
result = self.ocr.ocr('./data/paddle.png', cls=True, det=True)
File "F:\hzk\PaddleOCR-2.7.5\PPOCRLabel..\paddleocr.py", line 682, in ocr
dt_boxes, rec_res, _ = self.call(img, cls)
dt_boxes, elapse = self.text_detector(img)
File "F:\hzk\PaddleOCR-2.7.5\tools\infer\predict_det.py", line 250, in call
self.predictor.run()
ValueError: (InvalidArgument) shape should have the save dim with perm, but received shape size is:4, perm size is:3.
[Hint: Expected shape.size() == perm.size(), but received shape.size():4 != perm.size():3.] (at ../paddle/phi/kernels/funcs/transpose_func
tion.cu.h:663)
[operator < transpose2 > error]
(PaddleOCR) PS F:\hzk\PaddleOCR-2.7.5\PPOCRLabel> python PPOCRLabel.py --lang ch
[2024/05/07 17:13:43] ppocr WARNING: When args.layout is false, args.ocr is automatically set to false
Traceback (most recent call last):
File "F:\hzk\PaddleOCR-2.7.5\PPOCRLabel\PPOCRLabel.py", line 2846, in
sys.exit(main())
File "F:\hzk\PaddleOCR-2.7.5\PPOCRLabel\PPOCRLabel.py", line 2834, in main
app, _win = get_main_app(sys.argv)
File "F:\hzk\PaddleOCR-2.7.5\PPOCRLabel\PPOCRLabel.py", line 2824, in get_main_app
win = MainWindow(lang=args.lang,
File "F:\hzk\PaddleOCR-2.7.5\PPOCRLabel\PPOCRLabel.py", line 112, in init
result = self.ocr.ocr('./data/paddle.png', cls=True, det=True)
File "F:\hzk\PaddleOCR-2.7.5\PPOCRLabel..\paddleocr.py", line 682, in ocr
dt_boxes, rec_res, _ = self.call(img, cls)
File "F:\hzk\PaddleOCR-2.7.5\tools\infer\predict_system.py", line 75, in call
dt_boxes, elapse = self.text_detector(img)
File "F:\hzk\PaddleOCR-2.7.5\tools\infer\predict_det.py", line 250, in call
self.predictor.run()
ValueError: (InvalidArgument) shape should have the save dim with perm, but received shape size is:4, perm size is:3.
[Hint: Expected shape.size() == perm.size(), but received shape.size():4 != perm.size():3.] (at ../paddle/phi/kernels/funcs/transpose_func
tion.cu.h:663)
[operator < transpose2 > error]
配置文件:ch_PPOCRv4_rec.yml
The text was updated successfully, but these errors were encountered: