Skip to content

Commit c3643c6

Browse files
committed
Merge branch 'reinforcement-learning'
2 parents 6ca2a63 + 37dc42d commit c3643c6

File tree

153 files changed

+9609
-2212
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

153 files changed

+9609
-2212
lines changed

Diff for: .travis.yml

+4-5
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ env:
2626
# Backward Compatibility in insured for release less than 1 year old.
2727
# https://pypi.org/project/tensorflow/#history
2828
matrix:
29-
- _TF_VERSION=2.0.0a0
29+
- _TF_VERSION=2.0.0-rc1
3030
# - _TF_VERSION=1.12.0 # Remove on Oct 22, 2019
3131
# - _TF_VERSION=1.11.0 # Remove on Sep 28, 2019
3232
# - _TF_VERSION=1.10.1 # Remove on Aug 24, 2019
@@ -63,7 +63,7 @@ matrix:
6363
install:
6464
- |
6565
if [[ -v _DOC_AND_YAPF_TEST ]]; then
66-
pip install tensorflow==2.0.0a0
66+
pip install tensorflow==2.0.0-rc1
6767
pip install yapf
6868
pip install -e .[doc]
6969
else
@@ -101,7 +101,7 @@ deploy:
101101
on:
102102
tags: true
103103
python: '3.6'
104-
condition: '$_TF_VERSION = 2.0.0a0'
104+
condition: '$_TF_VERSION = 2.0.0-rc1'
105105
# condition: '$_TF_VERSION = 1.11.0'
106106

107107
# Documentation: https://docs.travis-ci.com/user/deployment/releases/
@@ -115,6 +115,5 @@ deploy:
115115
on:
116116
tags: true
117117
python: '3.6'
118-
condition: '$_TF_VERSION = 2.0.0a0'
118+
condition: '$_TF_VERSION = 2.0.0-rc1'
119119
# condition: '$_TF_VERSION = 1.11.0'
120-

Diff for: CHANGELOG.md

+140-9
Original file line numberDiff line numberDiff line change
@@ -67,14 +67,135 @@ To release a new version, please update the changelog as followed:
6767

6868
<!-- YOU CAN EDIT FROM HERE -->
6969

70+
7071
## [Unreleased]
7172

