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
112 stars 7 forks source link

Add fuzzing for size requirements #122

Closed RunDevelopment closed 6 months ago

RunDevelopment commented 6 months ago

Size requirements aren't tested right now and can be wrong (#121).

Add a test method that tests the correctness of the size requirements of a model by running it on small generated input images that fulfill the size requirements. Basically, we will try a bunch of different image sizes to see whether any cause problems (throw error or invalid output).

RunDevelopment commented 6 months ago

Fixed by #126