Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for IPT #223

Merged
merged 6 commits into from
Mar 28, 2024
Merged

Add support for IPT #223

merged 6 commits into from
Mar 28, 2024

Conversation

RunDevelopment
Copy link
Member

https://github.com/huawei-noah/Pretrained-IPT

IPT is special in 2 ways:

  1. It supports multiple scales. IPT models can have any number of scales, so a single model can be 2x, 3x, and 4x. I currently deal with this by simply picking the largest scale and using that.
  2. IPT only support images 48x48. To overcome this limitation, the official arch wraps IPT in another class that "chops" any input image into pieces 48x48. Frankly, I do not fully understand this code, so I just copied it for now.

@joeyballentine joeyballentine merged commit a79f973 into main Mar 28, 2024
8 checks passed
@joeyballentine joeyballentine deleted the ipt branch March 28, 2024 14:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants