Skip to content

v4.0.0b1

Pre-release
Pre-release
Compare
Choose a tag to compare
@kmaehashi kmaehashi released this 17 Nov 05:36
· 18820 commits to master since this release
6733f15

This is the release of v4.0.0b1. See here for the complete list of solved issues and merged PRs.

Spotlight features

  • A lot of new double-backpropable functions have been added.
  • Dilated convolution got much faster by supporting cuDNN v6’s dilated convolution function.
  • Autotuner for cuDNN convolution functions is now available. Just add this one line chainer.global_config.autotune = True for optimizing your ConvNets.
  • A new example of linear-chain CRF has been merged . See https://github.com/chainer/chainer/tree/master/examples/pos

Changes without compatibility

  • Use a distinct RandomState in the prefetch thread of MultiProcessIterator (#3575, thanks @grafi-tt!)
  • Remove requirements for unit testing (#3604)

New Features

Improvements

  • Use correct module path (#3364)
  • Richer gradient check output (#3425)
  • Relax int type restriction (#3466)
  • Support file-like object in npz serializer (#3513)
  • Make caffe model loading faster (#3523, thanks @grafi-tt!)
  • Always cast all inputs to given dtype in gradient check (#3561)
  • Use a distinct RandomState in the prefetch thread of MultiProcessIterator (#3575, thanks @grafi-tt!)
  • Raise user-friendly error when FunctionNode is used like Function object (#3598)
  • Improve version embedding (#3628)
  • Rename plot -> plt (#3698, thanks @Hakuyume!)
  • Avoid zero-division warning in F.r2_score (#3703)
  • Allow to_gpu and to_cpu to accept NumPy scalars (#3741)
  • Check too small eps in Adam and RMSprop optimizers (#3753)
  • Fix F.inv to raise exception when input has singular matrices (#3770)
  • Use correct module path (#3781)
  • Remove function call to up performance (#3786)
  • Remove unnecessary branch in minimum forward (#3818)
  • Use stderr for “Downloading…” message of dataset (#3886)

Bug fixes

  • Fix the problem with resuming training when switching the freezing layers (#3125, thanks @jinjiren!)
  • Stop checking docstring compliance with autosummary (#3285)
  • Fix LSTM bias initialization (#3333)
  • Fix xxx_pooling_nd causes CUDNN_STATUS_NOT_SUPPORTED for dims > 3 (#3553)
  • Prevent ZeroDivisionError in softmax_cross_entropy when input size is 0 (#3559, thanks @knorth55!)
  • Fix document directive typo (#3627)
  • Setup random of Python library in testing/random (#3630)
  • Fix split_axis documentation (#3699)
  • Remove direction (#3716)
  • Use cudnn.DropoutStates instead of calling API directly (#3717)
  • Ignore DeprecationWarnig caused in theano (#3785)
  • Remove function call to up performance (#3786)
  • Add dilation to dict key and rename internal function (#3831)
  • Fix sigmoid_cross_entropy doc about t (#3840)
  • Use context to close opened file (#3853)
  • Fix test condition in function tutorial (#3854)
  • Avoid zero division error in linear init call (#3871)
  • Fix test condition in function tutorial (#3873)

Documentation

Installation

  • Remove requirements for unit testing (#3604)
  • Improve version embedding (#3628)

Examples

  • New example: POS-tagging (#1375)
  • Add --log-interval and --validation-interval options to seq2seq example (#3430)

Tests

  • Stabilize deconvolution2d test (#3107)
  • Move to PyTest instead of nose (#3324)
  • Stabilize roi_pooling_2d test by adjusting tolerance (#3381)
  • Richer gradient check output (#3425)
  • Always cast all inputs to given dtype in gradient check (#3561)
  • Replace the test framework with PyTest (#3590)
  • Configure AppVeyor to use PyTest (#3595)
  • Fix test_init_docstring (#3599)
  • Fix for pytest migration (#3600)
  • Fix math function testing helper to support new style functions. (#3603)
  • Remove requirements for unit testing (#3604)
  • Use Python 3.4.4 on Travis OSX Python 3.4 case (#3609)
  • Remove nose dependency in tests (#3623)
  • Fix decorators to allow users to filter test cases by number of GPUs (#3624)
  • Fix doctest (#3641)
  • Directional derivative (#3652)
  • Use python 3.5 for doctest (#3653)
  • Fix doctest (#3654)
  • Useful error message for parameterized tests (#3661)
  • Run OS X test only on master/stable branch to avoid delay (#3674)
  • Remove PyTest global option configuration (#3685)
  • Fix to skip GPU tests on AppVeyor (#3689)
  • Fix math function test helper to support double backward test of line… (#3697)
  • Fix normalization warning in F.average test (#3704)
  • Use pytest-warnings to set warnings configuration (#3715)
  • F.tile doctest does not test our function (#3757)
  • Fix F.inv test does not test type error as expected (#3769)
  • Ignore DeprecationWarnig caused in theano (#3785)
  • Add double-backward test for F.inv and F.batch_inv (#3793)
  • Fix test tolerance for F.fmod double backward test (#3837)
  • Fix test condition in function tutorial (#3854)
  • Fix test condition in function tutorial (#3873)
  • Adjust tolerances of depth_2_space, space_2_depth tests (#3887)

Others

  • Add a stale bot configuration (#3498)
  • Warn about vecLib on Mac OS X (#3664)
  • Fix coveragerc to measure branch coverage and only target chainer module (#3684)
  • Update stable version link in README (#3745)