layout-parser
layout-parser copied to clipboard
PaddleDetectionLayoutModel requires the PaddlePaddle library but it was not found in your environment.
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()
That's interesting -- could you paste a link to the Colab notebook? Or just all the execution history of the commands? Thanks!
Did you find the solution?