Skip to content

Commit

Permalink
Switch our model loading code to use Spandrel + support FBCNN (#2330)
Browse files Browse the repository at this point in the history
* 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
joeyballentine and RunDevelopment authored Nov 21, 2023
1 parent e4cee69 commit 9850f9c
Show file tree
Hide file tree
Showing 70 changed files with 162 additions and 22,017 deletions.
1,182 changes: 0 additions & 1,182 deletions backend/src/nodes/impl/pytorch/architecture/DAT.py

This file was deleted.

1,277 changes: 0 additions & 1,277 deletions backend/src/nodes/impl/pytorch/architecture/HAT.py

This file was deleted.

201 changes: 0 additions & 201 deletions backend/src/nodes/impl/pytorch/architecture/LICENSE-DAT

This file was deleted.

Loading

0 comments on commit 9850f9c

Please sign in to comment.