Haloopinate allows users to leverage the power of deep learning to hallucinate an infinitely-looping psychedelic GIF based on an input image. It can be accessed through a user-friendly GUI or through a command-line interface, where more hyperparameters options are exposed. Haloopinate was submitted as an entry for Treasure Hacks 3.5 (Devpost TBD).
Haloopinate was inspired by the recent and significant advances in deep learning for the visual arts, with models such as Midjourney. These models can contain billions of parameters, which would be too unwieldy to adapt for a one-day hackathon. In our brainstorming session, we recalled the older yet more tractable technique of DeepDreaming [1], which can produce wild psychedelic images that are both mesmerizing and disorienting. We thought that if we could continuously stitch together these images that it would make for a cool GIF, which ultimately led to the "inception" of this project!
Install all necessary dependencies with:
pip install -r requirements.txt
The command-line interface (CLI) relies only on torch, torchvision, and imageio.
Haloopinate comes with a CLI that exposes more hyperparameter options:
python -m haloopinate.run --help
To get the frontend up and running,
- Go into the frontend folder using:
cd frontend
- Install all the required modules with:
npm install
- Lastly, start the app with:
npm start
To get the backend running,
- Go into the frontend folder using:
cd frontend
- Start the backend with:
npm run start-backend
- [1] The original DeepDream blog post
- [2] Aleksa Gordić’s DeepDream implementation

