seglink_symbol.py 文件源码

python
阅读 16 收藏 0 点赞 0 评论 0

项目:seglink 作者: dengdan 项目源码 文件源码
def _build_network(self):

        with slim.arg_scope([slim.conv2d],
                        activation_fn=tf.nn.relu,
                        weights_regularizer=slim.l2_regularizer(self.weight_decay),
                        weights_initializer= self.weights_initializer,
                        biases_initializer = self.biases_initializer):
            with slim.arg_scope([slim.conv2d, slim.max_pool2d],
                                padding='SAME',
                                data_format = self.data_format):
                with tf.variable_scope(self.basenet_type):
                    basenet, end_points = net_factory.get_basenet(self.basenet_type, self.inputs);

                with tf.variable_scope('extra_layers'):
                    self.net, self.end_points = self._add_extra_layers(basenet, end_points);

                with tf.variable_scope('seglink_layers'):
                    self._add_seglink_layers();
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号