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

[TRT] Support RealESRGAN #441

Merged
merged 2 commits into from
Oct 25, 2024
Merged

Conversation

wangzijian1010
Copy link
Collaborator

This pull request introduces support for TensorRT-based Real-ESRGAN upscaling in the lite module. The most important changes include the addition of a new test function, updates to the models.h file to include the new model, and the implementation of the Real-ESRGAN class for TensorRT.

TensorRT Real-ESRGAN Integration:

  • New Test Function:

  • Model Header Updates:

    • Included trt_realesrgan.h in the models.h file. (lite/models.h, lite/models.hR137)
    • Added typedef for TRTRealESRGAN and nested it within the upscale namespace. (lite/models.h, [1] [2]
  • Real-ESRGAN Implementation:

@wangzijian1010 wangzijian1010 self-assigned this Oct 25, 2024
Copy link
Owner

@DefTruth DefTruth left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM~

@wangzijian1010 wangzijian1010 merged commit 557521d into DefTruth:main Oct 25, 2024
@wangzijian1010 wangzijian1010 deleted the trt_realesrgan branch November 4, 2024 09:51
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