Coder Social home page Coder Social logo

wushichao / gw-detection-deep-learning Goto Github PK

View Code? Open in Web Editor NEW

This project forked from vivinousi/gw-detection-deep-learning

0.0 1.0 0.0 1.24 MB

Gravitational wave detection in real noise timeseries using deep residual neural networks

License: Apache License 2.0

Shell 4.26% Python 95.74%

gw-detection-deep-learning's Introduction

AResGW: Gravitational Wave Detection using Deep Residual Networks

Gravitational wave detection in real noise timeseries using deep residual neural networks.

This repository contains the method submitted by our team, Virgo-AUTH, to the MLGWSC competition. Our method contains the following components:

  1. A whitening module implemented in pytorch
  2. An adaptive normalization layer (DAIN) for non-stationary timeseries
  3. A ResNet backbone with a depth of 54 layers
  4. Training with over 600K samples

Training

TBA

Testing

The deploy_model.py script is the main method used for testing. Following the rules of the competition, this script expects only two inputs: the input foreground/background file (generated by generate_data.py), and the name of the file where the resulting predictions or events will be saved to. An example of usage can be found in the run_on_test.sh script, explained below:

# creation of the directory where results will be saved
mkdir results
# run model on foreground, using GPU0 and save results
CUDA_VISIBLE_DEVICES="0" python3 deploy_model.py dataset-4/v2/test_foreground_s4w6_1.hdf results/test_fgevents_s4w6_1.hdf
# run model on background, using GPU0 and save results
CUDA_VISIBLE_DEVICES="0" python3 deploy_model.py dataset-4/v2/test_background_s4w6_1.hdf results/test_bgevents_s4w6_1.hdf
# the following files can be found in the original competition repository:
# https://github.com/gwastro/ml-mock-data-challenge-1
# and are required for evaluation and visualization of results
./evaluate.py --injection-file dataset-4/v2/test_injections_s4w6_1.hdf --foreground-events results/test_fgevents_s4w6_1.hdf --foreground-files dataset-4/v2/test_foreground_s4w6_1.hdf --background-events results/test_bgevents_s4w6_1.hdf --output-file results/test_eval_output_s4w6_1.hdf --verbose
python3 contributions/sensitivity_plot.py --files results/test_eval_output_s4w6_1.hdf --output results/test_eval_output_s4w6_1_plot.png --no-tex

Citations

@article{tba,
  title={In writing},
  author={},
  journal={},
  year={}
}

gw-detection-deep-learning's People

Contributors

vivinousi avatar

Watchers

 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.