博客
关于我
keras中ImageDataGenerator用法
阅读量:112 次
发布时间:2019-02-26

本文共 1556 字,大约阅读时间需要 5 分钟。

ImageDataGenerator?Keras.preprocessing.image??????????????????????????????????????????????????????????????????????????????????????????????????????????????????????

??????

  • featurewise_center?????????????????????????????????????
  • samplewise_center??????????????????????????????????
  • featurewise_std_normalization?????????????????????????????
  • samplewise_std_normalization?????????????????????????????????
  • zca_whitening????????????ZCA??????????????
  • rotation_range????????????????????????0?180??
  • width_shift_range????????????????????0?1?
  • height_shift_range????????????????????0?1?
  • shear_range?????????????????
  • zoom_range??????????????????????[lower, upper]????????????????
  • channel_shift_range?????????????????
  • fill_mode?????????constant???nearest???reflect???wrap???????????????????????
  • cveta????????????constant????????????
  • horizontal_flip????????????????
  • vertical_flip????????????????
  • rescale???????????????????????????????0?1?
  • preprocessing_function?????????????????????????????
  • data_format?????????????????????channel_first???channel_last??????

????

train_datagen = ImageDataGenerator(    preprocessing_function=preprocess_input,    rotation_range=30,    width_shift_range=0.2,    height_shift_range=0.2,    shear_range=0.2,    zoom_range=0.2,    horizontal_flip=True)

??????

  • shear_range??????????????x?y???????????????????????????
  • zoom_range????????????????0?1????????1????????????????????????????
  • fill_mode????????????nearest??????????????????????????????constant?????????reflect???????wrap????????

??????ImageDataGenerator???????????????????????????????????

转载地址:http://pvuy.baihongyu.com/

你可能感兴趣的文章
node.js+react写的一个登录注册 demo测试
查看>>
Node.js安装与配置指南:轻松启航您的JavaScript服务器之旅
查看>>
nodejs libararies
查看>>
nodejs-mime类型
查看>>
nodejs中Express 路由统一设置缓存的小技巧
查看>>
Node入门之创建第一个HelloNode
查看>>
NotImplementedError: Cannot copy out of meta tensor; no data! Please use torch.nn.Module.to_empty()
查看>>
npm run build 失败Compiler server unexpectedly exited with code: null and signal: SIGBUS
查看>>
npm WARN deprecated core-js@2.6.12 core-js@<3.3 is no longer maintained and not recommended for usa
查看>>
npm和yarn的使用对比
查看>>
npm报错unable to access ‘https://github.com/sohee-lee7/Squire.git/‘
查看>>
npm的问题:config global `--global`, `--local` are deprecated. Use `--location=global` instead 的解决办法
查看>>
NR,NF,FNR
查看>>
nrf开发笔记一开发软件
查看>>
NSDateFormatter的替代方法
查看>>
NSOperation基本操作
查看>>
NSSet集合 无序的 不能重复的
查看>>
NT AUTHORITY\NETWORK SERVICE 权限问题
查看>>
ntko文件存取错误_苹果推送 macOS 10.15.4:iCloud 云盘文件夹共享终于来了
查看>>
nullnullHuge Pages
查看>>