Giter Club home page Giter Club logo

codeformer-onnxrun-cpp-py's Introduction

CodeFormer-onnxrun-cpp-py

使用ONNXRuntime部署CodeFormer图像清晰修复,包含C++和Python两个版本的程序。 CodeFormer是一个很有名的图像超分辨率模型,它是NeurIPS 2022会议论文。

训练源码在https://github.com/sczhou/CodeFormer

onnx文件在百度云盘,下载链接:https://pan.baidu.com/s/18g918VdcyODdVcSOCLutOA?pwd=ixre 提取码:ixre

在编写完程序后,测试了多张图片,发现如果输入图片本身是清晰的图片,那么经过CodeFormer的推理之后, 得到的图片反而变形走样了,使得图片变得不清晰了。因此,一套合理的程序是,在执行CodeFormer之前, 对输入图片做一个模糊检测,如果判定图片是模糊的,才能输入到CodeFormer。试验分析,可以看我的 csdn博客文章 https://blog.csdn.net/nihate/article/details/112731327

codeformer-onnxrun-cpp-py's People

Contributors

hpc203 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

codeformer-onnxrun-cpp-py's Issues

关于模型测试

hi,感谢分享!很棒的工作。
请问是否校验过onnx输出与原版pytorch输出结果是否一致,以及onnx对推理有加速吗?谢谢。

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.