All Projects → HawkAaron → mxnet-transducer

HawkAaron / mxnet-transducer

Licence: MIT License
Fast parallel RNN-Transducer.

Programming Languages

C++
36643 projects - #6 most used programming language
python
139335 projects - #7 most used programming language
Cuda
1817 projects
c
50402 projects - #5 most used programming language

Projects that are alternatives of or similar to mxnet-transducer

Nest
💡 A flexible tool for building and sharing deep learning modules.
Stars: ✭ 40 (+263.64%)
Mutual labels:  mxnet
NonLocalandSEnet
MXNet implementation of Non-Local and Squeeze-Excitation network
Stars: ✭ 24 (+118.18%)
Mutual labels:  mxnet
enhanced-ssh-mxnet
The MXNet Implementation of Enhanced SSH (ESSH) for Face Detection and Alignment
Stars: ✭ 54 (+390.91%)
Mutual labels:  mxnet
MXNetDotNet
.NET wrapper for Apache MXNet written in C#
Stars: ✭ 13 (+18.18%)
Mutual labels:  mxnet
baidu-salers-logo-prediction
baidu contest, url: http://dianshi.baidu.com/gemstone/competitions/detail?raceId=17
Stars: ✭ 16 (+45.45%)
Mutual labels:  mxnet
d2l-java
The Java implementation of Dive into Deep Learning (D2L.ai)
Stars: ✭ 94 (+754.55%)
Mutual labels:  mxnet
mxnet-cpp-scratch
Some deep learning models written with mxnet and C++11.
Stars: ✭ 14 (+27.27%)
Mutual labels:  mxnet
gpu accelerated forecasting modeltime gluonts
GPU-Accelerated Deep Learning for Time Series using Modeltime GluonTS (Learning Lab 53). Event sponsors: Saturn Cloud, NVIDIA, & Business Science.
Stars: ✭ 20 (+81.82%)
Mutual labels:  mxnet
dynamic-training-with-apache-mxnet-on-aws
Dynamic training with Apache MXNet reduces cost and time for training deep neural networks by leveraging AWS cloud elasticity and scale. The system reduces training cost and time by dynamically updating the training cluster size during training, with minimal impact on model training accuracy.
Stars: ✭ 51 (+363.64%)
Mutual labels:  mxnet
mxterm
explore apache mxnet from the terminal / REPL
Stars: ✭ 20 (+81.82%)
Mutual labels:  mxnet
AIML-Human-Attributes-Detection-with-Facial-Feature-Extraction
This is a Human Attributes Detection program with facial features extraction. It detects facial coordinates using FaceNet model and uses MXNet facial attribute extraction model for extracting 40 types of facial attributes. This solution also detects Emotion, Age and Gender along with facial attributes.
Stars: ✭ 48 (+336.36%)
Mutual labels:  mxnet
insightocr
MXNet OCR implementation. Including text recognition and detection.
Stars: ✭ 100 (+809.09%)
Mutual labels:  mxnet
DLInfBench
CNN model inference benchmarks for some popular deep learning frameworks
Stars: ✭ 51 (+363.64%)
Mutual labels:  mxnet
AAAI 2019 EXAM
Official implementation of "Explicit Interaction Model towards Text Classification"
Stars: ✭ 68 (+518.18%)
Mutual labels:  mxnet
Deep-rl-mxnet
Mxnet implementation of Deep Reinforcement Learning papers, such as DQN, PG, DDPG, PPO
Stars: ✭ 26 (+136.36%)
Mutual labels:  mxnet
SSD Demo Android
基于 mxnet, 实现 ssd demo for android
Stars: ✭ 14 (+27.27%)
Mutual labels:  mxnet
DockerKeras
We provide GPU-enabled docker images including Keras, TensorFlow, CNTK, MXNET and Theano.
Stars: ✭ 49 (+345.45%)
Mutual labels:  mxnet
onnx tensorrt project
Support Yolov5(4.0)/Yolov5(5.0)/YoloR/YoloX/Yolov4/Yolov3/CenterNet/CenterFace/RetinaFace/Classify/Unet. use darknet/libtorch/pytorch/mxnet to onnx to tensorrt
Stars: ✭ 145 (+1218.18%)
Mutual labels:  mxnet
MXNet-EfficientNet
A Gluon Implement of EfficientNet
Stars: ✭ 12 (+9.09%)
Mutual labels:  mxnet
model-zoo-old
The ONNX Model Zoo is a collection of pre-trained models for state of the art models in deep learning, available in the ONNX format
Stars: ✭ 38 (+245.45%)
Mutual labels:  mxnet

mxnet-transducer

A fast parallel implementation of RNN Transducer (Graves 2013 joint network), on both CPU and GPU for mxnet.

GPU version is now available for Graves2012 add network.

Install and Test

First get mxnet and the code:

git clone --recursive https://github.com/apache/incubator-mxnet
git clone https://github.com/HawkAaron/mxnet-transducer

Copy all files into mxnet dir:

cp -r mxnet-transducer/rnnt* incubator-mxnet/src/operator/contrib/

Then follow the installation instructions of mxnet:

https://mxnet.incubator.apache.org/install/index.html

Finally, add Python API into /path/to/mxnet_root/mxnet/gluon/loss.py:

class RNNTLoss(Loss):
    def __init__(self, batch_first=True, blank_label=0, weight=None, **kwargs):
        batch_axis = 0 if batch_first else 2
        super(RNNTLoss, self).__init__(weight, batch_axis, **kwargs)
        self.batch_first = batch_first
        self.blank_label = blank_label

    def hybrid_forward(self, F, pred, label, pred_lengths, label_lengths):
        if not self.batch_first:
            pred = F.transpose(pred, (2, 0, 1, 3))

        loss = F.contrib.RNNTLoss(pred, label.astype('int32', False), 
                                    pred_lengths.astype('int32', False), 
                                    label_lengths.astype('int32', False), 
                                    blank_label=self.blank_label)
        return loss

From the repo test with:

python test/test.py 10 300 100 50 --mx

Reference

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].