Skip to content

Implementation of a Variational Autoencoder (VAE) for meandering river images using PyTorch

License

Notifications You must be signed in to change notification settings

cori4nder/vae-meandering-rivers

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🏞️ Variational Autoencoder for Meandering Rivers

This repository contains an implementation of a Variational Autoencoder (VAE) model for generating 128x128 images of meandering rivers.

Meandering River PNG
Meandering River GIF

🛠️ Requirements

PyPI - PyTorch PyPI - NumPy PyPI - Pandas PyPI - Scikit-Learn PyPI - Matplotlib PyPI - Pillow

🚀 Usage

📓 Notebooks

Fully Connected

Fully Convolutional

GIFs & Videos

📦 Installing Dependencies

You can install all the necessary dependencies listed in the requirements.txt file using one of the following methods:

1. Using pip from the terminal

If you are in the root directory of the project, where the requirements.txt file is located, run:

$ pip install -r requirements.txt

🤖 Train

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.

About

Implementation of a Variational Autoencoder (VAE) for meandering river images using PyTorch

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published