Skip to content
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

Update Spandrel again + fixes #2359

Merged
merged 4 commits into from Dec 1, 2023
Merged

Update Spandrel again + fixes #2359

merged 4 commits into from Dec 1, 2023

Conversation

joeyballentine
Copy link
Member

My last PR didn't switch to using the new call API, for models like MM-RealSR weren't working. Also, since the call API is type-safe, I was able to see that inpainting models would never be able to be interpolated since we weren't handling their two-image parameter requirement.

I'm unable to use the call API for face inference though, since codeformer has no option for its weight through that. That's not too much of an issue though.

Side note: We'll probably want to add a method to go alongside the call api that does the same thing. I realized when doing this that when you use the call API, you can't hover over anything to have vscode show you the args of the function.

@RunDevelopment
Copy link
Member

We'll probably want to add a method to go alongside the call api that does the same thing. I realized when doing this that when you use the call API, you can't hover over anything to have vscode show you the args of the function.

Can't you just do __call__() to see that?

image

Co-authored-by: Michael Schmidt <mitchi5000.ms@googlemail.com>
@joeyballentine
Copy link
Member Author

Can't you just do call() to see that?

Yes. But that's bad python code to write it that way and it's kinds inconvenient to have to temporarily swap to that

@joeyballentine joeyballentine merged commit f13c00f into main Dec 1, 2023
14 checks passed
@joeyballentine joeyballentine deleted the Update-Spandrel branch December 1, 2023 18:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants