divamgupta / divamgupta/stable-diffusion-tensorflow

Load model without the image size

Open
#59 4 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
1.6k
Forks
229
PR merge metrics
No merged PRs in 30d

Description

The current version of TF Stable Diffusion needs the image width and height to load the model.

`def get_models(img_height, img_width, download_weights=True):`

Indeed, the graph is built again if there is another image with a different size.

Is it possible to load the model without specifying the width and height? It would save a lot of time...

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.