XPixelGroup / HAT

CVPR2023 - Activating More Pixels in Image Super-Resolution Transformer Arxiv - HAT: Hybrid Attention Transformer for Image Restoration
Apache License 2.0
1.14k stars 134 forks source link

Running without cog package? #146

Open ajw2023 opened 3 weeks ago

ajw2023 commented 3 weeks ago

When I try to test the single-image inference with python hat/test.py -opt options/test/HAT_SRx4_ImageNet-LR.yml, VScode throws the problem 'Import "cog.yaml" could not be resolved'. Cog (the software package) is not listed as a dependency in the readme or requirements.txt, and I do not want to install it (or go out of my way to use Replicate, which is not free!). Is running HAS possible without Cog or Replicate??