Git Product home page Git Product logo

tectransformer's Introduction

TEC_prediction

Using a Transformer-base model to predict global TEC(Total Electron Content)

使用Transformer模型在全球電離層預測

Transformer

訓練

指令注釋

python main.py --epochs 需要的訓練代數 --batch_size 批次數 --train_path 訓練資料路徑 --use_model 使用模型

ex. 使用 Transformer 模型訓練40代,批次量32;並使用'txt/train'裡的資料進行訓練(此指令會同時進行模型評估)

python main.py --epochs 40 --batch_size 32 --train_path txt/train --use_model Transformer

其他參數

args:
--train_path         訓練資料檔案目錄
--path_save_model    模型位置
--epoch              訓練代數
--path_save_loss     誤差記錄檔位置
--batch_size         訓練批次量
--use_model          使用模型

檔案

/save_model                           儲存模型的目錄

GIM_TXT_to_csv.py                     GIM Map視覺化等工具

helper.py                             誤差、關聯性係數等視覺化工具

train_model.py                        訓練預測模型

main.py                               主程式檔

model.py                              GIM Map 預測模型

inference.py                          評估模型

dataloader.py                         資料載入

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.