Are you sure you want to delete this access key?
This repo contains the files needed to build a Docker image, which can train Minimagen on LAION-Aesthetics V2.
It does so by using the Direct Data Access (DDA) to stream the large dataset to the Docker container at runtime.
This allows you to:
The training script will log training parameters, metrics, and artifacts to an MLflow server connected to a DagsHub repo of your choice.
To build the Docker image as is, run:
docker build -t minimagen .
To start training, spin up a Docker container and pass in the appropriate environment variable and training parameters:
docker run --rm --name minimagen-test \
--gpus all \
-e DAGSHUB_TOKEN=<token> \
-e DAGSHUB_USER_NAME=<username> \
-e DAGSHUB_REPO_NAME=<repo_to_write_to> \
minimagen:latest --BATCH_SIZE 2 --TIMESTEPS 25 --TESTING
Here:
DAGSHUB_TOKEN
is your access token to DagsHub (generated here)DAGSHUB_USER_NAME
is the user name for the DagsHub account you want to useDAGSHUB_REPO_NAME
is the repo name to send MLflow training parameters, metrics, and artifacts toBATCH_SIZE
is the batch size to run withTIMESTEPS
is the number of steps to train onTESTING
limits the number of images to train/validate on to 16 (to test the pipeline)Press p or to see the previous file or, n or to see the next file
A repository that can generate a Docker image to train Minimagen
https://dagshub.com/blog/use-kubeflow-with-dagshub/Are you sure you want to delete this access key?
Are you sure you want to delete this access key?
Are you sure you want to delete this access key?
Are you sure you want to delete this access key?