Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

concat 金字塔通道数是1280而不是1024 #29

Open
Jackluisus opened this issue Dec 7, 2020 · 0 comments
Open

concat 金字塔通道数是1280而不是1024 #29

Jackluisus opened this issue Dec 7, 2020 · 0 comments

Comments

@Jackluisus
Copy link

Jackluisus commented Dec 7, 2020

这个是代码中的金字塔合并操作,这样p6也就被合并了,(后面查看形状,输出的是1280)。但注释里写的不合并p6,求大家解惑。

        for l in range(1, len(cfgs.LEVLES)):  # do not concat P6, do not upsample P2
            upsample_p = tf.image.resize_bilinear(P_list[l],
                                                  size=[h, w],
                                                  name='up_sample_%d' % (l + 2))
            concat_list.append(upsample_p)


        concat_fet = tf.concat(concat_list, axis=-1)
        print(concat_fet.shape)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant