v1.19.0

@beam2d beam2d released this Dec 15, 2016 · 8380 commits to master since this release

This is a minor release. See the list for the complete list of solved issues and merged PRs.

Highlight

Easy-to-use pretrained model implementations for computer vision are added. VGG16 and ResNet50 are available. For example, you can load and use VGG16 as a feature extractor as follows.

from chainer.links import VGG16Layers
from PIL import Image


model = VGG16Layers()
img = Image.open("path/to/image.jpg")
feature = model.extract([img], layers=["fc7"])["fc7"]

New features

Bug fixes

  • Link.copyparams on uninitialized parameters (#1908)
  • Fix cleargrads and zerograds for uninitialized params (#1939)
  • Installation fix for Cython 0.25.2 (#1986)
  • Fix GIL dead lock on CUDA module load (#1995, thanks @soramichi for reporting it!)

Improvements

  • Code improvements of F.concat (#1897, thanks @fukatani!)
  • Make PringReport and ProgressBar work on Windows (#1730, thanks @tapdo!)
  • Include cupy_stdint.h on Windows (#1916)
  • Remove a redundant assignment in softmax_cross_entropy (#1936)
  • Use direct import for the better support of PyCharm (#1911)
  • Fix eps check for cuDNN batch normalization (#1955)
  • Reorganize cuDNN header file (#1676)
  • Add docs and tests for parameter shape placeholder for MLPConvolution2D (#1954, thanks @fukatani!)
  • Simplify cupy.matmul implementation (#1901)
  • Refactor the memory allocator codes (#1978)
  • Test fix
    • Loosen matmul test condition (#1889)
    • Fix Typo in testcase TestNorm (#1992, thanks @boeddeker!)
    • Fix the use of assert_raises_regex (#1984)
    • Suppress cudaMalloc before fork in test (#1912)

Others

  • Add examples of ConvNet for CIFAR10/100 datasets (#1949, #1982, #1990)
  • Document fix
    • Add F.binary_accuracy to the reference manual (#1898, thanks @ronekko!)
    • Fix TupleDataset document (#1902, thanks @soramichi!)
    • reStructuredText formatting (#1906)
    • Add MultiprocessIterator to the reference manual (#1923)
    • Fix PrintHook example codes (#1938)
    • Add cupy.nonzero and cupy.flatnonzero to the CuPy overview page (#1945)
    • Fix typos and formatting (#1958, thanks @fukatani!)
    • Fix the document of bernoulli_nll (#1959, thanks @fukatani!)
    • Fix the link to NIN paper (#1975, thanks @fukatani!)
    • Fix the document of MemoryPointer.copy_from_host_async (#1980, thanks @yuyu2172!)
    • Add F.classification_summary to the reference manual (#1993)
    • Add L.NStepLSTM to the reference manual (#1999)
  • Update README (#1903)
  • Simplify the install script (#1890)