-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
refactoring and typing #25
base: main
Are you sure you want to change the base?
Conversation
We can also remove "Pipe" from class names in pipes.py It is clear anyway that in module pipes we have some pipes |
I removed Pipe from class names as redundant. It still very clear from Prompt2Im what class is doing without "Pipe". other renames: |
This is a weak argument to rename all the classes introducing breaking changes. In diffusers, many classes start with "StableDiffusion" and end with "Pipeline", although this also is obvious. Since different points of view on naming exist, and no approach is unconditionally supreme, introducing such breaking changes without necessity is simply a bad practice. It should also be added that other classes are envisioned in metafusion, which will not be Pipes, so it makes sense to distinguish them by naming convention.
This is a bad name, because it is obvious that these are default values, but it is not obvious what "cs" is. If renaming is introduced, it should really be superior (and hopefully optimal).
This is a bad name, since there is no sense in transforming ControlNet to Im. And why ControlNet is fully written, while Im is not? It is also important to make naming of all Pipe classes consistent, while this renaming contradicts to both Im2ImPipe and Cond2ImPipe. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
See comments above.
default_cs is superior to cscalem, because what "calem" or "alem" even means? Other variants I can suggest: |
"scale" means scale. Thus,
I don't have strong preferences over |
Yes, but what scalem means? |
I don't even remember. It is a temporary name. |
No description provided.