Skip to content

no attribute '_register_wrapper_optimizer_cls' #651

@fadilparves

Description

@fadilparves

General Question

Hi. When I run this command
text_detector = pipeline(Tasks.ocr_detection, model = 'damo/cv_resnet18_ocr-detection-line-level_damo')

I am getting
AttributeError: OCRDetectionPipeline: module 'tensorflow.python.training.experimental.mixed_precision' has no attribute '_register_wrapper_optimizer_cls'

tensorflow==2.13.0
keras==2.13.1

Any idea how to solve this?

Thank you

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions