Giter Site home page Giter Site logo

sr_tensorflow's Introduction

Tensorflow for Super-resolution deployment

这是一个完整的部署超分辨率模型到安卓设备的解决方案,包含了模型的训练,测试,量化导出以及部署。

本仓库包含模型的训练,测试,量化导出部分,具体如何将导出模型部署在安卓设备上见另一仓库

环境配置

由于tensorflow各个版本之间API接口以及支持的量化算子区别,在该项目中用到的tensorflow有以下三个版本:

  • tensorflow2.3 -> 负责模型训练
  • tensorflow2.8 -> 负责模型转换为tflite, 模型量化
  • tensorflow2.16.1 -> 负责模型推理,最终部署在android上的是这个版本

相应的环境依赖如下:

name: tensorflow2.3
dependencies:
- python=3.6
- cudatoolkit=10.1
- pip:
  - tensorflow==2.3.1
  - tensorflow-addons==0.11.2

name: tensorflow2.8
dependencies:
- python=3.9
- cudatoolkit=11.3
- pip:
  - tensorflow-gpu==2.8.0

name: tensorflow2.16
dependencies:
- python=3.11
- pip:
  - tensorflow==2.16.1
  - tensorflow-addons==0.23.0
  - tensorflow-probability==0.24.0

Introduction

sr_tensorflow's People

Contributors

monaco12138 avatar

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.