import tensorflow as tf

                                                                             self.frame_size_y,
                                                                             self.rgb_channels))
            is_training = False

            with tf.variable_scope('RGB'):
                self.feature, _ = InceptionI3d(
                    num_classes=self.num_classes,
                    spatial_squeeze=True,
                    final_endpoint=self.output_layer,
                    name='inception_i3d'
                )(self.rgb_images_placeholder, is_training)
            init = tf.global_variables_initializer()

            config = tf.ConfigProto(log_device_placement=False)
            if self.on_gpu:
                config.gpu_options.allow_growth = True

            self.sess = tf.Session(config=config)
            self.sess.run(init)

            checkpoint_file = self.model_dir
            meta_graph_location = self.model_dir + '.meta'
