PocketFlow | Automatic Model Compression framework | Machine Learning library
kandi X-RAY | PocketFlow Summary
kandi X-RAY | PocketFlow Summary
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
Top functions reviewed by kandi - BETA
- 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
PocketFlow Key Features
PocketFlow Examples and Code Snippets
Community Discussions
Trending Discussions on PocketFlow
QUESTION
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:53It 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:
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install PocketFlow
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
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page