Closed Mendel1 closed 6 years ago
Hi, @Mendel1 I run the test code, and the ouput is as below:
python roi_align_test.py
[0, 1, 2, 3, 4, 5, 6, 7, 8, 9]
[10, 11, 12, 13, 14, 15, 16, 17, 18, 19]
[20, 21, 22, 23, 24, 25, 26, 27, 28, 29]
[30, 31, 32, 33, 34, 35, 36, 37, 38, 39]
[40, 41, 42, 43, 44, 45, 46, 47, 48, 49]
[50, 51, 52, 53, 54, 55, 56, 57, 58, 59]
[60, 61, 62, 63, 64, 65, 66, 67, 68, 69]
[70, 71, 72, 73, 74, 75, 76, 77, 78, 79]
[80, 81, 82, 83, 84, 85, 86, 87, 88, 89]
[90, 91, 92, 93, 94, 95, 96, 97, 98, 99]
[
[[[[ 3.66666651 4.16666651]
[ 8.66666603 9.16666698]]]]
<NDArray 1x1x2x2 @gpu(0)>]
Please refer to maskrcnn_iccv2017_tutorial_kaiminghe.pdf page 24.
@Zehaos Thank you very much.I found I had changed something and didn't comment it before running. I'll read the tutorial.
I'm trying to figure out how all these code run.But some problem occurs when I run a test based on ROIAlign layer.Test code is like below.
In my thought,it should output
But it output
Could you tell me some points in this layer? Thanks very much.