A collection of scripts to aid in various tasks related to AI model training and data preparation.
This repository contains a set of Python scripts designed to simplify and automate tasks such as data preparation, model training, and image processing. These scripts are intended to be used as tools to help with the development and training of AI models.
The following scripts are included in this repository:
Script | Description | Documentation |
---|---|---|
article.py |
Generates articles based on the style and content of provided Substack article URLs. | View Documentation |
batch-generate.py |
Automates the process of generating image prompts and creating images based on these prompts. | View Documentation |
description-to-tags.py |
Converts image descriptions to tags for use in image classification models. | View Documentation |
description-to-nl.py |
Converts image descriptions to natural language for use in image classification models. | View Documentation |
img-to-square.py |
Resizes images to a square shape while maintaining their aspect ratio. | View Documentation |
upscale-dataset.py |
Upscales a dataset of images using a specified model. | View Documentation |
vae-process.py |
Reencodes images using a Variational Autoencoder (VAE) model. | View Documentation |
- Python 3.6 or higher
- Various dependencies specific to each script (see documentation for details)
To use these scripts, simply clone this repository and navigate to the directory containing the script you want to use. Run the script using Python, following the usage instructions in the documentation.
Contributions are welcome! If you have a script that you think would be useful to others, feel free to submit a pull request.
These scripts are released under the MIT License. See the LICENSE file for details.