Coder Social home page Coder Social logo

texasinstruments / edgeai-yolox Goto Github PK

View Code? Open in Web Editor NEW

This project forked from megvii-basedetection/yolox

155.0 2.0 31.0 8.05 MB

YOLOX-ti-lite models are optimized for deployment on TI edge processors

License: Other

Python 92.82% C++ 4.00% Shell 3.18%

edgeai-yolox's Introduction

YOLOX based Models

This repository is a fork of YOLOX. This contains the enhancements of the YOLOX repository for supporting additional tasks and embedded friendly ti_lite models.

Installation

Step1. Install YOLOX.

./setup.sh

Step2. Install pycocotools.

pip3 install cython; pip3 install 'git+https://github.com/cocodataset/cocoapi.git#subdirectory=PythonAPI'

Tasks supported

  • 2D Detection (with Ti-lite models)

    • These YOLOX based 2D detection models are optimized for TI processors.
    • Refer to this readme for further details.
  • 6D Pose Estimation

    • 6D pose estimation or object pose estimation aims to estimate the 3D orientation and 3D translation of objects in a given environment. In this work, we propose a multi-object 6D pose estimation framework by enhancing the YOLOX object detector. The network is end-to-end trainable and detects each object along with its pose from a single RGB image without any additional post-processing.
    • Refer to this readme for further details.
  • Keypoint Detection / Human Pose Estimation

    • Multi person 2D pose estimation is the task of understanding humans in an image. Given an input image, target is to detect each person and localize their body joints. In this work, we introduce a novel heatmap-free approach for joint detection, and 2D multi-person pose estimation in an image based on the popular YOLO object detection framework.
    • In general, this can be called Keypoint Detection or 2D Pose Estimation.
    • Refer to readme for further details.

Sample Inferences

  • Given below are sample inferences for the tasks of human pose estimation and 6d pose estimation.

    Human Pose Estimation 6D Pose Estimation

Note:

See the original documentation

edgeai-yolox's People

Contributors

amazingzby avatar ankandrew avatar cmdbug avatar debapriyamaji avatar deftruth avatar developer0hye avatar f0xzz avatar fatescript avatar goatmessi7 avatar haolongzhangm avatar hhngdcz avatar imneonizer avatar jario-jin avatar joker316701882 avatar lgd-ti-fighting avatar nihui avatar pinto0309 avatar r-b-g-b avatar rangilyu avatar ryuzuki1204 avatar shachargluska avatar swhl avatar tonysy avatar waynemao avatar wwqgtxx avatar xiguadong avatar xxr3376 avatar yahoo17 avatar yusufpraditya avatar zhiqwang 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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  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

edgeai-yolox's Issues

6d pose onnx example models not working

Hi!

I am trying to run the demo code from https://github.com/TexasInstruments/edgeai-yolox/blob/main/README_6d_pose.md
using one of these models
image

and running

cd demo/ONNXRuntime
# Run inference on a set of sample images
python onnx_inference_object_pose.py --model "path_to_onnx_model"  --image-folder "path-to-input-images" --output-dir "ops_onnxrt" 

but the output folder with the bbox is always empty.

I am also trying to run this in onnx runtime directly but the result is always empty.

Would it be possible to say if the examples have to be setup in any way or the example code as extra requirements that are not explicit or what i could be doing wrong?

Thanks!

maxpool

maxpool
Do you optimize the maxpool process as this optimizer figure.......

Dataset conversion from Yolo to COCO

Hello,

I am currently utilizing Yolov8-pose models to obtain predictions and corresponding labels in YOLO format for human pose estimation. However, I'm interested in finding out if there's a method to transform these labels from YOLO format into COCO format (.json file). This is because I aim to train Yolox-pose models using the annotations derived from the output of Yolov8-pose models.

About The Paper

Hello! I want to ask where is the link of the paper YOLO-6D-Pose: Enhancing YOLO for Multi Object 6D Pose Estimation which detailedly describes your algorithm?

TFLite export

Did anybody here try to export the onnx models to TFLite using onnx2tf?

I am running:

onnx2tf -i ~/edgeai-yolox/yolox_nano.onnx -o yolox_nano_saved_model

and get the following error

ERROR: input_onnx_file_path: /datadrive/mikel/edgeai-yolox/yolox_nano.onnx
ERROR: onnx_op_name: /head/ScatterND
ERROR: Read this and deal with it. https://github.com/PINTO0309/onnx2tf#parameter-replacement
ERROR: Alternatively, if the input OP has a dynamic dimension, use the -b or -ois option to rewrite it to a static shape and try again.
ERROR: If the input OP of ONNX before conversion is NHWC or an irregular channel arrangement other than NCHW, use the -kt or -kat option.
ERROR: Also, for models that include NonMaxSuppression in the post-processing, try the -onwdt option.

Any help is appreciated ๐Ÿ˜„

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.