Code Monkey home page Code Monkey logo

roguewave's Introduction

Measuring the rogue wave pattern triggered from Gaussian perturbations by deep learning

This is the official implement of the RWD-Net from the paper Measuring the rogue wave pattern triggered from Gaussian perturbations by deep learning.

Requirements

Python 3.7

Tensorflow-gpu==1.13.1

Keras==2.1.5

Usage

0.RWD-10K Dataset Preparation

We release the RWD-10K dataset which has 10191 rogue wave images. All the images are named as aXeYuZ where X, Y and Z are the orresponding parameter values in the initial equation. One .jpg image file corresponds to one .xml file which contains the bounding boxes annotation of the origin images for the rogue wave detection. You can see more details about the dataset in our paper above. You can download the RWD-10K dataset here. If you use this dataset for your research, please cite our paper.

Once you download the RWD-10K dataset, create the following folders and put the images at RogueWaves/images and put the xml files at RogueWaves/xmls and run

python 0_gencsv.py

And the data splits are saved in RogueWave/Annotations.

1.Train

cd RogueWave/ and run

python 1_train.py

And the trained models are saved in RogueWaves/snapshots.

2.Model convert

once you cd RogueWave/ and run

python 2_convert.py

to convert the model saved in RogueWaves/model for testing.

3.Test and Evaluate

run

python 3_test2input.py

for putting the test images in RogueWave/input, then run

python 4_test.py

for testing. Finally, for evalutation you can run

python 5_eval.py

4.Inference

For inference, you can run

python 6_predict.py

for detecting your images.

5.Citation

@article{zou2021measuring,
  title={Measuring the rogue wave pattern triggered from Gaussian perturbations by deep learning},
  author={Liwen Zou, XinHang Luo, Delu Zeng, Liming Ling and Li-Chen Zhao},
  journal={arXiv preprint arXiv:2109.08909},
  year={2021}
}

6.Acknowledgements

Part of codes are reused from the SKU110K. Thanks to Eran Goldman et al. for the codes of SKU-110K detector.

7.Contact

Liwen Zou([email protected])

roguewave's People

Contributors

zouliwen-1999 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.