pytorch-fcn icon indicating copy to clipboard operation
pytorch-fcn copied to clipboard

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

Open lyw615 opened this issue 3 years ago • 6 comments

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

lyw615 avatar Jun 10 '21 02:06 lyw615

were you able to understand this?

mailvijayasingh avatar Jul 26 '21 22:07 mailvijayasingh

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

lyw615 avatar Jul 27 '21 00:07 lyw615

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

FRANK-RAN avatar Aug 29 '21 08:08 FRANK-RAN

@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!

Haoyanlong avatar Apr 24 '22 02:04 Haoyanlong

cut padding

zyongqing avatar Oct 09 '22 11:10 zyongqing

这是来自QQ邮箱的自动回复邮件。嗨,这里是吴颖的信箱。谢谢你的来信,我将会尽快给你回复。

YCakira avatar Oct 09 '22 11:10 YCakira