This is a setup script for LIVE, a novel image vectorization method where you gain control over the amount of forms and paths of the resulting vector image.
LIVE depends on deprecated libraries. The standard Ubuntu package manager does not list its requirements anymore in newer releases than Ubuntu 18.04 LTS. Since Google Colab does not support Ubuntu 18.04 LTS any longer, the notebook provided by the authors of LIVE does not work anymore.
This script takes away all the finnicky bits of setting up an environment for this pile of deprecated libraries and packages.
- Having CUDA compatible hardware, the script will install the Nvidia CUDA toolkit in version 11.7
- Instantiating a fresh installation of Ubuntu 18.04 LTS
- Possessing
sudo
rights - Pulling this repository
After fulfilling the prerequisites, run the following command:
source live-prerequisites.sh
Yes, the setup script is not optimal. It would work without poetry
but I accidentally made it working inside its own sub-shell first and did not have the time to fix it yet.