TensorLayer 1.9.0
DEKHTIARJonathan
released this
16 Jun 18:30
·
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.alphas
andtl.alphas_like
added following the tf.ones/zeros and tf.zeros_like/ones_like (PR #580)tl.lazy_imports.LazyImport
to import heavy libraries only when necessary (PR #667)tl.act.leaky_relu6
andtl.layers.PRelu6Layer
have been deprecated (PR #686)tl.act.leaky_twice_relu6
andtl.layers.PTRelu6Layer
have 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.py
added to reproduce and fix issue #288 (PR #566)Layer_DeformableConvolution_Test
added to reproduce issue #572 with deformable convolution (PR #573)Array_Op_Alphas_Test
andArray_Op_Alphas_Like_Test
added to testtensorlayer/array_ops.py
file (PR #580)test_optimizer_amsgrad.py
added to testAMSGrad
optimizer (PR #636)test_logging.py
added to insure robustness of the logging API (PR #645)test_decorators.py
added (PR #660)test_activations.py
added (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.files
refactored into a directory with numerous files (PR #657)tl.files.voc_dataset
fixed 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.identity
as 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
Layer
Base Class (PR #667) Layer
Base Class now presenting methods to update faultlesslyall_layers
,all_params
, andall_drop
(PR #675)- Input Layers have been removed from
tl.layers.core
and 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_layer
intoself.inputs
(PR #675) - Complete Documentation Refactoring and Reorganization (namely Layer APIs) (PR #691)
Deprecated
tl.layers.TimeDistributedLayer
argurmentargs
is deprecated in favor oflayer_args
(PR #667)tl.act.leaky_relu
have been deprecated in favor oftf.nn.leaky_relu
(PR #686)
Removed
assert()
calls remove and replaced byraise AssertionError()
(PR #667)tl.identity
is 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.RNNLayer
withinspect
(PR #574) - Issue #498 - Deprecation Warning Fix in
tl.files
with truth value of an empty array is ambiguous (PR #575) - Issue #565 related to
tl.utils.predict
fixed -np.hstack
problem in which the results for multiple batches are stacked alongaxis=1
(PR #566) - Issue #572 with
tl.layers.DeformableConv2d
fixed (PR #573) - Issue #664 with
tl.layers.ConvLSTMLayer
fixed (PR #676) - Typo of the document of ElementwiseLambdaLayer (PR #588)
- Error in
tl.layers.TernaryConv2d
fixed - self.inputs not defined (PR #658) - Deprecation warning fixed in
tl.layers.binary._compute_threshold()
(PR #658) - All references to
tf.logging
replaced bytl.logging
(PR #661) - Duplicated code removed when bias was used (PR #667)
tensorlayer.third_party.roi_pooling.roi_pooling.roi_pooling_ops
is 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)