GithubHelp home page GithubHelp logo

ivclab / conditionalglo Goto Github PK

View Code? Open in Web Editor NEW
12.0 6.0 1.0 2.1 MB

Yi-Min Chou, Chien-Hung Chen, Keng-Hao Liu, and Chu-Song Chen, "Changing Background to Foreground: An Augmentation Method Based on Conditional Generative Network for Stingray Detection," IEEE International Conference on Image Processing, ICIP 2018, October 2018.

License: MIT License

Python 100.00%
object-detection deep-neural-networks faster-rcnn conditional-glo data-augmentation stingray-detection caffe tensorflow generative-latent-optimization marine-species

conditionalglo's Introduction

Mixed-Bg-Fg-Synthesis via Conditional GLO

Official Implementation of Stingray Detection of Aerial Images Using Augmented Training Images Generated by A Conditional Generative Model

Created by Yi-Min Chou, Chien-Hung Chen, Keng-Hao Liu, Chu-Song Chen

The overview of data augmentation

alt tag

  1. Crop the object patches (rotate and flip to augment data) and randomly crop the background patches to establish the dataset for training conditional GLO.
  2. Training conditional GLO and use the well-trained model to generate the fake stingray image.
  3. Paste the generated stingray patches to original positions.
  4. Use the augmented data generated from C-GLO to train detection models.

Conditional-Generative-Latent-Optimization

alt tag

Prerequisition

How to Run

  • Clone the Mixed-Bg-Fg-Synthesis repository:
$ git clone --recursive https://github.com/ivclab/ConditionalGLO.git
  • Install required packages:
$ pip install -r requirements.txt
  • Download Stingray Data:
$ python download.py
  • Run the training code:
# The training result will be saved in `./logs/FOLDER_NAME/`
$ python main.py --is_train=True
  • Run the testing code:
# The testing result will be saved in `./logs/FOLDER_NAME_test/`
$ python main.py --is_train=False --load_path=FOLDER_NAME

Experimental Results

Original background image(top), mixed background and foreground synthesis generated by C-GLO (bottom) alt tag

Citation

Please cite following paper if these codes help your research:

@inproceedings{chou2018stingray,
  title={Stingray Detection of Aerial Images Using Augmented Training Images Generated by a Conditional Generative Model},
  author={Chou, Yi-Min and Chen, Chien-Hung and Liu, Keng-Hao and Chen, Chu-Song},
  booktitle={Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition Workshops},
  pages={1403--1409},
  year={2018}
}

@inproceedings{
  title   = {Changing Background to Foreground: An Augmentation Method Based on Conditional Generative Network for Stingray Detection},
  Author  = {Chou, Yi-Min and Chen, Chien-Hung and Liu, Keng-Hao and Chen, Chu-Song}, 
  booktitle = {IEEE International Conference on Image Processing, ICIP},
  year    = {2018}
}

Contact

Please feel free to leave suggestions or comments to Yi-Min Chou, Chien-Hung Chen([email protected]), Keng-Hao Liu([email protected]), Chu-Song Chen([email protected])

conditionalglo's People

Contributors

chien-hung avatar jia-honghenrylee avatar yyyjoe avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

Forkers

simrit1

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.