Skip to content
This repository has been archived by the owner on Jul 2, 2023. It is now read-only.

What h[:, :, 31:31 + x.size()[2], 31:31 + x.size()[3]] mean? #161

Open
lyw615 opened this issue Jun 10, 2021 · 6 comments
Open

What h[:, :, 31:31 + x.size()[2], 31:31 + x.size()[3]] mean? #161

lyw615 opened this issue Jun 10, 2021 · 6 comments

Comments

@lyw615
Copy link

lyw615 commented Jun 10, 2021

It looks like array slice, but what 31 means? And 'h[:, :, 5:5 + upscore2.size()[2], 5:5 + upscore2.size()[3]]' also confuses me

@mailvijayasingh
Copy link

were you able to understand this?

@lyw615
Copy link
Author

lyw615 commented Jul 27, 2021

This is 4D array slice. But it makes no sense for index 31

@FRANK-RAN
Copy link

but why 5:5 + upscore2.size()[2]? i do not understand why plus 5.

@Haoyanlong
Copy link

@lyw615 @FRANK-RAN I also do not understand the index of slice, 5 and 31?Do you understand the params?Could you tell me?Thanck you very much!

@zyongqing
Copy link

cut padding

@YCakira
Copy link

YCakira commented Oct 9, 2022 via email

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants