TensorLayer 1.9.0
·
1320 commits
to master
since this release
Release Note
This version was supposed to be release under version: 1.8.6, due to the large amount of changes introduced in this version, it has been decided to release this version under the version: 1.9.0
Changelog
Added
- API:
tl.alphasandtl.alphas_likeadded following the tf.ones/zeros and tf.zeros_like/ones_like (PR #580)tl.lazy_imports.LazyImportto import heavy libraries only when necessary (PR #667)tl.act.leaky_relu6andtl.layers.PRelu6Layerhave been deprecated (PR #686)tl.act.leaky_twice_relu6andtl.layers.PTRelu6Layerhave been deprecated (PR #686)
- CI Tool:
- Stale Probot added to clean stale issues (PR #573)
- Changelog Probot Configuration added (PR #637)
- Travis Builds now handling a matrix of TF Version from TF==1.6.0 to TF==1.8.0 (PR #644)
- CircleCI added to build and upload Docker Containers for each PR merged and tag release (PR #648)
- Decorator:
- Docker:
- Documentation:
- Layer:
- Optimizer:
- AMSGrad Optimizer added based on
On the Convergence of Adam and Beyond (ICLR 2018)(PR #636)
- AMSGrad Optimizer added based on
- Setup:
- Creation of installation flaggs
all,all_cpu, andall_gpu(PR #660)
- Creation of installation flaggs
- Test:
test_utils_predict.pyadded to reproduce and fix issue #288 (PR #566)Layer_DeformableConvolution_Testadded to reproduce issue #572 with deformable convolution (PR #573)Array_Op_Alphas_TestandArray_Op_Alphas_Like_Testadded to testtensorlayer/array_ops.pyfile (PR #580)test_optimizer_amsgrad.pyadded to testAMSGradoptimizer (PR #636)test_logging.pyadded to insure robustness of the logging API (PR #645)test_decorators.pyadded (PR #660)test_activations.pyadded (PR #686)
- Tutorials:
Changed
- Tensorflow CPU & GPU dependencies moved to separated requirement files in order to allow PyUP.io to parse them (PR #573)
- The document of LambdaLayer for linking it with ElementwiseLambdaLayer (PR #587)
- RTD links point to stable documentation instead of latest used for development (PR #633)
- TF Version older than 1.6.0 are officially unsupported and raises an exception (PR #644)
- README.md Badges Updated with Support Python and Tensorflow Versions (PR #644)
- TL logging API has been consistent with TF logging API and thread-safe (PR #645)
- Relative Imports changed for absolute imports (PR #657)
tl.filesrefactored into a directory with numerous files (PR #657)tl.files.voc_datasetfixed because of original Pascal VOC website was down (PR #657)- extra requirements hidden inside the library added in the project requirements (PR #657)
- requirements files refactored in
requirements/directory (PR #657) - README.md and other markdown files have been refactored and cleaned. (PR #639)
- Ternary Convolution Layer added in unittest (PR #658)
- Convolution Layers unittests have been cleaned & refactored (PR #658)
- All the tests are now using a DEBUG level verbosity when run individualy (PR #660)
tf.identityas activation is ignored, thus reducing the size of the graph by removing useless operation (PR #667)- argument dictionaries are now checked and saved within the
LayerBase Class (PR #667) LayerBase Class now presenting methods to update faultlesslyall_layers,all_params, andall_drop(PR #675)- Input Layers have been removed from
tl.layers.coreand added totl.layers.inputs(PR #675) - Input Layers are now considered as true layers in the graph (they represent a placeholder), unittests have been updated (PR #675)
- Layer API is simplified, with automatic feeding
prev_layerintoself.inputs(PR #675) - Complete Documentation Refactoring and Reorganization (namely Layer APIs) (PR #691)
Deprecated
tl.layers.TimeDistributedLayerargurmentargsis deprecated in favor oflayer_args(PR #667)tl.act.leaky_reluhave been deprecated in favor oftf.nn.leaky_relu(PR #686)
Removed
assert()calls remove and replaced byraise AssertionError()(PR #667)tl.identityis removed, not used anymore and deprecated for a long time (PR #667)- All Code specific to
TF.__version__ < "1.6"have been removed (PR #675)
Fixed
- Issue #498 - Deprecation Warning Fix in
tl.layers.RNNLayerwithinspect(PR #574) - Issue #498 - Deprecation Warning Fix in
tl.fileswith truth value of an empty array is ambiguous (PR #575) - Issue #565 related to
tl.utils.predictfixed -np.hstackproblem in which the results for multiple batches are stacked alongaxis=1(PR #566) - Issue #572 with
tl.layers.DeformableConv2dfixed (PR #573) - Issue #664 with
tl.layers.ConvLSTMLayerfixed (PR #676) - Typo of the document of ElementwiseLambdaLayer (PR #588)
- Error in
tl.layers.TernaryConv2dfixed - self.inputs not defined (PR #658) - Deprecation warning fixed in
tl.layers.binary._compute_threshold()(PR #658) - All references to
tf.loggingreplaced bytl.logging(PR #661) - Duplicated code removed when bias was used (PR #667)
tensorlayer.third_party.roi_pooling.roi_pooling.roi_pooling_opsis now lazy loaded to prevent systematic error raised (PR #675)- Documentation not build in RTD due to old version of theme in docs directory fixed (PR #703)
- Tutorial:
Dependencies Update
- Update pytest from 3.5.1 to 3.6.0 (PR #647)
- Update progressbar2 from 3.37.1 to 3.38.0 (PR #651)
- Update scikit-image from 0.13.1 to 0.14.0 (PR #656)
- Update keras from 2.1.6 to 2.2.0 (PR #684)
- Update requests from 2.18.4 to 2.19.0 (PR #695)