Как установить зависимости для DoctrTextlineDetector в Colab?Python

Программы на Python
Anonymous
Как установить зависимости для DoctrTextlineDetector в Colab?

Сообщение Anonymous »

Я занимаюсь проектом, связанным с глубокой доктриной. Я следую этому руководству и получаю следующую ошибку:

Код: Выделить всё

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


Чего мне не хватает?

Подробнее здесь: https://stackoverflow.com/questions/777 ... r-in-colab

Вернуться в «Python»