如何在 Colab 中安装 DoctrTextlineDetector 的依赖项?

问题描述 投票:0回答:1

我正在做一个与深度检测相关的项目。我正在遵循 this 教程,但收到此错误:

ImportError: DoctrTextlineDetector has the following dependencies:
DocTr must be installed. Please check the required version either in the docs or in the setup file
Tensorflow Addons must be installed. Please check the required version either in the docs or in the setup file.Please note, that it has been announced, the this package will be deprecated in the near future.

上线:

analyzer =dd.get_dd_analyzer(config_overwrite=

我已经安装了这两个模块,docTR 还需要一个模块,并已导入它们:

pip install python-doctr
pip install tensorflow-addons
pip install tf2onnx

import tensorflow_addons
import doctr

我错过了什么?

python google-colaboratory python-import importerror
1个回答
0
投票

这个问题你是怎么解决的?

© www.soinside.com 2019 - 2024. All rights reserved.