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

About the data format in deformable psroi pooling #9

Open
abuzn opened this issue Sep 27, 2017 · 1 comment
Open

About the data format in deformable psroi pooling #9

abuzn opened this issue Sep 27, 2017 · 1 comment

Comments

@abuzn
Copy link

abuzn commented Sep 27, 2017

in lib/networks/network.py, the function "deform_psroi_pool"
I think the inputs data format have been converted into [NCHW], so the output data format of this function is still [NCHW]?
If so, the following code in "fc" function
if data_format=="NCHW":
feed_in = tf.reshape(tf.transpose(input,[0,3,1,2]), [-1, dim])
will convert the data to [NWCH]?

@Zardinality
Copy link
Owner

Right, since deform_psroi_pool is always followed by a fc layer, I assumed the data format is transformed back to the default NHWC after passing through fc layer. When ported to another different network it is indeed a problem that should be awared.

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

2 participants