# Path: piecewisecrf/slim/inception_model.py
# def inception_v3(inputs,
#                  dropout_keep_prob=0.8,
#                  num_classes=1000,
#                  is_training=True,
#                  restore_logits=True,
#                  scope=''):
# def inception_v3_parameters(weight_decay=0.00004, stddev=0.1,
#                             batch_norm_decay=0.9997, batch_norm_epsilon=0.001):


import tensorflow as tf
from piecewisecrf.slim import inception_model as inception
# Copyright 2016 Google Inc. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# ==============================================================================
"""Tests for slim.inception."""
from __future__ import absolute_import
from __future__ import division
from __future__ import print_function




class InceptionTest(tf.test.TestCase):

  def testBuildLogits(self):
    batch_size = 5
    height, width = 299, 299
    num_classes = 1000
    with self.test_session():
      inputs = tf.random_uniform((batch_size, height, width, 3))

# Path: piecewisecrf/slim/inception_model.py
# def inception_v3(inputs,
#                  dropout_keep_prob=0.8,
#                  num_classes=1000,
#                  is_training=True,
#                  restore_logits=True,
#                  scope=''):
# def inception_v3_parameters(weight_decay=0.00004, stddev=0.1,
#                             batch_norm_decay=0.9997, batch_norm_epsilon=0.001):


# Path: piecewisecrf/slim/inception_test.py
import tensorflow as tf
from piecewisecrf.slim import inception_model as inception

# Copyright 2016 Google Inc. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# ==============================================================================
"""Tests for slim.inception."""
from __future__ import absolute_import
from __future__ import division
from __future__ import print_function




class InceptionTest(tf.test.TestCase):

  def testBuildLogits(self):
    batch_size = 5
    height, width = 299, 299
    num_classes = 1000
    with self.test_session():
      inputs = tf.random_uniform((batch_size, height, width, 3))

      logits, _ = inception.inception_v3(inputs, num_classes)