1.0.0-beta7

Version 1.0.0-beta7

Read the announcement at https://blog.konduit.ai/2020/05/14/deeplearning4j-1-0-0-beta7-released/arrow-up-right for the highlights of this release.

Deeplearning4j

Features and Enhancements

  • Added Keras model import support for tf.keras models Linkarrow-up-right, Linkarrow-up-right

    • Full inference and training support is available for ops/layers in the tf.keras namespace; inference only for general Tensorflow operations outside of the tf.keras namespace

    • Note also improvements to Keras import for reshape, permute, etc operations due to NHWC and NWC support in DL4J

  • DL4J now supports NHWC (channels last) data format for all CNN 2D layers, in addition to NCHW Linkarrow-up-right

  • DL4J now supports NWC (channels last - [minibatch, sequence_length, size]) for all RNN and CNN 1D layers, in addition to NCW Linkarrow-up-right

  • Added Deconvolution3D layer Linkarrow-up-right

  • Keras import: added ReLU, ELU and Softmax advanced activation layers Linkarrow-up-right and Swish activation function Linkarrow-up-right

  • Added DL4J SameDiffLoss class (for easily-defined DL4J ILossFunction's via SameDiff) Linkarrow-up-right

  • Useful exceptions are now thrown when attempting to perform unsupported operations on FastText Linkarrow-up-right

  • Added MultiLayerNetwork.evaluate(MultiDataSetIterator) and .evaluateRegression(MultiDataSetIterator) methods Linkarrow-up-right, Linkarrow-up-right

Bug Fixes and Optimizations

  • Updaters (Adam, AdaGrad, etc) optimized via C++ operations (significant training performance boost) for DL4J and SameDiff Linkarrow-up-right, Linkarrow-up-right

  • Some packages relocated to avoid split packages (that can be a problem for OSGi and Java 9 modules) Linkarrow-up-right

    • Note: this is a breaking change for some class packages/imports. See this linkarrow-up-right for details on exact package changes

  • Deeplearning4j UI: Webjars versions locked down using dependency management to avoid check on each build Linkarrow-up-right

  • Added MKLDNN (DNNL/OneDNN) support for depthwise_conv2d operation for DL4J and SameDiff Linkarrow-up-right

  • Refactored/merged modules dl4j-perf and dl4j-util into deeplearning4j-core Linkarrow-up-right

  • Fixed an issue with BertWordPieceTokenizer - potential StackOverflowError with certain inputs Linkarrow-up-right

  • Fixed an issue with GlobalPooling layer with masks of different datatype to the activations datatype Linkarrow-up-right

  • Fixed an issue with DL4JModelValidator for ComputationGraph Linkarrow-up-right

  • Fixed an issue where SameDiff layers in DL4J could throw an exception when used with transfer learning Linkarrow-up-right

  • Weight initialization for EmbeddingLayer and EmbeddingSequenceLayer now no longer depend on the vocabulary size (only the vector size) Linkarrow-up-right

  • Fixed an issue with Keras import with bidirectional layers + preprocessors Linkarrow-up-right

  • DL4J UI: added redirect from /train to /train/overview Linkarrow-up-right

  • Fixed an issue where RecordReaderDataSetIterator builder collectMetaData configuration was not being applied Linkarrow-up-right

  • Fixed an issue where MultiLayerNetwork evaluation was not passing metadata to the IEvaluation instances during evaluation Linkarrow-up-right, Linkarrow-up-right

  • Fixed an issue with Spark training SharedTrainingMaster when training with a ComputationGraph and MultiDataSets Linkarrow-up-right

  • Assorted fixes for edge cases for DL4J Keras import Linkarrow-up-right

  • deelpearning4j-nlp-korean will no longer be released for Scala 2.12 due to required dependency only having Scala 2.11 version avairable Linkarrow-up-right

  • Fix for ConvolutionalIterationListener for ComputationGraph Linkarrow-up-right

  • Fixed an issue where dataset and model zoo downloads could get stuck if the server fails to send any data (now: timeout + retry) Linkarrow-up-right

  • DL4J ModelSerializer no longer writes temporary files when restoring models from InputStream Linkarrow-up-right

  • Fixes issues with UIServer multi session mode, and potential shutdown race condition Linkarrow-up-right

  • Fixed an issue where TfidfVectorizer.vectorize() could throw a NPE when fit from LabelAwareIterator Linkarrow-up-right

ND4J/SameDiff:

Features and Enhancements

Bug Fixes and Optimizations

DataVec

Features and Enhancements

Bug Fixes and Optimizations

RL4J

Features and Enhancements

Arbiter

Bug Fixes and Optimizations

Last updated

Was this helpful?