sborquez / VQGAN_CLIP_docker

Docker for VQGAN+CLIP (z+quantize method)
MIT License
14 stars 7 forks source link

How can i run this without docker? #4

Open shaolinseed opened 3 years ago

shaolinseed commented 3 years ago

Hi there, for my final project at university i would like to create a GUI for vqgan+clip, i would like to run it locally on my machine without using docker, and connect cuda to a python application rather than jupyter?, is this possible?

Thanks

sborquez commented 3 years ago

I don't recommend doing it without docker. First, you can search how to run GUI apps with docker and then make your Dockerfile importing my container.

But, if you want to run without docker, I recommend you to read the Dockerfile and follow the instruction to install the dependencies. https://github.com/sborquez/VQGAN_CLIP_docker/blob/4b082382feead9a61afb451b6a932c41a6b1cdea/Dockerfile#L1-L15

Make sure to use the correct version of CUDA.

It is possible to create a new GUI app without Jupyter. Just use this function as inspiration 😉:

https://github.com/sborquez/VQGAN_CLIP_docker/blob/4b082382feead9a61afb451b6a932c41a6b1cdea/generate_images.py#L228-L330