Questions tagged [paddle-paddle]

79 questions
1
vote
0 answers

(PaddleOCR) Error: "SSL: WRONG_VERSION_NUMBER"

Attempting to run paddleocr throws the following error: [SSL:WRONG_VERSION_NUMBER] wrong version number (_ssl.c:1045) Python version 3.7 Operating System: MacOS 10.13 PaddleOCR version 2.6.1.3 pip version: 10.0.1 Tried the following: Reinstalling…
Existance
  • 11
  • 1
1
vote
0 answers

Laravel cashier-paddle not storing data in the database on payment success

I'm following the guidelines on the Laravel Documentation to configure the cashier-paddle package. But after successful payment using a sandbox account, it's not saving the entry in the local database, but the entry in the Paddle dashboard is…
1
vote
0 answers

the problem of torchto onnx, WARNING: The shape inference of custom::deform_conv2d type is missin

I want to transfer my torch file to onnx format, but some warning occur during the transferring: WARNING: The shape inference of custom::deform_conv2d type is missing, so it may result in wrong shape inference for the exported graph. Please…
阳铠行
  • 11
  • 1
1
vote
1 answer

Page not found while checkout using Paddle payment

I'm testing the paddle locally but still getting the page not found while clicking on the pay now button. I created my subscription plans and put the plan id in the data-product attribute but still not working. Can anyone help me? Also, my domain…
Prerana
  • 198
  • 1
  • 9
1
vote
0 answers

python failed to serialize object by calling pickle.dump

I know that pickle.dump() does not work for paddle.Tensor objects. However, I did the following but pickle.dump still failed: Define a Python class, A, containing an instance member, x, with type paddle.Tensor Define a bound method for class A…
Huo Ke
  • 11
  • 2
1
vote
1 answer

Cannot run executable because USER_SITE in paddle is None

I have a Flask app that runs OCR functionality using PaddleOCR. My goal now is to create executable file from it. I have tried PyInstaller and py2app but both of them ended up having the same error. At first the executable were created, but when I…
1
vote
1 answer

How to install paddlepaddle with no-avx core

I am trying to use paddleocr in a docker container and keep getting the error below: Dockerfile FROM paddlecloud/paddleocr:2.5-gpu-cuda10.2-cudnn7-85d7d5 In docker container after building it: In [1]: from paddleocr import PaddleOCR /bin/grep:…
yardstick17
  • 4,322
  • 1
  • 26
  • 33
1
vote
1 answer

Not able to install OCRPaddle for WIndows

I'm trying to install the PaddleOCR package following the Quick Start Guide. When I run this command to install PaddleOCR Whl Package: pip install "paddleocr>=2.0.1" # Recommend to use version 2.0.1+ I'm getting this error when building the…
1
vote
0 answers

Using paddlepaddle GPU with gunicorn preload

I would like to make use of Gunicorn's preload feature to save memory while running paddlepaddle gpu for inference purposes. When using preload, it seems like CUDA cannot be initialised properly, as CUDA is initialised as soon as paddle is…
tofustack9
  • 21
  • 3
1
vote
0 answers

Will all the variables be updated (through backprop+optim) w/o using tf.stop_gradient in tensorflow2.0/1.0 or with stop_gradient=False in paddlepaddle

If the answer is yes, and is this true that arbitrary ops/functions/methods could be backpropagated through? Furthermore,for example, what's the gradient of scalar_y w.r.t. tensor_x in below code: step1: scalar_y = tf.size(tensor_x) OR scalar_y =…
1
vote
1 answer

Extract bounding Boxes from an Image Paddleocr

i used this code to detect all texts and draw all bouding boxes: from paddleocr import PaddleOCR,draw_ocr ocr = PaddleOCR(lang='en') # need to run only once to download and load model into memory img_path = 'PaddleOCR/doc/imgs_en/img_12.jpg' result…
1
vote
0 answers

AttributeError: 'list' object has no attribute 'get' (PaddleSeg)

I'm trying to train a PaddleSeg model on a new dicom dataset in order to do segmentation , but when I provide all the arguments I got as error : raceback (most recent call last): File "train.py", line 230, in main(args) File…
ELOUTMADI
  • 59
  • 1
  • 6
1
vote
1 answer

How do I find, download and install a trained PaddleOCR model?

Tell me how to find and install a trained OCR model for PaddleOCR? Because I got confused in the official documentation on the GitHub. Looking for a "smart and complete" OCR model for PaddleOCR for Python.
1
vote
0 answers

Connect GPU of kaggle manually

I do know that most of user use TensorFlow or PyTorch for modeling framework, but I am Trying to converte a model(called ernie-doc) written in paddle to make it run on kaggle, I guess some GPU connection issues happened. !pip install -q -U…
bruceyuan
  • 421
  • 1
  • 3
  • 8
1
vote
1 answer

Unable to figure out "No module named 'paddle.fluid'" , this is with regards to the paddleOCR installation on ubuntu 16.04. Details have been provided

File "/robust/envs/robust/lib/python3.9/site-packages/paddleocr/tools/infer/utility.py", line 20, in from paddle.fluid.core import PaddleTensor ModuleNotFoundError: No module named 'paddle.fluid' I am trying to use paddleocr on linux…