deep-forecast-pytorch
Deep Forecast: Deep Learning-based Spatio-Temporal Forecasting
Adapted from original implementation
Clone this repository : git clone https://github.com/Wizaron/deep-forecast-pytorch.git
git clone https://github.com/Wizaron/deep-forecast-pytorch.git
Download and install Anaconda or Miniconda
Go to the "reseg-pytorch/code/pytorch" : cd reseg-pytorch/code/pytorch
cd reseg-pytorch/code/pytorch
Create environment : conda env create -f conda_environment.yml
conda env create -f conda_environment.yml
Activate environment : source activate deep-forecast-pytorch
source activate deep-forecast-pytorch
"data" : Stores data and scripts to prepare dataset for training.
"lib" : Stores miscellaneous scripts for training and testing.
"arch.py" : Defines network architecture
"model.py" : Defines model (Minibatching mechanism, optimization, criterion, fit, predict, etc.)
"prediction.py" : Metrics and plots to evaluate the performance of the trained model
"data.py" : Creates training, validation and testings datasets
"loader.py" : Creates Dataset loader for PyTorch
"train.py" : Main training script.
"test.py" : Main testing script.
"settings.py" : Defines hyper-parameters of the model.
Data is downloaded from IEM
Download data and save it under "data/raw"
To prepare dataset, run the scripts in "data/scripts"
Train : python train.py --data [PATH OF PREPARED DATASET]
python train.py --data [PATH OF PREPARED DATASET]
Test : python test.py --data [PATH OF PREPARED DATASET] --model [PATH OF THE SAVED MODEL]
python test.py --data [PATH OF PREPARED DATASET] --model [PATH OF THE SAVED MODEL]
For more info : python train.py --help, python test.py --help
python train.py --help
python test.py --help
It saves models and logs under "models"
At the end of the training, it saves predictions under "outputs"
It saves predictions under the directory of the model.
上一篇:nmn-pytorch
下一篇:transducer
还没有评论,说两句吧!
热门资源
Keras-ResNeXt
Keras ResNeXt Implementation of ResNeXt models...
seetafaceJNI
项目介绍 基于中科院seetaface2进行封装的JAVA...
spark-corenlp
This package wraps Stanford CoreNLP annotators ...
capsnet-with-caps...
CapsNet with capsule-wise convolution Project ...
inferno-boilerplate
This is a very basic boilerplate example for pe...
智能在线
400-630-6780
聆听.建议反馈
E-mail: support@tusaishared.com