Git Product home page Git Product logo

data-augmentation's Introduction

data-augmentation

data augmentation on python 为了扩增数据集,采用了2种方式来进行数据的扩增。

1、使用keras的数据增强处理 见x-augmentation.py 2、使用skimage的数据增强处理 见common-augmentation.py

keras包括的处理,有featurewise视觉上图像会稍微变暗,samplewise视觉上图像会变成类x光图像形式,zca处理视觉上图像会变成灰白图像,rotation range 随机旋转图像,水平平移,垂直平移,错切变换,图像缩放,图片的整体的颜色变换,水平翻转操作,上下翻转操作, rescale。 存在的问题是图像的变换是随机的,即有的图像可能不会变换。

skimage的数据增强处理,有resize, gray,rescale,noise,flip,rotate, shift, zoom,gaussian zoom,shear,contrast,channelshift,PCA,polar。

每个文件后面都有各个函数的测试使用例子。 便于使用。

data-augmentation's People

Contributors

renwoxing2016 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.