# m2det **Repository Path**: ytianxing/m2det ## Basic Information - **Project Name**: m2det - **Description**: M2Det implementation using TensorFlow - **Primary Language**: Unknown - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2019-10-17 - **Last Updated**: 2020-12-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # :construction: Work in Progress :construction: # M2Det An implementation of [_Q Zhao et al., "M2Det: A Single-Shot Object Detector based on Multi-Level Feature Pyramid Network", 2019_]( https://arxiv.org/pdf/1811.04533.pdf) using TensorFlow. ## Results COCO 2017 dataset is used for training. ![](data/yolov2_result.jpg) ![](data/yolo_result.jpg) ![](data/innsbruck_result.png) ## Performance To be released. ## Usage ### Requirements - Python 3.6 - TensorFlow 1.8 ### Model :warning: Notice: it's work in progress. ~~You can download the trained model [[weights_2019-01-31]()].~~ To be released before long. ### Run Demo ``` $ python demo.py --inputs --model_path ``` ### How to Train #### I. Prepare dataset Download COCO (2017) dataset from [http://cocodataset.org](http://cocodataset.org) and process them: ``` $ python mscoco/process.py --image_dir --annotation_path --output_dir ``` #### II. Train model ``` $ mkdir weights $ python train.py --image_dir --label_dir ``` ## Note ### With vs. without ImageNet pre-training ImaneNet pre-training is not used. cf. [_Kaiming He et al., "Rethinking ImageNet Pre-training", 2018_]( https://arxiv.org/pdf/1811.08883.pdf) ### Learning rate scheduling To be written. ## License MIT License Copyright (c) 2019 tadax Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.