Closed afiaka87 closed 1 year ago
Great addition! Just to let you know simple top 1 reranking is built in to prior sampling using the num_samples_per_batch
parameter. I see you are using a more complicated reranking scheme so it's not quite the same, but that is a simpler method. Also, since the default num_samples_per_batch
is 2, reranking 20 prior samples times is actually the top of 40 embeddings generated. The notebook also does that, but if doing manual reranking I'd suggest setting that to 1 just so it's honest about how many are being reranked.
@Veldrovive thanks ha, that makes much more sense.
I currently have an unpushed version that adds support for upscaling using the released GLIDE upsampler - is that something we would consider adding to the main branch here until the upscaler are trained?
I currently have an unpushed version that adds support for upscaling using the released GLIDE upsampler - is that something we would consider adding to the main branch here until the upscaler are trained?
Could you share some results using the GLIDE upsampler? I experimented this one afternoon and got subpar results, but it would be awesome if you had a better implementation than I did
@nousr
Sure thing. Yeah it's not the best upsampler, but it was trained specifically for 64x64 -> 256x256 and is "only" ~350M params, so that's convenient at least.
just closing this as its been stale for quite some time now...
stable diffusion happened, also we moved a bunch of stuff around in this repo -- if there's still interest ofc feel free to re-open
This PR adds support for the tool
cog
which sets up a docker container for prediction.Can be run by using:
Or you can set up a flask endpoint like this:
I intend to add some docs to the README for this as well as fixing some bugs and getting the CLIP rerank working.