Releases: tensorlayer/TensorLayer
TensorLayer 1.8.6rc4
Changelog
Added
- API:
tl.alphasandtl.alphas_likeadded following the tf.ones/zeros and tf.zeros_like/ones_like (by @DEKHTIARJonathan in #580)tl.lazy_imports.LazyImportto 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.decoratorsAPI created includingdeprecated_aliasandprivate_method(by @DEKHTIARJonathan in #660)tl.decoratorsAPI 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)
 AMSGradadded 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.pyadded to reproduce and fix issue #288 (by @2wins in #566)Layer_DeformableConvolution_Testadded to reproduce issue #572 with deformable convolution (by @DEKHTIARJonathan in #573)Array_Op_Alphas_TestandArray_Op_Alphas_Like_Testadded to testtensorlayer/array_ops.pyfile (by @DEKHTIARJonathan in #580)test_optimizer_amsgrad.pyadded to testAMSGradoptimizer (by @DEKHTIARJonathan in #636)test_logging.pyadded to insure robustness of the logging API (by @DEKHTIARJonathan in #645)test_decorators.pyadded (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.filesrefactored into a directory with numerous files (by @DEKHTIARJonathan in #657)tl.files.voc_datasetfixed 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.identityas 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 
LayerBase Class (by @DEKHTIARJonathan in #667) LayerBase Class now presenting methods to update faultlesslyall_layers,all_params, andall_drop(by @DEKHTIARJonathan in #675)- Input Layers have been removed from 
tl.layers.coreand 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_layerintoself.inputs(by @DEKHTIARJonathan in #675) 
Deprecated
tl.layers.TimeDistributedLayerargurmentargsis deprecated in favor oflayer_args(by @DEKHTIARJonathan in #667)
Removed
assert()calls remove and replaced byraise AssertionError()(by @DEKHTIARJonathan in #667)tl.identityis 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.RNNLayerwithinspect(by @DEKHTIARJonathan in #574) - Issue #498 - Deprecation Warning Fix in 
tl.fileswith truth value of an empty array is ambiguous (by @DEKHTIARJonathan in #575) - Issue #565 related to 
tl.utils.predictfixed -np.hstackproblem in which the results for multiple batches are stacked alongaxis=1(by @2wins in #566) - Issue #572 with 
tl.layers.DeformableConv2dfixed (by @DEKHTIARJonathan in #573) - Issue #664 with 
tl.layers.ConvLSTMLayerfixed (by @dengyueyun666 in #676) - Typo of the document of ElementwiseLambdaLayer (by @zsdonghao in #588)
 - Error in 
tl.layers.TernaryConv2dfixed - 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.loggingreplaced 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_opsis now lazy loaded to prevent systematic error raised (by @DEKHTIARJonathan in #675)- Tutorial:
tutorial_word2vec_basic.pysaving 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
TensorLayer 1.8.6rc3
Changelog
Added
- API:
tl.alphasandtl.alphas_likeadded following the tf.ones/zeros and tf.zeros_like/ones_like (by @DEKHTIARJonathan in #580)tl.lazy_imports.LazyImportto 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.decoratorsAPI created includingdeprecated_aliasandprivate_method(by @DEKHTIARJonathan in #660)tl.decoratorsAPI 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)
 AMSGradadded 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.pyadded to reproduce and fix issue #288 (by @2wins in #566)Layer_DeformableConvolution_Testadded to reproduce issue #572 with deformable convolution (by @DEKHTIARJonathan in #573)Array_Op_Alphas_TestandArray_Op_Alphas_Like_Testadded to testtensorlayer/array_ops.pyfile (by @DEKHTIARJonathan in #580)test_optimizer_amsgrad.pyadded to testAMSGradoptimizer (by @DEKHTIARJonathan in #636)test_logging.pyadded to insure robustness of the logging API (by @DEKHTIARJonathan in #645)test_decorators.pyadded (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.filesrefactored into a directory with numerous files (by @DEKHTIARJonathan in #657)tl.files.voc_datasetfixed 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.identityas 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 
LayerBase Class (by @DEKHTIARJonathan in #667) LayerBase Class now presenting methods to update faultlesslyall_layers,all_params, andall_drop(by @DEKHTIARJonathan in #675)- Input Layers have been removed from 
tl.layers.coreand 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_layerintoself.inputs(by @DEKHTIARJonathan in #675) 
Deprecated
tl.layers.TimeDistributedLayerargurmentargsis deprecated in favor oflayer_args(by @DEKHTIARJonathan in #667)
Removed
assert()calls remove and replaced byraise AssertionError()(by @DEKHTIARJonathan in #667)tl.identityis 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.RNNLayerwithinspect(by @DEKHTIARJonathan in #574) - Issue #498 - Deprecation Warning Fix in 
tl.fileswith truth value of an empty array is ambiguous (by @DEKHTIARJonathan in #575) - Issue #565 related to 
tl.utils.predictfixed -np.hstackproblem in which the results for multiple batches are stacked alongaxis=1(by @2wins in #566) - Issue #572 with 
tl.layers.DeformableConv2dfixed (by @DEKHTIARJonathan in #573) - Issue #664 with 
tl.layers.ConvLSTMLayerfixed (by @dengyueyun666 in #676) - Typo of the document of ElementwiseLambdaLayer (by @zsdonghao in #588)
 - Error in 
tl.layers.TernaryConv2dfixed - 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.loggingreplaced 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_opsis now lazy loaded to prevent systematic error raised (by @DEKHTIARJonathan in #675)- Tutorial:
tutorial_word2vec_basic.pysaving issue #476 fixed (by @DEKHTIARJonathan in #635)- All tutorials tested and errors have been fixed (by @DEKHTIARJonathan in #635)
 
 
Security
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)
 
Contributors
@lgarithm @DEKHTIARJonathan @2wins @One-sixth @zsdonghao @luomai
TensorLayer 1.8.6rc2
Changelog
Added
- API:
tl.alphasandtl.alphas_likeadded following the tf.ones/zeros and tf.zeros_like/ones_like (by @DEKHTIARJonathan in #580)tl.lazy_imports.LazyImportto 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.decoratorsAPI created includingdeprecated_aliasandprivate_method(by @DEKHTIARJonathan in #660)tl.decoratorsAPI 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)
 AMSGradadded 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.pyadded to reproduce and fix issue #288 (by @2wins in #566)Layer_DeformableConvolution_Testadded to reproduce issue #572 with deformable convolution (by @DEKHTIARJonathan in #573)Array_Op_Alphas_TestandArray_Op_Alphas_Like_Testadded to testtensorlayer/array_ops.pyfile (by @DEKHTIARJonathan in #580)test_optimizer_amsgrad.pyadded to testAMSGradoptimizer (by @DEKHTIARJonathan in #636)test_logging.pyadded to insure robustness of the logging API (by @DEKHTIARJonathan in #645)test_decorators.pyadded (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.filesrefactored into a directory with numerous files (by @DEKHTIARJonathan in #657)tl.files.voc_datasetfixed 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.identityas 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 
LayerBase Class (by @DEKHTIARJonathan in #667) LayerBase Class now presenting methods to update faultlesslyall_layers,all_params, andall_drop(by @DEKHTIARJonathan in #675)- Input Layers have been removed from 
tl.layers.coreand 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_layerintoself.inputs(by @DEKHTIARJonathan in #675) 
Deprecated
tl.layers.TimeDistributedLayerargurmentargsis deprecated in favor oflayer_args(by @DEKHTIARJonathan in #667)
Removed
assert()calls remove and replaced byraise AssertionError()(by @DEKHTIARJonathan in #667)tl.identityis 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.RNNLayerwithinspect(by @DEKHTIARJonathan in #574) - Issue #498 - Deprecation Warning Fix in 
tl.fileswith truth value of an empty array is ambiguous (by @DEKHTIARJonathan in #575) - Issue #565 related to 
tl.utils.predictfixed -np.hstackproblem in which the results for multiple batches are stacked alongaxis=1(by @2wins in #566) - Issue #572 with 
tl.layers.DeformableConv2dfixed (by @DEKHTIARJonathan in #573) - Issue #664 with 
tl.layers.ConvLSTMLayerfixed (by @dengyueyun666 in #676) - Typo of the document of ElementwiseLambdaLayer (by @zsdonghao in #588)
 - Error in 
tl.layers.TernaryConv2dfixed - 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.loggingreplaced 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_opsis now lazy loaded to prevent systematic error raised (by @DEKHTIARJonathan in #675)- Tutorial:
tutorial_word2vec_basic.pysaving 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)
 
Contributors
@lgarithm @DEKHTIARJonathan @2wins @One-sixth @zsdonghao @luomai
TensorLayer 1.8.6rc1
Changelog
Added
- API:
tl.alphasandtl.alphas_likeadded following the tf.ones/zeros and tf.zeros_like/ones_like (by @DEKHTIARJonathan in #580)tl.lazy_imports.LazyImportto 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.decoratorsAPI created includingdeprecated_aliasandprivate_method(by @DEKHTIARJonathan in #660)
 - 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:
- Release semantic version added on index page (by @DEKHTIARJonathan in #633)
 - Optimizers page added (by @DEKHTIARJonathan in #636)
 AMSGradadded 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)
 
 - 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.pyadded to reproduce and fix issue #288 (by @2wins in #566)Layer_DeformableConvolution_Testadded to reproduce issue #572 with deformable convolution (by @DEKHTIARJonathan in #573)Array_Op_Alphas_TestandArray_Op_Alphas_Like_Testadded to testtensorlayer/array_ops.pyfile (by @DEKHTIARJonathan in #580)test_optimizer_amsgrad.pyadded to testAMSGradoptimizer (by @DEKHTIARJonathan in #636)test_logging.pyadded to insure robustness of the logging API (by @DEKHTIARJonathan in #645)test_decorators.pyadded (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.filesrefactored into a directory with numerous files (by @DEKHTIARJonathan in #657)tl.files.voc_datasetfixed 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.identityas 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 
LayerBase Class (by @DEKHTIARJonathan in #667) 
Deprecated
tl.layers.TimeDistributedLayerargurmentargsis deprecated in favor oflayer_args(by @DEKHTIARJonathan in #667)
Removed
assert()calls remove and replaced byraise AssertionError()(by @DEKHTIARJonathan in #667)tl.identityis removed, not used anymore and deprecated for a long time (by @DEKHTIARJonathan in #667)
Fixed
- Issue #498 - Deprecation Warning Fix in 
tl.layers.RNNLayerwithinspect(by @DEKHTIARJonathan in #574) - Issue #498 - Deprecation Warning Fix in 
tl.fileswith truth value of an empty array is ambiguous (by @DEKHTIARJonathan in #575) - Issue #565 related to 
tl.utils.predictfixed -np.hstackproblem in which the results for multiple batches are stacked alongaxis=1(by @2wins in #566) - Issue #572 with 
tl.layers.DeformableConv2dfixed (by @DEKHTIARJonathan in #573) - Typo of the document of ElementwiseLambdaLayer (by @zsdonghao in #588)
 - Error in 
tl.layers.TernaryConv2dfixed - 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.loggingreplaced bytl.logging(by @DEKHTIARJonathan in #661) - Duplicated code removed when bias was used (by @DEKHTIARJonathan in #667)
 - Tutorial:
tutorial_word2vec_basic.pysaving 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)
 
Contributors
@lgarithm @DEKHTIARJonathan @2wins @One-sixth @zsdonghao @luomai
TensorLayer 1.8.6rc0
ChangeLog
Added
- API:
tl.alphasandtl.alphas_likeadded following the tf.ones/zeros and tf.zeros_like/ones_like (by @DEKHTIARJonathan in #580)
 - 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.decoratorsAPI created includingdeprecated_aliasandprivate_method(by @DEKHTIARJonathan in #660)
 - 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:
- Release semantic version added on index page (by @DEKHTIARJonathan in #633)
 - Optimizers page added (by @DEKHTIARJonathan in #636)
 AMSGradadded 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)
 
 - 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.pyadded to reproduce and fix issue #288 (by @2wins in #566)Layer_DeformableConvolution_Testadded to reproduce issue #572 with deformable convolution (by @DEKHTIARJonathan in #573)Array_Op_Alphas_TestandArray_Op_Alphas_Like_Testadded to testtensorlayer/array_ops.pyfile (by @DEKHTIARJonathan in #580)test_optimizer_amsgrad.pyadded to testAMSGradoptimizer (by @DEKHTIARJonathan in #636)test_logging.pyadded to insure robustness of the logging API (by @DEKHTIARJonathan in #645)test_decorators.pyadded (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.filesrefactored into a directory with numerous files (by @DEKHTIARJonathan in #657)tl.files.voc_datasetfixed 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)
 
Fixed
- Issue #498 - Deprecation Warning Fix in 
tl.layers.RNNLayerwithinspect(by @DEKHTIARJonathan in #574) - Issue #498 - Deprecation Warning Fix in 
tl.fileswith truth value of an empty array is ambiguous (by @DEKHTIARJonathan in #575) - Issue #565 related to 
tl.utils.predictfixed -np.hstackproblem in which the results for multiple batches are stacked alongaxis=1(by @2wins in #566) - Issue #572 with 
tl.layers.DeformableConv2dfixed (by @DEKHTIARJonathan in #573) - Typo of the document of ElementwiseLambdaLayer (by @zsdonghao in #588)
 - Error in 
tl.layers.TernaryConv2dfixed - 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.loggingreplaced bytl.logging(by @DEKHTIARJonathan in #661) - Tutorial:
tutorial_word2vec_basic.pysaving 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)
 
Contributors
@lgarithm @DEKHTIARJonathan @2wins @One-sixth @zsdonghao @luomai
TensorLayer 1.8.5
Added
- Github Templates added (by @DEKHTIARJonathan)
- New issues Template
 - New PR Template
 
 - Travis Deploy Automation on new Tag (by @DEKHTIARJonathan)
- Deploy to PyPI and create a new version.
 - Deploy to Github Releases and upload the wheel files
 
 - PyUP.io has been added to ensure we are compatible with the latest libraries (by @DEKHTIARJonathan)
 deconv2dnow handling dilation_rate (by @zsdonghao)- Documentation unittest added (by @DEKHTIARJonathan)
 test_layers_corehas been added to ensure thatLayersConfigis abstract.
Changed
- All Tests Refactored - Now using unittests and runned with PyTest (by @DEKHTIARJonathan)
 - Documentation updated (by @zsdonghao)
 - Package Setup Refactored (by @DEKHTIARJonathan)
 - Dataset Downlaod now using library progressbar2 (by @DEKHTIARJonathan)
 deconv2dfunction transformed into Class (by @zsdonghao)conv1dfunction transformed into Class (by @zsdonghao)- super resolution functions transformed into Class (by @zsdonghao)
 - YAPF coding style improved and enforced (by @DEKHTIARJonathan)
 
Fixed
- Backward Compatibility Restored with deprecation warnings (by @DEKHTIARJonathan)
 - Tensorflow Deprecation Fix (Issue #498):
- AverageEmbeddingInputlayer (by @zsdonghao)
 - load_mpii_pose_dataset (by @zsdonghao)
 
 - maxPool2D initializer issue #551 (by @zsdonghao)
 LayersConfigclass has been enforced as abstract- Pooling Layer Issue #557 fixed (by @zsdonghao)
 
Dependencies Update
- scipy>=1.0,<1.1 => scipy>=1.1,<1.2
 
Contributors
TensorLayer 1.8.5rc2
Changelog
- Restored backward compatibility with deprecation warnings (by @DEKHTIARJonathan)
 - All Tests Refactored - Now using unittests and runned with PyTest (by @DEKHTIARJonathan)
 - Github Templates added (by @DEKHTIARJonathan)
- New issues Template
 - New PR Template
 
 - Documentation updated (by @zsdonghao)
 - Package Setup Refactored (by @DEKHTIARJonathan)
 - deconv2d function transformed into Class (by @zsdonghao)
 - conv1d function transformed into Class (by @zsdonghao)
 - deconv2d now handling 
dilation_rate - Travis Deploy Automation on new Tag (by @DEKHTIARJonathan)
- Deploy to PyPI and create a new version.
 - Deploy to Github Releases and upload the wheel files
 
 - Dataset Downlaod now using library progressbar2 (by @DEKHTIARJonathan)
 - Tensorflow Deprecation Fix (Issue #498):
- AverageEmbeddingInputlayer (by @zsdonghao)
 - load_mpii_pose_dataset (by @zsdonghao)
 
 - update super resolution from function to class (by @zsdonghao)
 - YAPF coding style improved and enforced (by @DEKHTIARJonathan)
 - Documentation unittest added (by @DEKHTIARJonathan)
 
Contributors:
TensorLayer 1.8.5rc1
Changelog
- Restored backward compatibility with deprecation warnings (by @DEKHTIARJonathan)
 - All Tests Refactored - Now using unittests and runned with PyTest (by @DEKHTIARJonathan)
 - Github Templates added (by @DEKHTIARJonathan)
- New issues Template
 - New PR Template
 
 - Documentation updated (by @zsdonghao)
 - Package Setup Refactored (by @DEKHTIARJonathan)
 - deconv2d function transformed into Class (by @zsdonghao)
 - conv1d function transformed into Class (by @zsdonghao)
 - deconv2d now handling 
dilation_rate - Travis Deploy Automation on new Tag (by @DEKHTIARJonathan)
- Deploy to PyPI and create a new version.
 - Deploy to Github Releases and upload the wheel files
 
 
Contributors:
TensorLayer 1.8.5rc0
Changelog
- Restored backward compatibility with deprecation warnings (by @DEKHTIARJonathan)
 - All Tests Refactored - Now using unittests and runned with PyTest (by @DEKHTIARJonathan)
 - Github Templates added for
- New issues
 - New PR
 
 - Documentation updated (by @zsdonghao)
 - Package Setup Refactored (by @DEKHTIARJonathan)
 
Contributors:
TensorLayer 1.8.4
New Support
- Release experimental APIs to download and visualize MPII dataset (Pose Estimation) in one line of code (by @zsdonghao)
 
>>> import pprint
>>> import tensorlayer as tl
>>> img_train_list, ann_train_list, img_test_list, ann_test_list = tl.files.load_mpii_pose_dataset()
>>> image = tl.vis.read_image(img_train_list[0])
>>> tl.vis.draw_mpii_pose_to_image(image, ann_train_list[0], 'image.png')
>>> pprint.pprint(ann_train_list[0])- Release 
tl.modelsAPI - Provides pre-trained VGG16, SqueezeNet and MobileNetV1 in one line of code (by @lgarithm @zsdonghao), more models will be provided soon! 
Classify ImageNet classes, see tutorial_models_mobilenetv1.py
>>> x = tf.placeholder(tf.float32, [None, 224, 224, 3])
>>> # get the whole model
>>> net = tl.models.MobileNetV1(x)
>>> # restore pre-trained parameters
>>> sess = tf.InteractiveSession()
>>> net.restore_params(sess)
>>> # use for inferencing
>>> probs = tf.nn.softmax(net.outputs)Extract features and Train a classifier with 100 classes
>>> x = tf.placeholder(tf.float32, [None, 224, 224, 3])
>>> # get model without the last layer
>>> cnn = tl.models.MobileNetV1(x, end_with='reshape')
>>> # add one more layer
>>> net = Conv2d(cnn, 100, (1, 1), (1, 1), name='out')
>>> net = FlattenLayer(net, name='flatten')
>>> # initialize all parameters
>>> sess = tf.InteractiveSession()
>>> tl.layers.initialize_global_variables(sess)
>>> # restore pre-trained parameters
>>> cnn.restore_params(sess)
>>> # train your own classifier (only update the last layer)
>>> train_params = tl.layers.get_variables_with_name('out')Reuse model
>>> x1 = tf.placeholder(tf.float32, [None, 224, 224, 3])
>>> x2 = tf.placeholder(tf.float32, [None, 224, 224, 3])
>>> # get network without the last layer
>>> net1 = tl.models.MobileNetV1(x1, end_with='reshape')
>>> # reuse the parameters with different input
>>> net2 = tl.models.MobileNetV1(x2, end_with='reshape', reuse=True)
>>> # restore pre-trained parameters (as they share parameters, we don’t need to restore net2)
>>> sess = tf.InteractiveSession()
>>> net1.restore_params(sess)New Example
- TensorFlow Dataset API for VOC dataset augmentation here (by @zsdonghao)
 
New Update
- Update tl.iterate.minibatch to support list input (by @zsdonghao)
 
API Change Log
@DEKHTIARJonathan give a list of API change log here #479
- 
- Layer API Change
 
 
As it is an absolute central class, one change here are leading to changes everywhere.
If any modification is done here, it should be done with a deprecation warning.
## Before
layer = tl.layers.BatchNormLayer(layer = layer)
layer = tl.layers.PReluLayer(layer  = layer)
## Now
layer = tl.layers.BatchNormLayer(prev_layer = layer)
layer = tl.layers.PReluLayer(prev_layer= layer)Commit introduced this change: b2e6ccc
Why the API was changed ? As you may guess, just this change lead to many projects raising errors and needing to be updated. We struggle to have tutorials and examples around with TL and this change is not helping with backward compatibility.
- 
- DeConv2d API Change
 
 
## Before
tl.layers.DeConv2d(layer=layer,  n_out_channel = 16)
## Now
tl.layers.DeConv2d(layer=layer,  n_filter = 16)Here we have two problems:
- This Layer has now an inconsistent API with the rest of the TL library (this layer use layer instead of prev_layer).
 - Again, no deprecation warning with the changes from n_out_channel to n_filter which may immediately make most GANs/AEs not working without a fix.
 
- 
- Reuse Variable Scope
 
 
You have correctly mentioned a deprecation warning, however it would be better to mention an appropriate fix and not just say "it's deprecated, deal with it now !"
I give you an example:
with tf.variable_scope("my_scope", reuse=reuse) as scope:
    # tl.layers.set_name_reuse(reuse) # deprecated
    if reuse:
        scope.reuse_variables()Quite easy to add inside the deprecation warning and now it provides a simple solution to fix the issue.
- 
- No mention in the Changelog of an API change of the ReshapeLayer
 
 
## Before
layer = tl.layers.ReshapeLayer(
    layer,
    shape = [-1, 256, 256, 3]
)
## Now
layer = tl.layers.ReshapeLayer(
    layer,
    shape = (-1, 256, 256, 3) # Must use a tuple, a list is not accepted anymore
)