You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
*[05 Apr] Release [models APIs](http://tensorlayer.readthedocs.io/en/latest/modules/models.html#) for well-known pretained networks.
27
28
*[18 Mar] Release experimental APIs for binary networks.
28
29
*[18 Jan][《深度学习:一起玩转TensorLayer》](http://www.broadview.com.cn/book/5059) (Deep Learning using TensorLayer)
29
30
*[17 Dec] Release experimental APIs for distributed training (by [TensorPort](https://tensorport.com)). See [tiny example](https://github.com/zsdonghao/tensorlayer/blob/master/example/tutorial_mnist_distributed.py).
Copy file name to clipboardExpand all lines: tensorlayer/models/vgg16.py
+3Lines changed: 3 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -245,6 +245,7 @@ class VGG16(VGG16Base):
245
245
Examples
246
246
---------
247
247
Classify ImageNet classes with VGG16, see `tutorial_models_vgg16.py <https://github.com/tensorlayer/tensorlayer/blob/master/example/tutorial_models_vgg16.py>__`
248
+
248
249
>>> x = tf.placeholder(tf.float32, [None, 224, 224, 3])
249
250
>>> # get the whole model
250
251
>>> vgg = tl.models.VGG16(x)
@@ -255,6 +256,7 @@ class VGG16(VGG16Base):
255
256
>>> probs = tf.nn.softmax(vgg.outputs)
256
257
257
258
Extract features with VGG16 and Train a classifier with 100 classes
259
+
258
260
>>> x = tf.placeholder(tf.float32, [None, 224, 224, 3])
0 commit comments