TensorLayer 1.8.6rc4
Pre-release
Pre-release
DEKHTIARJonathan
released this
07 Jun 14:30
·
1332 commits
to master
since this release
Changelog
Added
- API:
tl.alphas
andtl.alphas_like
added following the tf.ones/zeros and tf.zeros_like/ones_like (by @DEKHTIARJonathan in #580)tl.lazy_imports.LazyImport
to import heavy libraries only when necessary (by @DEKHTIARJonathan in #667)
- CI Tool:
- Stale Probot added to clean stale issues (by @DEKHTIARJonathan in #573)
- Changelog Probot Configuration added (by @DEKHTIARJonathan in #637)
- Travis Builds now handling a matrix of TF Version from TF==1.6.0 to TF==1.8.0 (by @DEKHTIARJonathan in #644)
- CircleCI added to build and upload Docker Containers for each PR merged and tag release (by @DEKHTIARJonathan in #648)
- Decorator:
tl.decorators
API created includingdeprecated_alias
andprivate_method
(by @DEKHTIARJonathan in #660)tl.decorators
API enriched withprotected_method
(by @DEKHTIARJonathan in #675)
- Docker:
- Containers for each release and for each PR merged on master built (by @DEKHTIARJonathan in #648)
- Containers built in the following configurations (by @DEKHTIARJonathan in #648):
- py2 + cpu
- py2 + gpu
- py3 + cpu
- py3 + gpu
- Documentation:
- Clean README (by @luomai in #677)
- Release semantic version added on index page (by @DEKHTIARJonathan in #633)
- Optimizers page added (by @DEKHTIARJonathan in #636)
AMSGrad
added on Optimizers page added (by @DEKHTIARJonathan in #636)
- Layer:
- ElementwiseLambdaLayer added to use custom function to connect multiple layer inputs (by @One-sixth in #579)
- AtrousDeConv2dLayer added (by @2wins in #662)
- Optimizer:
- AMSGrad Optimizer added based on
On the Convergence of Adam and Beyond (ICLR 2018)
(by @DEKHTIARJonathan in #636)
- AMSGrad Optimizer added based on
- Setup:
- Creation of installation flaggs
all
,all_cpu
, andall_gpu
(by @DEKHTIARJonathan in #660)
- Creation of installation flaggs
- Test:
test_utils_predict.py
added to reproduce and fix issue #288 (by @2wins in #566)Layer_DeformableConvolution_Test
added to reproduce issue #572 with deformable convolution (by @DEKHTIARJonathan in #573)Array_Op_Alphas_Test
andArray_Op_Alphas_Like_Test
added to testtensorlayer/array_ops.py
file (by @DEKHTIARJonathan in #580)test_optimizer_amsgrad.py
added to testAMSGrad
optimizer (by @DEKHTIARJonathan in #636)test_logging.py
added to insure robustness of the logging API (by @DEKHTIARJonathan in #645)test_decorators.py
added (by @DEKHTIARJonathan in #660)
- Tutorials:
Changed
- Tensorflow CPU & GPU dependencies moved to separated requirement files in order to allow PyUP.io to parse them (by @DEKHTIARJonathan in #573)
- The document of LambdaLayer for linking it with ElementwiseLambdaLayer (by @zsdonghao in #587)
- RTD links point to stable documentation instead of latest used for development (by @DEKHTIARJonathan in #633)
- TF Version older than 1.6.0 are officially unsupported and raises an exception (by @DEKHTIARJonathan in #644)
- Readme Badges Updated with Support Python and Tensorflow Versions (by @DEKHTIARJonathan in #644)
- TL logging API has been consistent with TF logging API and thread-safe (by @DEKHTIARJonathan in #645)
- Relative Imports changed for absolute imports (by @DEKHTIARJonathan in #657)
tl.files
refactored into a directory with numerous files (by @DEKHTIARJonathan in #657)tl.files.voc_dataset
fixed because of original Pascal VOC website was down (by @DEKHTIARJonathan in #657)- extra requirements hidden inside the library added in the project requirements (by @DEKHTIARJonathan in #657)
- requirements files refactored in
requirements/
directory (by @DEKHTIARJonathan in #657) - README.md and other markdown files have been refactored and cleaned. (by @zsdonghao @DEKHTIARJonathan @luomai in #639)
- Ternary Convolution Layer added in unittest (by @DEKHTIARJonathan in #658)
- Convolution Layers unittests have been cleaned & refactored (by @DEKHTIARJonathan in #658)
- All the tests are now using a DEBUG level verbosity when run individualy (by @DEKHTIARJonathan in #660)
tf.identity
as activation is ignored, thus reducing the size of the graph by removing useless operation (by @DEKHTIARJonathan in #667)- argument dictionaries are now checked and saved within the
Layer
Base Class (by @DEKHTIARJonathan in #667) Layer
Base Class now presenting methods to update faultlesslyall_layers
,all_params
, andall_drop
(by @DEKHTIARJonathan in #675)- Input Layers have been removed from
tl.layers.core
and added totl.layers.inputs
(by @DEKHTIARJonathan in #675) - Input Layers are now considered as true layers in the graph (they represent a placeholder), unittests have been updated (by @DEKHTIARJonathan in #675)
- Layer API is simplified, with automatic feeding
prev_layer
intoself.inputs
(by @DEKHTIARJonathan in #675)
Deprecated
tl.layers.TimeDistributedLayer
argurmentargs
is deprecated in favor oflayer_args
(by @DEKHTIARJonathan in #667)
Removed
assert()
calls remove and replaced byraise AssertionError()
(by @DEKHTIARJonathan in #667)tl.identity
is removed, not used anymore and deprecated for a long time (by @DEKHTIARJonathan in #667)- All Code specific to
TF.__version__ < "1.6"
have been removed (by @DEKHTIARJonathan in #675)
Fixed
- Issue #498 - Deprecation Warning Fix in
tl.layers.RNNLayer
withinspect
(by @DEKHTIARJonathan in #574) - Issue #498 - Deprecation Warning Fix in
tl.files
with truth value of an empty array is ambiguous (by @DEKHTIARJonathan in #575) - Issue #565 related to
tl.utils.predict
fixed -np.hstack
problem in which the results for multiple batches are stacked alongaxis=1
(by @2wins in #566) - Issue #572 with
tl.layers.DeformableConv2d
fixed (by @DEKHTIARJonathan in #573) - Issue #664 with
tl.layers.ConvLSTMLayer
fixed (by @dengyueyun666 in #676) - Typo of the document of ElementwiseLambdaLayer (by @zsdonghao in #588)
- Error in
tl.layers.TernaryConv2d
fixed - self.inputs not defined (by @DEKHTIARJonathan in #658) - Deprecation warning fixed in
tl.layers.binary._compute_threshold()
(by @DEKHTIARJonathan in #658) - All references to
tf.logging
replaced bytl.logging
(by @DEKHTIARJonathan in #661) - Duplicated code removed when bias was used (by @DEKHTIARJonathan in #667)
tensorlayer.third_party.roi_pooling.roi_pooling.roi_pooling_ops
is now lazy loaded to prevent systematic error raised (by @DEKHTIARJonathan in #675)- Tutorial:
tutorial_word2vec_basic.py
saving issue #476 fixed (by @DEKHTIARJonathan in #635)- All tutorials tested and errors have been fixed (by @DEKHTIARJonathan in #635)
Dependencies Update
- Update pytest from 3.5.1 to 3.6.0 (by @DEKHTIARJonathan and @pyup-bot in #647)
- Update progressbar2 from 3.37.1 to 3.38.0 (by @DEKHTIARJonathan and @pyup-bot in #651)
- Update scikit-image from 0.13.1 to 0.14.0 (by @DEKHTIARJonathan and @pyup-bot in #656)
- Update keras from 2.1.6 to 2.2.0 (by @DEKHTIARJonathan and @pyup-bot in #684)
Contributors
@lgarithm @DEKHTIARJonathan @2wins @One-sixth @zsdonghao @luomai