项目作者: wonderit

项目描述 :
Simulation acceleration for the transmittance of electromagnetic waves in 2D slit arrays using deep learning
高级语言: Python
项目地址: git://github.com/wonderit/maxwellfdfd-ai.git
创建时间: 2019-08-16T03:15:19Z
项目社区:https://github.com/wonderit/maxwellfdfd-ai

开源协议:

下载


Data download

  1. Download Data
  • download by command (mac)
    shell script ./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

```shell script
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

  1. # Run script
  2. * Train
  3. - default
  4. ```shell script
  5. python train.py
  1. - different model, loss function
  2. ```shell script
  3. python train.py -m rf -l diff_rmse
  4. ```
  • Test
    shell script python test.py python test_ensemble.py

  • Evaluate single data

    shell script 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