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 CRAFT support #91

Closed IcedShake closed 9 months ago

IcedShake commented 9 months ago

https://github.com/AVC2-UESTC/CRAFT-SR

fp16 hasn't been tested throughly, official 2x, 3x, 4x models and 1x custom models should work though.

IcedShake commented 9 months ago

No idea honestly. I tried doing something similar to test_DAT_tags.

RunDevelopment commented 9 months ago

Ah. That DAT tag test was because of DAT tags are a bit weird (#57). Since CRAFT tags are pretty straightforward, I think it's okay to remove the test.