Skip to content

wonderit/maxwellfdfd-ai

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Data download

  1. Download Data
  • download by command (mac)

    ./download.sh 
  • download by link

    download and unzip under folder named 'data'

    data.zip

  1. Download trained models

    download and unzip models of the paper

    models_paper.zip

    models_paper_mean_std.zip

Conda Setting

curl -O https://repo.anaconda.com/archive/Anaconda3-2019.10-Linux-x86_64.sh
sha256sum Anaconda3-2019.10-Linux-x86_64.sh
bash Anaconda3-2019.10-Linux-x86_64.sh

conda create -n maxwellfdfd-ai python=3.7
conda activate maxwellfdfd-ai
pip install -r requirements.txt

Run script

  • Train

    • default
    python train.py 
    • different model, loss function
    python train.py -m rf -l diff_rmse
  • Test

    python test.py 
    python test_ensemble.py
  • Evaluate single data

    python evaluate.py 

To generate the data please visit the following GitHub URL :

https://github.com/wonderit/maxwellfdfd

How to Cite

Kim, W., Seok, J. Simulation acceleration for transmittance of electromagnetic waves in 2D slit arrays using deep learning. Sci Rep 10, 10535 (2020). https://doi.org/10.1038/s41598-020-67545-x

About

Simulation acceleration for the transmittance of electromagnetic waves in 2D slit arrays using deep learning

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published