python&anconda系列(亲测有效):keras:解决:ImportError: cannot import name ‘get_config‘




解决:ImportError: cannot import name ‘get_config’

背景

今天使用Conda构建项目运行环境的时候报错:ImportError: cannot import name ‘get_config’

报错问题

    from keras.callbacks import LearningRateScheduler, ModelCheckpoint
  File "D:\develop\Miniconda3\lib\site-packages\keras\__init__.py", line 25, in <module>
    from keras import models
  File &
posted @ 2024-01-26 10:05  坦笑&&life  阅读(9)  评论(0编辑  收藏  举报  来源