Git Product home page Git Product logo

efficientdet-tf2's Introduction

Updates

  • Apr21: Fixed a few bugs and update readme.
  • Apr24: Update config
  • Apr25: add voc mAP metric

1. efficientdet-tf2

[1] Mingxing Tan, Ruoming Pang, Quoc V. Le. EfficientDet: Scalable and Efficient Object Detection. CVPR 2020. Arxiv link: https://arxiv.org/abs/1911.09070 [2] https://github.com/google/automl

This is the tf2.0 version of efficientdet.

2. Pretrained EfficientDet Checkpoints

The checkpoints and results is here.

3. Saved model

python3 -m inferences.efficientdet --input_size=512x512

Note! We should add the checkpoints to pretrained_weights. The default model is efficientdet-d0, if you want to use others, you should modify the configs/efficiendet_configs.py.

The new efficientdet-d0 implementation run around 26ms, faster than official TF version, because we use combined_non_maximum instead the official version NMS (the input size is 512x512, the official efficientdet-d0 is 1280x1920). Note, run this test on P4000 GPU, ubuntu 18.04.

4. Tensorrt

python3 -m inferences.efficientdet --mode=FP16 --saved_model_dir=./saved_model/efficientdet-d0/1  --output_dir=./trt_model/efficientdet-d0/1

Note, only support FP16 and FP32.

4. Run demo

python3 demo.py --saved_model ./saved_model/efficientdet-d0/1 --video_path xxx.mp4

efficientdet-tf2's People

Contributors

wavce 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

Watchers

 avatar  avatar

efficientdet-tf2's Issues

Tensorflow warning problem

Hi. I follow your code and test demo.py with tensorflow-gpu 2.0.0 . It returns a lot of warning like "WARNING:tensorflow:Importing a function (__inference_efficient_det_layer_call_and_return_conditional_losses_89614) with ops with custom gradients. Will likely fail if a gradient is requested."I guess the problem is the version of Tensorflow. Could you list detailed Tensorflow version for this code?

mAP on public dataset

Hi really appreciate your contribution! Could you share the mAP values for any standard dataset like COCO or VOC on one or more efficient net backbones. Thanks!

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.