chaiNNer-org / spandrel

Spandrel gives your project support for various PyTorch architectures meant for AI Super-Resolution, restoration, and inpainting. Based on the model support implemented in chaiNNer.
MIT License
139 stars 12 forks source link

Add a test for GFPGAN #87

Closed akx closed 9 months ago

akx commented 9 months ago

Same here as in #85: GFPGAN very much seems to be scale=1.

Might be a good idea to wait until #92 is resolved one way or another before merging this and adding another 400 KiB blob.

akx commented 9 months ago

Oh dear, GFPGAN doesn't seem to be deterministic...

EDIT: all tests now set a fixed seed for all relevant RNGs I can think of.