ssd_keras | A Keras port of Single Shot MultiBox Detector | Machine Learning library

 by   pierluigiferrari Python Version: v0.9.0 License: Apache-2.0

kandi X-RAY | ssd_keras Summary

kandi X-RAY | ssd_keras Summary

ssd_keras is a Python library typically used in Artificial Intelligence, Machine Learning, Deep Learning, Pytorch, Tensorflow, Keras applications. ssd_keras has no bugs, it has no vulnerabilities, it has a Permissive License and it has medium support. However ssd_keras build file is not available. You can download it from GitHub.

This is a Keras port of the SSD model architecture introduced by Wei Liu et al. in the paper SSD: Single Shot MultiBox Detector. Ports of the trained weights of all the original models are provided below. This implementation is accurate, meaning that both the ported weights and models trained from scratch produce the same mAP values as the respective models of the original Caffe implementation (see performance section below). The main goal of this project is to create an SSD implementation that is well documented for those who are interested in a low-level understanding of the model. The provided tutorials, documentation and detailed comments hopefully make it a bit easier to dig into the code and adapt or build upon the model than with most other implementations out there (Keras or otherwise) that provide little to no documentation and comments.
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              ssd_keras has a medium active ecosystem.
              It has 1834 star(s) with 941 fork(s). There are 53 watchers for this library.
              OutlinedDot
              It had no major release in the last 12 months.
              There are 23 open issues and 348 have been closed. On average issues are closed in 14 days. There are 2 open pull requests and 0 closed requests.
              It has a neutral sentiment in the developer community.
              The latest version of ssd_keras is v0.9.0

            kandi-Quality Quality

              ssd_keras has 0 bugs and 0 code smells.

            kandi-Security Security

              ssd_keras has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
              ssd_keras code analysis shows 0 unresolved vulnerabilities.
              There are 0 security hotspots that need review.

            kandi-License License

              ssd_keras is licensed under the Apache-2.0 License. This license is Permissive.
              Permissive licenses have the least restrictions, and you can use them in most projects.

            kandi-Reuse Reuse

              ssd_keras releases are available to install and integrate.
              ssd_keras has no build file. You will be need to create the build yourself to build the component from source.
              Installation instructions, examples and code snippets are available.
              ssd_keras saves you 2270 person hours of effort in developing the same functionality from scratch.
              It has 4962 lines of code, 194 functions and 34 files.
              It has high code complexity. Code complexity directly impacts maintainability of the code.

            Top functions reviewed by kandi - BETA

            kandi has reviewed ssd_keras and discovered the below as its top functions. This is intended to give you an instant insight into ssd_keras implemented functionality, and help decide if they suit your requirements.
            • Predict to json
            • Decode the predictions using the decoder
            • Compute the intersection of two boxes
            • Convert coordinates from a tensor
            • Compute the intersection area between two boxes
            • Apply inverse transforms
            • Greedy threshold for predictions
            • Returns the size of the dataset
            • Generate images
            • Compute the loss
            • Smooth L1 loss
            • Compute the log loss
            • Decode detections
            • Greedy NMS2
            • Debugging function for decoder detection
            • Implementation of greedy nms_debug
            • Generate anchor boxes for a given layer
            • Apply the aspect ratio of x
            • Generate a sequence of nms that can be used to minimize the prediction
            Get all kandi verified functions for this library.

            ssd_keras Key Features

            No Key Features are available at this moment for ssd_keras.

            ssd_keras Examples and Code Snippets

            Training
            Pythondot img1Lines of Code : 1dot img1License : Permissive (MIT)
            copy iconCopy
            python train_refinedet_voc.py
              

            Community Discussions

            QUESTION

            SSD(single shot detector)'s default box implementation
            Asked 2020-May-03 at 07:06

            I can't understand SSD's default box implementation. Original paper's formula is below;

            w_k=s_k√a_k, h_k=s_k/√a_k

            But many SSD's implementation seems to be different above's formula. For example, ssd.pytorch;

            ...

            ANSWER

            Answered 2020-May-03 at 07:06

            I found the answer in github's issue

            UPDATE:

            min_sizes/img_size and max_sizes/img_size mean s_k and s_k+1 respectively. Also, conv4_3 applies s_k=0.1 instead of equation(4). Therefore, all of feature maps can't apply equation(4). So I think all of scales are defined as min_sizes and max_sizes beforehand.

            Source https://stackoverflow.com/questions/61545482

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install ssd_keras

            In order to train an SSD300 or SSD512 from scratch, download the weights of the fully convolutionalized VGG-16 model trained to convergence on ImageNet classification here:. As with all other weights files below, this is a direct port of the corresponding .caffemodel file that is provided in the repository of the original Caffe implementation.
            Here are the ported weights for all the original trained models. The filenames correspond to their respective .caffemodel counterparts. The asterisks and footnotes refer to those in the README of the original Caffe implementation.
            PASCAL VOC models: 07+12: SSD300*, SSD512* 07++12: SSD300*, SSD512* COCO[1]: SSD300*, SSD512* 07+12+COCO: SSD300*, SSD512* 07++12+COCO: SSD300*, SSD512*
            COCO models: trainval35k: SSD300*, SSD512*
            ILSVRC models: trainval1: SSD300*, SSD500

            Support

            For any new features, suggestions and bugs create an issue on GitHub. If you have any questions check and ask questions on community page Stack Overflow .
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
            CLONE
          • HTTPS

            https://github.com/pierluigiferrari/ssd_keras.git

          • CLI

            gh repo clone pierluigiferrari/ssd_keras

          • sshUrl

            git@github.com:pierluigiferrari/ssd_keras.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link