MaskTextSpotter | A PyTorch implementation of Mask TextSpotter | Machine Learning library

 by   MhLiao Python Version: Current License: No License

kandi X-RAY | MaskTextSpotter Summary

kandi X-RAY | MaskTextSpotter Summary

MaskTextSpotter is a Python library typically used in Artificial Intelligence, Machine Learning, Deep Learning, Pytorch applications. MaskTextSpotter has no bugs, it has no vulnerabilities, it has build file available and it has low support. You can download it from GitHub.

This is the code of "Mask TextSpotter: An End-to-End Trainable Neural Network for Spotting Text with Arbitrary Shapes" (TPAMI version). It is an extension of the ECCV version while sharing the same title. For more details, please refer to our TPAMI paper. This repo is inherited from maskrcnn-benchmark and follows the same license.
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              MaskTextSpotter has a low active ecosystem.
              It has 368 star(s) with 93 fork(s). There are 17 watchers for this library.
              OutlinedDot
              It had no major release in the last 6 months.
              There are 32 open issues and 42 have been closed. On average issues are closed in 25 days. There are 5 open pull requests and 0 closed requests.
              It has a neutral sentiment in the developer community.
              The latest version of MaskTextSpotter is current.

            kandi-Quality Quality

              MaskTextSpotter has 0 bugs and 0 code smells.

            kandi-Security Security

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

            kandi-License License

              MaskTextSpotter does not have a standard license declared.
              Check the repository for any license declaration and review the terms closely.
              OutlinedDot
              Without a license, all rights are reserved, and you cannot use the library in your applications.

            kandi-Reuse Reuse

              MaskTextSpotter releases are not available. You will need to build from source code and install.
              Build file is available. You can build the component from source.
              Installation instructions are not available. Examples and code snippets are available.
              It has 7563 lines of code, 485 functions and 96 files.
              It has medium code complexity. Code complexity directly impacts maintainability of the code.

            Top functions reviewed by kandi - BETA

            kandi has reviewed MaskTextSpotter and discovered the below as its top functions. This is intended to give you an instant insight into MaskTextSpotter implemented functionality, and help decide if they suit your requirements.
            • Evaluate the method in the given method
            • The area of the bounding box
            • Decode a byte string
            • Decode bounding boxes
            • Compute one - hot embedding
            • Do beam search
            • Convert a number to character
            • Performs beam search step
            • Train detection model
            • Make data loader
            • Runs inference on a model
            • Prepare results for prediction
            • Compute the predicted boxes
            • Crop the bounding box
            • Transpose the image
            • Compute the predicted masks
            • Compute the prediction
            • Compute the RPNR model
            • Forward the given boxes
            • Perform the forward computation
            • Returns a new bounding box with the given size
            • Compute the classifier
            • Forward feature extraction
            • Create data loader
            • Gets a Dataset
            • Prepare results for evaluation
            • Convert the image to a numpy array
            • Retrieve all C ++ extensions
            Get all kandi verified functions for this library.

            MaskTextSpotter Key Features

            No Key Features are available at this moment for MaskTextSpotter.

            MaskTextSpotter Examples and Code Snippets

            No Code Snippets are available at this moment for MaskTextSpotter.

            Community Discussions

            Trending Discussions on MaskTextSpotter

            QUESTION

            what is the biggest bottleneck in maskrcnn_benchmark repo?
            Asked 2019-Nov-24 at 19:27

            I am working on a repo that make use of the maskrcnn_benchmark repo. I have extensively, explored the bench-marking repo extensively for the cause of its slower performance on a cpu with respect to enter link description here.

            In order to create a benchmark for the individual forward passes I have put a time counter for each part and it gives me the time required to calculate each component. I have had a tough time exactly pinpointing as to the slowest component of the entire architecture.I believe it to be BottleneckWithFixedBatchNorm class in the maskrcnn_benchmark/modeling/backbone/resnet.py file.

            I will really appreciate any help in localisation of the biggest bottle neck in this architecture.

            ...

            ANSWER

            Answered 2019-Nov-24 at 19:27

            I have faced the same problem, the best possible solution for the same is to look inside the main code, go through the forward pass of each module and have a timer setup to log the time that is spent in the computations of each module. How we worked in it was to create an architecture where we create the time logger for each class, therefore every instance of the class will now be logging its time of execution, after through comparison, atleast in our case we have found that the reason for the delay was the depth of the Resnet module, (which given the computational cost of resnet is not a surprising factor at all, the only solution to the same is more palatalization so either ensure a bigger GPU for performing the task or reduce the depth of the Resnet network ).

            I must inform that the maskrcnn_benchmark has been deprecated and an updated version of the same is available in the form of detectron2. Consider moving your code for significant speed improvements in the architecture.

            BottleneckWithFixedBatchNorm is not the most expensive operation in the architecture and certainly not creating the bottleneck as all the operations instead of the name. The class isn't as computationally expensive and is computed in parallel even on a lower end CPU machine (at least in the inference stage).

            An example of tracking better the performance of each module can be found with the code taken from the path : maskrcnn_benchmark/modeling/backbone/resnet.py

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

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

            Vulnerabilities

            No vulnerabilities reported

            Install MaskTextSpotter

            You can download it from GitHub.
            You can use MaskTextSpotter like any standard Python library. You will need to make sure that you have a development environment consisting of a Python distribution including header files, a compiler, pip, and git installed. Make sure that your pip, setuptools, and wheel are up to date. When using pip it is generally recommended to install packages in a virtual environment to avoid changes to the system.

            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/MhLiao/MaskTextSpotter.git

          • CLI

            gh repo clone MhLiao/MaskTextSpotter

          • sshUrl

            git@github.com:MhLiao/MaskTextSpotter.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