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

Add detection for PLKSR's `lk_type` parameter #264

Closed RunDevelopment closed 4 months ago

RunDevelopment commented 4 months ago

Fixes #256.

Detecting parameters for lk_type="SparsePLK" turned out to be close to impossible. We can derive some information, but we'd have to make assumptions to get actual values for hyperparameters. Since I don't know what assumptions we can/should make, I just didn't detect anything.

I also shuffled some code around.