The code in this repository features a Python implemention of
The code was run successfully using Tensorflow>=2.6.0, using 1 GPU for training
The dataset used for training and testing are available in order to ensure the reproducibility of the results. Please, get in touch using the email address for correspondance in the paper to arrange the transfer. For details of data, please read data description
The
git clone https://github.com/Fantasy98/Towards-extraction-of-orthogonal-and-parsimonious-non-linear-modes-from-turbulent-flows.git
python train_cnn_vae.py
All the training parameters are defined in the train config
Prediction can be performed as follows:
python prediction.py
We offer models with pre-trained parameters in /model folder. The models are saved as format of .h5 file and name as (encoder/decoder) _ (model type) _ (latent dim) _ (beta value).h5
/postprocessing: Codes can be used for evaluating results and plot figures.
/postprocessing/fig: Store the figures plotted by script.
/postprocessing/pred_data: Prediction data generated by three kinds of autoencoders in paper and reconstruction by POD.