layout-parser icon indicating copy to clipboard operation
layout-parser copied to clipboard

PaddleDetectionLayoutModel requires the PaddlePaddle library but it was not found in your environment.

Open mzhadigerov opened this issue 3 years ago • 2 comments

Describe the bug I'm trying to use Paddle model:

model = lp.AutoLayoutModel("lp://paddledetection/TableBank/ppyolov2_r50vd_dcn_365e")

I'm getting an error:

ImportError: PaddleDetectionLayoutModel requires the PaddlePaddle library but it was not found in your environment. Checkout the instructions on the installation page: https://github.com/PaddlePaddle/Paddle and follow the ones that match your environment.

I am using Google Colab and installed paddle as: !python -m pip install paddlepaddle -i https://mirror.baidu.com/pypi/simple

and verified it works:

import paddle.fluid 

paddle.fluid.install_check.run_check()

mzhadigerov avatar Oct 09 '21 20:10 mzhadigerov

That's interesting -- could you paste a link to the Colab notebook? Or just all the execution history of the commands? Thanks!

lolipopshock avatar Oct 21 '21 18:10 lolipopshock

Did you find the solution?

thatmehtaguy avatar Jul 26 '23 05:07 thatmehtaguy