This repository contains an implementation of a Variational Autoencoder (VAE) model for generating 128x128 images of meandering rivers.
Fully Connected
Fully Convolutional
GIFs & Videos
You can install all the necessary dependencies listed in the requirements.txt
file using one of the following methods:
If you are in the root directory of the project, where the requirements.txt
file is located, run:
$ pip install -r requirements.txt
If you prefer to run the model directly without using the notebooks, you can execute the training script from the terminal:
Fully Connected
!python train.py --path "./train_images.h5" --model fconnected --batch_size 128 --epochs 100
Fully Convolutional
!python train.py --path "./train_images.h5" --model fconv --batch_size 128 --epochs 100
This will start the training process using the train.py
script, which is configured to load the dataset, prepare the model, and begin training.