Flow Forecast
General:
Model Evaluation
Long Train
Model Dictionaries
Pre Dictionaries
PyTorch Training
Time Model
Trainer
Explain Model Output
Utilities
Deployment
Inference
Preprocessing:
Interpolate Preprocessing
Build FF original Dataset
Closest Station
Data Converter
Preprocess DA RNN
Preprocess Metadata
Process USGS
PyTorch Loaders
Temporal Features
Custom:
Custom Optimizers
TransformerXL:
Dummy Torch Model
I-Transformer Model.
Lower Upper Configuration
Simple Multi Attention Head Model
Basic Transformer
Transformer XL
Convolutional Transformer
Informer
GCP Integration:
Basic Google Cloud Platform Utilities
Flow Forecast
DA_RNN util
View page source
DA_RNN util
flood_forecast.da_rnn.utils.
setup_log
(
tag
=
'VOC_TOPICS'
)
[source]
flood_forecast.da_rnn.utils.
save_or_show_plot
(
file_nm
:
str
,
save
:
bool
,
save_path
=
''
)
[source]
flood_forecast.da_rnn.utils.
numpy_to_tvar
(
x
:
Tensor
)
[source]