73+
### Added
74+
75+
### Changed
76+
77+
### Dependencies Update
78+
79+
### Deprecated
80+
81+
### Fixed
82+
83+
- Fix README. (#PR 1044)
84+
- Fix package info. (#PR 1046)
85+
86+
### Removed
87+
88+
### Security
89+
90+
### Contributors
91+
92+
- @luomai (PR #1044, 1046)
93+
94+
95+
## [2.2.0] - 2019-09-13
96+
97+
TensorLayer 2.2.0 is a maintenance release.
98+
It contains numerous API improvement and bug fixes.
99+
This release is compatible with TensorFlow 2 RC1.
100+
101+
### Added
102+
- Support nested layer customization (#PR 1015)
103+
- Support string dtype in InputLayer (#PR 1017)
104+
- Support Dynamic RNN in RNN (#PR 1023)
105+
- Add ResNet50 static model (#PR 1030)
106+
- Add performance test code in static model (#PR 1041)
107+
108+
### Changed
109+
110+
- `SpatialTransform2dAffine` auto `in_channels`
111+
- support TensorFlow 2.0.0-rc1
112+
- Update model weights property, now returns its copy (#PR 1010)
113+
114+
### Fixed
115+
- RNN updates: remove warnings, fix if seq_len=0, unitest (#PR 1033)
116+
- BN updates: fix BatchNorm1d for 2D data, refactored (#PR 1040)
117+
118+
### Dependencies Update
119+
120+
### Deprecated
121+
122+
### Fixed
123+
- Fix `tf.models.Model._construct_graph` for list of outputs, e.g. STN case (PR #1010)
124+
- Enable better `in_channels` exception raise. (PR #1015)
125+
- Set allow_pickle=True in np.load() (#PR 1021)
126+
- Remove `private_method` decorator (#PR 1025)
127+
- Copy original model's `trainable_weights` and `nontrainable_weights` when initializing `ModelLayer` (#PR 1026)
128+
- Copy original model's `trainable_weights` and `nontrainable_weights` when initializing `LayerList` (#PR 1029)
129+
- Remove redundant parts in `model.all_layers` (#PR 1029)
130+
- Replace `tf.image.resize_image_with_crop_or_pad` with `tf.image.resize_with_crop_or_pad` (#PR 1032)
131+
- Fix a bug in `ResNet50` static model (#PR 1041)
132+
133+
### Removed
134+
135+
### Security
136+
137+
### Contributors
138+
139+
- @zsdonghao
140+
- @luomai
141+
- @ChrisWu1997: #1010 #1015 #1025 #1030 #1040
142+
- @warshallrho: #1017 #1021 #1026 #1029 #1032 #1041
143+
- @ArnoldLIULJ: #1023
144+
- @JingqingZ: #1023
145+
146+
## [2.1.0]
147+
148+
### Changed
149+
- Add version_info in model.config. (PR #992)
150+
- Replace tf.nn.func with tf.nn.func.\_\_name\_\_ in model config. (PR #994)
151+
- Add Reinforcement learning tutorials. (PR #995)
152+
- Add RNN layers with simple rnn cell, GRU cell, LSTM cell. (PR #998)
153+
- Update Seq2seq (#998)
154+
- Add Seq2seqLuongAttention model (#998)
155+
156+
### Fixed
157+
158+
### Contributors
159+
- @warshallrho: #992 #994
160+
- @quantumiracle: #995
161+
- @Tokarev-TT-33: #995
162+
- @initial-h: #995
163+
- @Officium: #995
164+
- @ArnoldLIULJ: #998
165+
- @JingqingZ: #998
166+
167+
168+
## [2.0.2] - 2019-6-5
169+
170+
### Changed
171+
- change the format of network config, change related code and files; change layer act (PR #980)
172+
173+
### Fixed
174+
- Fix dynamic model cannot track PRelu weights gradients problem (PR #982)
175+
- Raise .weights warning (commit)
176+
177+
### Contributors
178+
- @warshallrho: #980
179+
- @1FengL: #982
180+
181+
## [2.0.1] - 2019-5-17
182+
183+
184+
A maintain release.
185+
186+
### Changed
187+
- remove `tl.layers.initialize_global_variables(sess)` (PR #931)
188+
- support `trainable_weights` (PR #966)
189+
72190
### Added
73191
- Layer
74192
- `InstanceNorm`, `InstanceNorm1d`, `InstanceNorm2d`, `InstanceNorm3d` (PR #963)
75193

194+
* Reinforcement learning tutorials. (PR #995)
195+
76196
### Changed
77197
- remove `tl.layers.initialize_global_variables(sess)` (PR #931)
198+
- update `tutorial_generate_text.py`, `tutorial_ptb_lstm.py`. remove `tutorial_ptb_lstm_state_is_tuple.py` (PR #958)
78199
- change `tl.layers.core`, `tl.models.core` (PR #966)
79200
- change `weights` into `all_weights`, `trainable_weights`, `nontrainable_weights`
80201

@@ -84,23 +205,25 @@ To release a new version, please update the changelog as followed:
84205
- yapf>=0.22,<0.25 => yapf==0.25.0 (PR #896)
85206
- imageio==2.5.0 progressbar2==3.39.3 scikit-learn==0.21.0 scikit-image==0.15.0 scipy==1.2.1 wrapt==1.11.1 pymongo==3.8.0 sphinx==2.0.1 wrapt==1.11.1 opencv-python==4.1.0.25 requests==2.21.0 tqdm==4.31.1 lxml==4.3.3 pycodestyle==2.5.0 sphinx==2.0.1 yapf==0.27.0(PR #967)
86207

87-
### Deprecated
88-
89208
### Fixed
90209
- fix docs of models @zsdonghao #957
91210
- In `BatchNorm`, keep dimensions of mean and variance to suit `channels first` (PR #963)
92211

93-
94-
### Removed
95-
96-
### Security
97-
98212
### Contributors
213+
- @warshallrho: #PR966
99214
- @zsdonghao: #931
100215
- @yd-yin: #963
216+
- @Tokarev-TT-33: # 995
217+
- @initial-h: # 995
218+
- @quantumiracle: #995
219+
- @Officium: #995
220+
- @1FengL: #958
221+
- @dvklopfenstein: #971
101222

102223

103-
## [2.0.0-alpha] - 2019-05-04
224+
## [2.0.0] - 2019-05-04
225+
226+
To many PR for this update, please check [here](https://github.com/tensorlayer/tensorlayer/releases/tag/2.0.0) for more details.
104227

105228
### Changed
106229
* update for TensorLayer 2.0.0 alpha version (PR #952)
@@ -119,6 +242,7 @@ To release a new version, please update the changelog as followed:
119242
- @ChrisWu1997
120243
- @warshallrho
121244

245+
122246
## [1.11.1] - 2018-11-15
123247

124248
### Changed
@@ -320,8 +444,10 @@ To release a new version, please update the changelog as followed:
320444
- AtrousDeConv2dLayer added (PR #662)
321445
- Fix bugs of using `tf.layers` in CNN (PR #686)
322446
- Optimizer:
447+
323448
- AMSGrad Optimizer added based on `On the Convergence of Adam and Beyond (ICLR 2018)` (PR #636)
324449
- Setup:
450+
325451
- Creation of installation flaggs `all`, `all_cpu`, and `all_gpu` (PR #660)
326452
- Test:
327453
- `test_utils_predict.py` added to reproduce and fix issue #288 (PR #566)
@@ -444,7 +570,12 @@ To release a new version, please update the changelog as followed:
444570
### Contributors
445571
@zsdonghao @luomai @DEKHTIARJonathan
446572

447-
[Unreleased]: https://github.com/tensorlayer/tensorlayer/compare/1.11....master
573+
[Unreleased]: https://github.com/tensorlayer/tensorlayer/compare/2.0....master
574+
[2.2.0]: https://github.com/tensorlayer/tensorlayer/compare/2.2.0...2.2.0
575+
[2.1.0]: https://github.com/tensorlayer/tensorlayer/compare/2.1.0...2.1.0
576+
[2.0.2]: https://github.com/tensorlayer/tensorlayer/compare/2.0.2...2.0.2
577+
[2.0.1]: https://github.com/tensorlayer/tensorlayer/compare/2.0.1...2.0.1
578+
[2.0.0]: https://github.com/tensorlayer/tensorlayer/compare/2.0.0...2.0.0
448579
[1.11.1]: https://github.com/tensorlayer/tensorlayer/compare/1.11.0...1.11.0
449580
[1.11.0]: https://github.com/tensorlayer/tensorlayer/compare/1.10.1...1.11.0
450581
[1.10.1]: https://github.com/tensorlayer/tensorlayer/compare/1.10.0...1.10.1

0 commit comments

Comments
 (0)