Skip to content

ModuleNotFoundError: No module named 'keras.engine' #22

@adam-funk

Description

@adam-funk

I have tensorflow 2.13, keras==2.13, and keras-ctcmodel installed (using pip in a conda environment). When I try to

from keras_ctcmodel.CTCModel import CTCModel

I get this exception:

    from keras_ctcmodel.CTCModel import CTCModel
  File "/home/adam/anaconda3/envs/simplehtr1/lib/python3.9/site-packages/keras_ctcmodel/CTCModel.py", line 7, in <module>
    from keras.engine import Model
ModuleNotFoundError: No module named 'keras.engine'

Does the package structure used in CTCModel need to be updated?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions