Skip to content

Soften Spandrel model-architecture check to just a warning#14473

Merged
AUTOMATIC1111 merged 1 commit intoAUTOMATIC1111:devfrom
akx:soften-model-arch-check
Dec 30, 2023
Merged

Soften Spandrel model-architecture check to just a warning#14473
AUTOMATIC1111 merged 1 commit intoAUTOMATIC1111:devfrom
akx:soften-model-arch-check

Conversation

@akx
Copy link
Collaborator

@akx akx commented Dec 30, 2023

Description

As reported by @w-e-w, RealESRGAN_x4plus.pth doesn't work post #14425 since it's identified as just ESRGAN.

Upscaling inference does work nevertheless though, so this softens the TypeError to a log warning (and makes it better).

Checklist:

@akx akx requested a review from AUTOMATIC1111 as a code owner December 30, 2023 19:07
@AUTOMATIC1111 AUTOMATIC1111 merged commit a86f441 into AUTOMATIC1111:dev Dec 30, 2023
@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