GithubHelp home page GithubHelp logo

yolox_torch2tf's Introduction

Introduction

Translating the model in yolox to tensorflow2.0.
you should download yolox model: yolox_s, yolox_m, yolox_l, yolox_x, yolox_nano, yolox_tiny in exp folder( see the content ).
Supported tensorflow: tensorflow saved_model, tflite

Content

  • yolox_torch2tf
    • datasets
      • datasets.py
    • exp
      • export.py
      • para.py
    • models
      • tf_darknet.py
      • tf_network_blocks.py
      • tf_yolo_head.py
      • tf_yolo_pafpn.py

yolox_torch2tf: root.
datasets: to export tflite int8, download coco128 there as .\datasets\coco128.
models: model translation code with tensorflow.
exp: export code and save tf model, you also need download yolox model to this folder.

Usage

parameter int8 only for tflite int8, otherwise please ignore it.

    python path/to/export.py -n yolox_nano --tsize 640 --include saved_model --device cpu --int8
                                yolox_tiny                       tflite               gpu
                                yolox_s
                                yolox_x
                                yolox_m
                                yolox_l

yolox_torch2tf's People

Contributors

alter-y avatar

Watchers

 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.