This is a quick and dirty fork/hack of the sd_dreambooth_training notebook to run on paperspace. It's far from ideal.
To setup on paperspace follow this guide: https://kyrickyoung.notion.site/How-to-SD-Dreambooth-on-Paperspace-23fa0432332546ef8d4e13fb483ac2d2