PocketFlow | Automatic Model Compression framework | Machine Learning library

 by   Tencent Python Version: Current License: Non-SPDX

kandi X-RAY | PocketFlow Summary

kandi X-RAY | PocketFlow Summary

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

PocketFlow is an open-source framework for compressing and accelerating deep learning models with minimal human effort. Deep learning is widely used in various areas, such as computer vision, speech recognition, and natural language translation. However, deep learning models are often computational expensive, which limits further applications on mobile devices with limited computational resources. PocketFlow aims at providing an easy-to-use toolkit for developers to improve the inference efficiency with little or no performance degradation. Developers only needs to specify the desired compression and/or acceleration ratios and then PocketFlow will automatically choose proper hyper-parameters to generate a highly efficient compressed model for deployment. PocketFlow was originally developed by researchers and engineers working on machine learning team within Tencent AI Lab for the purposes of compacting deep neural networks with industrial applications. For full documentation, please refer to PocketFlow's GitHub Pages. To start with, you may be interested in the installation guide and the tutorial on how to train a compressed model and deploy it on mobile devices. For general discussions about PocketFlow development and directions please refer to PocketFlow Google Group. If you need a general help, please direct to Stack Overflow. You can report issues, bug reports, and feature requests on GitHub Issue Page.
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              PocketFlow has a medium active ecosystem.
              It has 2754 star(s) with 503 fork(s). There are 149 watchers for this library.
              OutlinedDot
              It had no major release in the last 6 months.
              There are 73 open issues and 202 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 PocketFlow is current.

            kandi-Quality Quality

              PocketFlow has 0 bugs and 0 code smells.

            kandi-Security Security

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

            kandi-License License

              PocketFlow has a Non-SPDX License.
              Non-SPDX licenses can be open source with a non SPDX compliant license, or non open source licenses, and you need to review them closely before use.

            kandi-Reuse Reuse

              PocketFlow releases are not available. You will need to build from source code and install.
              PocketFlow has no build file. You will be need to create the build yourself to build the component from source.
              Installation instructions are not available. Examples and code snippets are available.
              PocketFlow saves you 6381 person hours of effort in developing the same functionality from scratch.
              It has 13275 lines of code, 756 functions and 121 files.
              It has high code complexity. Code complexity directly impacts maintainability of the code.

            Top functions reviewed by kandi - BETA

            kandi has reviewed PocketFlow and discovered the below as its top functions. This is intended to give you an instant insight into PocketFlow implemented functionality, and help decide if they suit your requirements.
            • Wrapper for ssd model
            • Clip bounding boxes
            • Compute smooth l1
            • Parse classification
            • Expand convolutional convolution
            • Split num_ways into num_ways
            • Pad inputs with fixed padding
            • Splits input_tensor into multiple inputs
            • Train the model
            • Dump the output of the given action
            • Create a training scope
            • Bottleneck block of inputs
            • Building block v2
            • Input pipeline for training images
            • Bottleneck block v2 bottleneck
            • Building block
            • Compute the sum of OGM loss
            • Splits a separable convolutional convolution
            • Find unquantized nodes
            • Find anchors in the image layer
            • Convert input tensors into a network
            • Warm training
            • Parse an example
            • Base function for resnet
            • Exports a TFLite model
            • Process image files
            Get all kandi verified functions for this library.

            PocketFlow Key Features

            No Key Features are available at this moment for PocketFlow.

            PocketFlow Examples and Code Snippets

            No Code Snippets are available at this moment for PocketFlow.

            Community Discussions

            Trending Discussions on PocketFlow

            QUESTION

            Issue with gdrive on Colab
            Asked 2018-Nov-16 at 17:53

            I am using colab to train resnet on cifar10, after mounting google drive I cloned the repository and I was able to run the script. However, Tensorflow is loaded and the data files are passed to the network but I am ending with:

            tensorflow.python.framework.errors_impl.NotFoundError: /content/drive/My; No such file or directory

            It seems that there is an issue with my path because it contains a space "/content/gdrive/My Drive/apps/PocketFlow". How I could change the way that gdrive is mounted, in other words can I change "My drive" to something else to run the test again?

            Below you can find the code and the log file:

            ...

            ANSWER

            Answered 2018-Nov-16 at 17:53

            It looks like either ./scripts/run_local.sh or nets/resnet_at_cifar10_run.py is passing the equivalent of $PWD to a subprocess with insufficient quoting. You could either fix that or work around it e.g. with:

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

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

            Vulnerabilities

            No vulnerabilities reported

            Install PocketFlow

            You can download it from GitHub.
            You can use PocketFlow 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

            If you are interested in contributing, check out the CONTRIBUTING.md, also join our Tencent OpenSource Plan.
            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/Tencent/PocketFlow.git

          • CLI

            gh repo clone Tencent/PocketFlow

          • sshUrl

            git@github.com:Tencent/PocketFlow.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