zoo.examples.tensorflow.tfpark.inception.nets package

Submodules

zoo.examples.tensorflow.tfpark.inception.nets.inception_utils module

Contains common code shared by all inception models.

Usage of arg scope: with slim.arg_scope(inception_arg_scope()): logits, end_points = inception.inception_v3(images, num_classes, is_training=is_training)

zoo.examples.tensorflow.tfpark.inception.nets.inception_utils.inception_arg_scope(weight_decay=4e-05, use_batch_norm=True, batch_norm_decay=0.9997, batch_norm_epsilon=0.001, activation_fn=<function relu>, batch_norm_updates_collections='update_ops', batch_norm_scale=False)[source]

Defines the default arg scope for inception models.

Args: weight_decay: The weight decay to use for regularizing the model. use_batch_norm: “If True, batch_norm is applied after each convolution. batch_norm_decay: Decay for batch norm moving average. batch_norm_epsilon: Small float added to variance to avoid dividing by zero in batch norm. activation_fn: Activation function for conv2d. batch_norm_updates_collections: Collection for the update ops for batch norm. batch_norm_scale: If True, uses an explicit gamma multiplier to scale the activations in the batch normalization layer.

Returns: An arg_scope to use for the inception models.

zoo.examples.tensorflow.tfpark.inception.nets.inception_v1 module

Module contents