Releases: tensorlayer/TensorLayer
TensorLayer 1.11.1
This is a maintenance release. All users are suggested to update.
Changed
Dependencies Update
- pytest>=3.6,<3.9 => pytest>=3.6,<3.10 (PR #874)
- requests>=2.19,<2.20 => requests>=2.19,<2.21 (PR #874)
- tqdm>=4.23,<4.28 => tqdm>=4.23,<4.29 (PR #878)
- pytest>=3.6,<3.10 => pytest>=3.6,<3.11 (PR #886)
- pytest-xdist>=1.22,<1.24 => pytest-xdist>=1.22,<1.25 (PR #883)
- tensorflow>=1.6,<1.12 => tensorflow>=1.6,<1.13 (PR #886)
1.11.0
release 1.11.0 (#871)
TensorLayer 1.11.0rc0
This release provides high-performance image augmentation API. The API is based on affine transformation. It has been proven useful to offer 80x speed up in augmenting images in the openpose-plus project.
Added
- Layer:
- Release
GroupNormLayer
(PR #850)
- Release
- Image affine transformation APIs
- Affine transformation tutorial
examples/data_process/tutorial_fast_affine_transform.py
(PR #857)
Changed
- BatchNormLayer: support
data_format
Dependencies Update
- yapf>=0.22,<0.24 => yapf>=0.22,<0.25 (PR #829)
- sphinx>=1.7,<1.8 => sphinx>=1.7,<1.9 (PR #842)
- matplotlib>=2.2,<2.3 => matplotlib>=2.2,<3.1 (PR #845)
- scikit-learn>=0.19,<0.20 => scikit-learn>=0.19,<0.21 (PR #851)
- tensorflow>=1.6,<1.11 => tensorflow>=1.6,<1.12 (PR #853)
- tqdm>=4.23,<4.26 => tqdm>=4.23,<4.27 (PR #862)
- pydocstyle>=2.1,<2.2 => pydocstyle>=2.1,<3.1 (PR #866)
Deprecated
Fixed
- Correct offset calculation in
tl.prepro.transform_matrix_offset_center
(PR #855)
Removed
Security
Contributors
TensorLayer 1.10.1
Important Notice
TensorLayer 1.10.x will be the last supported version of TL 1.X, big changes are upcoming and won't preserve backward compatibility. TensorLayer 1.10.x will only be updated with bugfixes on existing features. No additional feature will be implemented in TL 1.10.x
Changelog
Added
- unittest
tests\test_timeout.py
has been added to ensure the network creation process does not freeze.
Changed
- remove 'tensorboard' param, replaced by 'tensorboard_dir' in
tensorlayer/utils.py
with customizable tensorboard directory (PR #819)
Removed
- TL Graph API removed. Memory Leaks Issues with Graph API, will be fixed and integrated in TL 2.0 (PR #818)
Fixed
- Issue #817 fixed: TL 1.10.0 - Memory Leaks and very slow network creation.
Dependencies Update
- autopep8>=1.3,<1.4 => autopep8>=1.3,<1.5 (PR #815)
- pytest-cov>=2.5,<2.6 => pytest-cov>=2.5,<2.7 (PR #820)
- pytest>=3.6,<3.8 => pytest>=3.6,<3.9 (PR #823)
- imageio>=2.3,<2.4 => imageio>=2.3,<2.5 (PR #823)
Contributors
TensorLayer 1.10.1rc0
Changelog
Added
- unittest
tests\test_timeout.py
has been added to ensure the network creation process does not freeze.
Changed
- remove 'tensorboard' param, replaced by 'tensorboard_dir' in
tensorlayer/utils.py
with customizable tensorboard directory (PR #819)
Removed
- TL Graph API removed. Memory Leaks Issues with this API, will be fixed and integrated in TL 2.0 (PR #818)
Fixed
- Issue #817 fixed: TL 1.10.0 - Memory Leaks and very slow network creation.
Dependencies Update
- autopep8>=1.3,<1.4 => autopep8>=1.3,<1.5 (PR #815)
- pytest-cov>=2.5,<2.6 => pytest-cov>=2.5,<2.7 (PR #820)
- pytest>=3.6,<3.8 => pytest>=3.6,<3.9 (PR #823)
- imageio>=2.3,<2.4 => imageio>=2.3,<2.5 (PR #823)
Contributors
TensorLayer 1.10.0
Important Notice
This release contains a memory leak issue.
Release Note
It has been a very busy summer for the TensorLayer team. In this version, we start to support:
- query and modify a neural network through an intuitive graph API;
- transparently scale-out your single-GPU training job onto multiple GPUs on a single server and multiple servers using a high-performance trainer module. Trainer is backed by the high-performance and scalable Hovorod library, see examples here;
- reduce the memory usage of a neural network and even accelerate it using many advanced Network Quantization Layers;
- add more pre-trained models in our model module.
Mostly importantly, we decide to open-source a series of neural network application codes that have been used by practitioners. The first batch includes:
- adaptive style transfer which allows you to do almost any kind of style transfer without compromise performance.
- flexible openpose which allows you deeply customize your openpose network based on the actual data shapes, accuracy requirement, memory constraints and inference speed targets.
- super resolution which allows you to apply this fantastic technique to medical imaging and many other important fields.
At the same time, just want to put a note ahead, we are working very hard towards the TensorLayer 2.0 release in order to synchronize with the coming TensorFlow 2.0.
Enjoy this release, and we would love your feedback!
Added
- API:
- Add
tl.model.vgg19
(PR #698) - Add
tl.logging.contrib.hyperdash
(PR #739) - Add
tl.distributed.trainer
(PR #700) - Add
prefetch_buffer_size
to thetl.distributed.Trainer
(PR #766) - Add
tl.db.TensorHub
(PR #751) - Add
tl.files.save_graph
(PR #751) - Add
tl.files.load_graph_
(PR #751) - Add
tl.files.save_graph_and_params
(PR #751) - Add
tl.files.load_graph_and_params
(PR #751) - Add
tl.prepro.keypoint_random_xxx
(PR #787)
- Add
- Documentation:
- Layer:
- Setup:
- Creation of installation flaggs
all_dev
,all_cpu_dev
, andall_gpu_dev
(PR #739)
- Creation of installation flaggs
- Examples:
- change folder struction (PR #802)
tutorial_models_vgg19
has been introduced to show how to usetl.model.vgg19
(PR #698).- fix bug of
tutorial_bipedalwalker_a3c_continuous_action.py
(PR #734, Issue #732) tutorial_models_vgg16
andtutorial_models_vgg19
has been changed the input scale from [0,255] to [0,1](PR #710)tutorial_mnist_distributed_trainer.py
andtutorial_cifar10_distributed_trainer.py
are added to explain the uses of Distributed Trainer (PR #700)- add
tutorial_quanconv_cifar10.py
andtutorial_quanconv_mnist.py
(PR #735) - add
tutorial_work_with_onnx.py
(PR #775)
- Applications:
Changed
- function minibatches changed to avoid wasting samples.(PR #762)
- all the input scale in both vgg16 and vgg19 has been changed the input scale from [0,255] to [0,1](PR #710)
- Dockerfiles merged and refactored into one file (PR #747)
- LazyImports move to the most top level imports as possible (PR #739)
- some new test functions have been added in
test_layers_convolution.py
,test_layers_normalization.py
,test_layers_core.py
(PR #735) - documentation now uses mock imports reducing the number of dependencies to compile the documentation (PR #785)
- fixed and enforced pydocstyle D210, D200, D301, D207, D403, D204, D412, D402, D300, D208 (PR #784)
Deprecated
tl.logging.warn
has been deprecated in favor oftl.logging.warning
(PR #739)
Removed
conv_layers()
has been removed in both vgg16 and vgg19(PR #710)
Fixed
- import error caused by matplotlib on OSX (PR #705)
- missing import in tl.prepro (PR #712)
- Dockerfiles import error fixed - issue #733 (PR #747)
- Fix a typo in
absolute_difference_error
in file:tensorlayer/cost.py
- Issue #753 (PR #759) - Fix the bug of scaling the learning rate of trainer (PR #776)
- log error instead of info when npz file not found. (PR #812)
Security
Dependencies Update
- tensorflow>=1.8,<1.9 => tensorflow>=1.6,<1.11 (PR #739 and PR #798)
- tensorflow-gpu>=1.8,<1.9 => tensorflow-gpu>=1.6,<1.11 (PR #739 and PR #798)
- numpy>=1.14,<1.15 => numpy>=1.14,<1.16 (PR #754)
- pymongo>=3.6,<3.7 => pymongo>=3.6,<3.8 (PR #750)
- pytest>=3.6,<3.7 => tqdm>=3.6,<3.8 (PR #798)
- pytest-xdist>=1.22,<1.23 => pytest-xdist>=1.22,<1.24 (PR #805 and #806)
- tqdm>=4.23,<4.25 => tqdm>=4.23,<4.26 (PR #798)
- yapf>=0.21,<0.22 => yapf>=0.22,<0.24 (PR #798 #808)
Contributors
TensorLayer 1.9.1
Release Note
This version is identical to 1.9.0 but fix the issue with TF 1.10.0: https://stackoverflow.com/questions/51593126/tensorlayer-fails-with-tensorflow-1-10-0rc0#51593186
Changelog
- Issue with tensorflow 1.10.0 fixed
TensorLayer 1.9.0
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)
Contributors
TensorLayer 1.8.6rc6
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)- 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)
Contributors
TensorLayer 1.8.6rc5
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)
- Fix bugs of using
tf.layers
in CNN (by @zsdonghao in #686)
- 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