ImportError: cannot import name activity_l2

来源:互联网 发布:工程进度横道图软件 编辑:程序博客网 时间:2024/06/05 01:20
  • 在学习fast.ai第一课运行代码就会报错:ImportError: cannot import name activity_l2,这是因为最新版本的keras已经不再提供activity_l2接口,最简单的方式大家可以使用命令:pip install keras == 1.2.2 将版本退回到1.2.2 。
原创粉丝点击