网上下载了一个Yolo(keras+tensorflow)网络的训练代码,在运行的时候,报了以下错误:load_weights() got an unexpected keyword arguement 'skip_mmismatch'。在网上搜索了半天,也没有发现具体原因,最后,仔细看了看这句话的报错,因为我调用的是一个keras的内置函数,却报了没有这个参数的错,就想到了版本问题。最后将keras进行升级(我的升级到了2.1.5版本),这个问题就解决了。

总结:

在跑keras和tensorflow程序的时候遇到了好多次这种版本导致的问题。因为深度学习现在发展比较迅速,所以很多框架的API更新比较快,以后debug的时候一定要注意排查版本问题。

keras报错:load_weights() got an unexpected keyword arguement 'skip_mmismatch'相关推荐

  1. Celery 启动报错 can_read() got an unexpected keyword argument timeout

    问题: Celery 启动报错 can_read() got an unexpected keyword argument timeout 方案:更改redis版本和celery版本,我使用下面的ce ...

  2. Pycharm报错:load() got an unexpected keyword argument ‘loader‘

    报错源码 import yaml#读取yaml的方法 def read_yaml():with open('get_token.yaml',encoding = "utf-8")a ...

  3. OpenStack上传镜像报错__init__() got an unexpected keyword argument 'token'

    请检查 keystone服务的配置文件的token 以及/etc/glance/glance-api.conf下的[keystone_authtoken]的一些配置文件

  4. 解决React Native报错:Error:Found unexpected optical bounds (red pixel)

    问题背景 同样是在升级 gradle plugin V2.2.3 --> gradle plugin V3.0.1后,运行至打包APK期间报错: Error:found unexpected o ...

  5. yarn报错:error An unexpected error occurred: “https://registry.yarnpkg.com/-/user/org.couchdb。。。

    Yarn 报错:error An unexpected error occurred: "https://registry.yarnpkg.com/-/user/org.couchdb.us ...

  6. npm install XXX 报错:error An unexpected error occurred:

    npm install XXX 报错:error An unexpected error occurred: "EPERM: operation not permitted 我的解决办法是: ...

  7. npm install vue@next 是报错npm WARN registry Unexpected warning for https://registry.npmjs.org/: Miscel

    npm install vue@next 是报错 npm WARN registry Unexpected warning for https://registry.npmjs.org/: Misce ...

  8. flask_sqlalchemy连接Mysql报TypeError: create_engine() got an unexpected keyword argument 'encoding'解决办法

    最近在使用flask_sqlalchemy连接mysql,但是遇到一个很奇葩的问题,代码如下: #-*-coding:utf-8 -*-from flask_sqlalchemy import SQL ...

  9. import keras 报错 ImportError: cannot import name ‘urlopen‘

    详细报错信息 packages\tensorflow\python\keras\_impl\keras\utils\data_utils.py", line 40, in <modul ...

最新文章

  1. [Usaco2007 Oct] Super Paintball超级弹珠
  2. 中国女足在2022女足亚洲杯决赛中击败韩国队,时隔16年再夺亚洲杯冠军。
  3. cubic算法优化_TCP拥塞控制算法 — CUBIC的补丁(七) | 学步园
  4. php生成对象吗,php生成器对象
  5. Elastic Search学习笔记5——基本操作
  6. 你真的会用storyboard开发吗?
  7. 贷款能否成功,这4个人说了算
  8. linux c++ 多进程初步01
  9. hash算法_hash一致性算法
  10. Python - 定制pattern的string模板(template) 具体解释
  11. 创建查看mysql8.0数据库_创建和选择数据库
  12. android版信用卡还款提醒器
  13. 【面向对象】第三单元规格化设计总结——JML
  14. 在线脑图思维导图生成工具
  15. 记录极致cms百度编辑器修改上传图片大小限制
  16. 软件工程基础知识复习宝典
  17. Java 的核心目的和并发编程
  18. darknet-配置参数burn-in
  19. c++ ado连接mysql数据库_C++使用ADO连接数据库及其实例
  20. Lucas定理——定义、证明、实现、运用

热门文章

  1. AI人工智能的局限性--王垠
  2. 中奖名单 | 蓝色星球的“小天使”是……
  3. 减法公式运算法则_减法的运算法则是什么
  4. 分页存储的地址空间是一维的,分段存储的地址空间是二维的
  5. Tracert(跟踪路由)是路由跟踪实用程序
  6. 从用户连续活跃的最大天数说起
  7. CMakeLists.txt详解
  8. 触类旁通Elasticsearch:聚合
  9. 设计一款基于人脸识别技术的智能小区出入管理系统
  10. redis设置远程链接