Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Switch our model loading code to use Spandrel + support FBCNN (#2330)
* initial spandrel implementation * bump spandrel to 0.0.2 * fix pytorch inputs * idk how this happened * fix some type issues * Add FBCNN support to upscale image * add missing future annotations * switch to using union * Apply suggestions from code review Co-authored-by: Michael Schmidt <mitchi5000.ms@googlemail.com> * PR suggestions * future proof saving function (assuming we get rid of the state_dict property * update spandrel --------- Co-authored-by: Michael Schmidt <mitchi5000.ms@googlemail.com>
- Loading branch information