Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dribnet/pixray
neural image generation
https://github.com/dribnet/pixray
Last synced: 1 day ago
JSON representation
neural image generation
- Host: GitHub
- URL: https://github.com/dribnet/pixray
- Owner: dribnet
- License: other
- Created: 2021-09-08T17:52:32.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2021-12-23T01:36:11.000Z (about 3 years ago)
- Last Synced: 2025-02-13T10:14:23.523Z (8 days ago)
- Language: Python
- Homepage:
- Size: 744 KB
- Stars: 404
- Watchers: 14
- Forks: 52
- Open Issues: 16
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# pixray
## NOTICE: This is an archived version of this repository. The [latest versions are here](https://github.com/pixray/pixray).

Pixray is an image generation system. It combines previous ideas including:
* [Perception Engines](https://github.com/dribnet/perceptionengines) which uses image augmentation and iteratively optimises images against an ensemble of classifiers
* [CLIP guided GAN imagery](https://alexasteinbruck.medium.com/vqgan-clip-how-does-it-work-210a5dca5e52) from [Ryan Murdoch](https://twitter.com/advadnoun) and [Katherine Crowson](https://github.com/crowsonkb) as well as modifictions such as [CLIPDraw](https://twitter.com/kvfrans/status/1409933704856674304) from Kevin Frans
* Useful ways of navigating latent space from [Sampling Generative Networks](https://github.com/dribnet/plat)
* (more to come)pixray it itself a python library and command line utility, but is also friendly to running on line in Google Colab notebooks.
There is currently [some documentation on options](https://dazhizhong.gitbook.io/pixray-docs/docs). Also checkout [THE DEMO NOTEBOOKS](https://github.com/dribnet/clipit/tree/master/demos) - especially the super simple "Start Here" colab or join in the [discussion on discord](https://discord.gg/x2g9TWrNKe).
## Usage
Pixray can be run in Docker using [Cog](https://github.com/replicate/cog).
First, [install Docker and Cog](https://github.com/replicate/cog#install), then you can use `cog run` to run Pixray inside Docker. For example:
cog run python pixray.py --drawer=pixel --prompt=sunrise --output myfile.png