Skip to content
This repository has been archived by the owner on Jul 1, 2024. It is now read-only.

Keras-MXNet 2.2.4.2

Compare
Choose a tag to compare
@roywei roywei released this 19 Aug 11:56
· 13 commits to master since this release
de6f585

Highlights

This release mainly includes a new feature, Amazon Elastic Inference Accelerator support, and several important bug fixes to make keras-mxnet compatible with MXNet 1.5.0.

New Feature

  • Support for running Keras prediction with Apache MXNet backend utilizing Amazon Elastic Inference Accelerator. #236. For more details, please refer to documentation.

Bug fixes

  • Fix SGD optimizer failure: #225
  • Fix infer shape on softmax due to 0-size tensor support in MXNet 1.5.0 #232
  • Fix dataset test failure due to numpy update #244

Documentation

  • Update sparse documentation #202

Unsupported Functionalities

<< Same as previous release v2.2.4 >>

  • Keras MXNet models does not support pickling #194
  • 14 Keras operators are not supported with MXNet backend. Update operators, symbolic gradient, localconv1d, localconv2d, higher order functions, other operator like cumsum, cumprod, stack, ctc and more. See Operators missing with MXNet backend Github Issue for more details.
  • Unsupported keras/examples list.
  • Cross backend models are not supported. Training with TensorFlow backend and loading the Keras model with MXNet backend is not supported.

Known Issues

  • MXNet 1.5.0 added dynamic shape support, but causing problem on Keras-MXNet RNN layer masking:
    #229

<< Same as previous release v2.2.4 >>

  • MXNet backend performance significantly drops with channels_last image_data_format. It is highly recommended to use channels_first image_data_format. See performance guide for more details.
    MXNet backend does not support boolean. For example, in``topk operator with MXNet backend uses 0/1 instead of boolean. Issue
  • depthwise_conv2d supports depth_multiplier=1 only. Issue
    Models with Custom Loss are not serializable. Issue

Installation

Install keras-mxnet

pip install keras-mxnet

Install MXNet - CPU

pip install mxnet-mkl --pre

Install MXNet - GPU

pip install mxnet-cu101mkl --pre

Contributions

Thanks to all the contributors for their contributions in this release:
@sandeep-krishnamurthy, @karan6181, @kalyc, @roywei

Other Resources and Getting Started