在训练 经典卷积神经网络VGG时,因为版本问题,报了警告,下面来解决警告。

其实警告,大多来自前后版本的问题,可能你使用的这个版本里面对于一个方法是这个要求,下一个版本或者更新的版本,对于这个方法就是另外的要求,只是需要变动一点。

警告1 与 解决

不放截图了,直接把 警告的内容粘贴一下吧,都是一样的道理:

Model.fit_generator is deprecated and will be removed in a future version. Please use Model.fit, which supports generators.

定位到代码行如下:

H = model.fit_generator(aug.flow(trainX, trainY, batch_size=BS),validation_data

【解决两个警告】Model.fit_generator` is deprecated and will be removed in a future version. Please use `Mode相关推荐

  1. DeprecationWarning:current URL string parser is deprecated, and will be removed in a future version.

    DeprecationWarning:current URL string parser is deprecated, and will be removed in a future version. ...

  2. Automatically populating $HTTP_RAW_POST_DATA is deprecated and will be removed in a future version.

    2019独角兽企业重金招聘Python工程师标准>>> PHP 接口,使用 ajax post方式提交数据的时候报错: Automatically populating $HTTP_ ...

  3. WARNING: --master-data is deprecated and will be removed in a future version

    Mysql 版本:/usr/local/mysql/bin/mysql Ver 8.0.26 for Linux on x86_64 (MySQL Community Server - GPL) 报错 ...

  4. 【k8s】kubectl exec [POD] [COMMAND] is DEPRECATED and will be removed in a future version. Use kubectl

    登录一个已有的pod,执行ping 本文是之前文章的姐妹篇 kk exec -it nginx-deploy-5878ddd45b-nzsdv – sh 命令换了 kubectl exec [POD] ...

  5. 【MySQL】警告: 1681 - XXX is deprecated and will be removed in a future release.

    (一)MySQL version MySQL Server 8.0.29 MySQL Workbench 8.0.29 (二)语句及问题 1. 语句: #5月17日学习#创建大气质量表 use tes ...

  6. FutureWarning: pandas.Int64Index is deprecated and will be removed ... in a future version. 解决方法

    调用 XGBoost 时遇到如下 FutureWarning: compat.py:36: FutureWarning: pandas.Int64Index is deprecated and wil ...

  7. using a dict on a Series for aggregation is deprecated and will be removed in a future version

    python的pandas中,在统计聚合的时候,版本问题,提示不支持字典格式了. 比如,下面代码这样改就可以了. words_stat = words_df.groupby(by=['segment' ...

  8. PHP 5.6 中 Automatically populating $HTTP_RAW_POST_DATA is deprecated and will be removed in a future

    在使用数组转换为XML 时,出现这种错误 Automatically populating $HTTPRAWPOSTDATA is deprecated and will be removed in ...

  9. php解决 mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysq

    微信小程序开发交流qq群   173683895    承接微信小程序开发.扫码加微信. The mysql extension is deprecated and will be removed i ...

最新文章

  1. LSGO软件技术团队招新
  2. 美国 AI 博士一针见血:Python 这样学最容易成为高手!
  3. 存在于实数域的微观粒子
  4. C++const的作用与使用
  5. hibernate一对多
  6. oracle 10g 分区管理,Oracle 10g分区表的自动维护
  7. nutch源代码阅读心得
  8. 在小公司待了3年后,我废了
  9. 人工智能:一种现代的方法 书本课后习题解答
  10. Python添加或去掉百分号
  11. java jca_Java加密体系结构(JCA)参考指南
  12. Python3简单爬虫:爬取猫眼评分top100电影
  13. 移动电影院新版本新功能新体验
  14. linux下执行gauss的脚本文件,求脚本:同时向n个nodes提交并执行当前目录下所有Gaussian输入文件...
  15. 计算机省二打字,巧用音频转文字,省去打字烦恼
  16. java入门123 pdf下载_Java入门123:一个老鸟的Java学习心得 pdf_IT教程网
  17. WebJars简介 —— 前端资源的jar包形式
  18. Blos查看计算机硬盘,如何在bios查看硬盘
  19. 最常见的卸载Mac应用软件方法,彻底清除,果断收藏!
  20. 战队口号霸气押韵8字_霸气押韵的团队口号集锦

热门文章

  1. 情感分析实战(英文)-数据预处理篇
  2. 我开始用心的寂寞妆点着梦的沧桑
  3. 小米口碑营销的五大秘诀
  4. web服务器启用了不安全的HTTP方法
  5. python下载镜像
  6. R语言将汉字转化为拼音方法
  7. jolog扫地机器人怎么样_扫地机器人什么牌子好,扫地机器人十大品牌排名?
  8. 那个冬天(摘自联商水园里上尉的帖子)
  9. 西湖大学2023年博士研究生招生简章发布!199位博导,400个名额!
  10. 618大促出招:怎么让店铺访问提高50%