Giter Site home page Giter Site logo

trt2022's Introduction

trt2022

trt2022比赛,银河飞车队的仓库


总述

本次比赛我们选择优化的模型是MaxViT, 其 unoffical implemention 在这里

原始模型

模型简介

MaxViT(Multi-axis Vision Transformer), 是 Google Research and University of Texas at Austin 在 2022 年提出的一个 ViT(Vision Transformer) 模型, 相比于传统的 ViT 模型,其主要的创新点是引入了 Multi-axis Attention 机制,包括 blocked local and dilated global attention 两部分。 Attention 其网络结构保持了传统 CNN 的简洁性 Arch 在图像分类任务上取得了 state of the art 的效果,而且其作为 backbone 也可以应用到 CV 的多个 Task 中。 Accuracy

模型优化的难点

  1. Multi-axis Attention 需要实现 plugin 以提高性能。
  2. 模型搭建需要两个步骤,Pytorch -> ONNX -> TensorRT,可能转换失败或者引入多余的胶水OP,需要图优化策略。
  3. 应用 fp16 和 int8 post train quant。
  4. 作为 backbone 测试 CV 其他 task。

trt2022's People

Contributors

changcui avatar wuzy361 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.