Installation
How to install pixray
These snippets are applicable for Colab users that cannot access the command line.
Due to the nature of colab, installing these requirements in a cell requires a runtime restart to properly load all libraries and ensure that pixray runs smoothly. After installation, the cell for installation need not be run again for the rest of the session, even after more runtime restarts.
After restarting every time, this line should be run to ensure that the python interpreter knows where to find the pixray module.
a simple working snippet for Colab may be: (note that pixray also needs a models directory, at the moment unfortunately)
Note: if diffvg is not installed, pixray can still be used for vqgan generation
Note: pixray works well with 16GB RAM, working with less RAM is fine, but see Working with weaker machines for detailed solutions.
Last updated