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

Refactor Torch-space upscale fully out of ScuNET/SwinIR #14484

Merged
merged 1 commit into from
Jan 2, 2024

Conversation

akx
Copy link
Collaborator

@akx akx commented Dec 31, 2023

Description

Continues where #14476 left off. Please ignore the branch name, this got on a tangent.

This PR refactors the PIL-to-tensor-and-back code from the ScuNET/SwinIR into more reusable helpers.

Next we'll probably want to see whether to use the Torch tiling code or the PIL tiling code.

Screenshots/videos:

No user-facing changes. Again, this works on my Macbook, but I think there could be some device/dtype strangeness I'd appreciate other people to poke at too 😁

Checklist:

@akx akx force-pushed the swinir-resample-for-div8 branch 2 times, most recently from ca93008 to 30cac6a Compare January 1, 2024 17:17
@akx akx marked this pull request as ready for review January 2, 2024 06:58
@AUTOMATIC1111 AUTOMATIC1111 merged commit 51f1cca into AUTOMATIC1111:dev Jan 2, 2024
3 checks passed
@akx akx deleted the swinir-resample-for-div8 branch January 2, 2024 09:34
@w-e-w w-e-w mentioned this pull request Feb 17, 2024
@pawel665j pawel665j mentioned this pull request Apr 16, 2024
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.

2 participants