In the line 12 of PCNN+ATT/test.h, the code is
for (int i = 0; i < 3 * dimensionC; i++) {
However, I think the code should be
`for (int i = 0; i < dimensionC; i++) {
which is similar to the 44th line of train.cpp.
I think the original code in test.h actually assumes that there are 3 * dimensionC convolution kernels while actually there are only dimensionC kernels.
I tested the new version of the test code with the released trained parameters and the PR curve matches the curve in the paper. And the speed is much faster than the original code.
In the line 12 of PCNN+ATT/test.h, the code is
for (int i = 0; i < 3 * dimensionC; i++) {
However, I think the code should be
`for (int i = 0; i < dimensionC; i++) {
which is similar to the 44th line of train.cpp.I think the original code in test.h actually assumes that there are
3 * dimensionC
convolution kernels while actually there are onlydimensionC
kernels.I tested the new version of the test code with the released trained parameters and the PR curve matches the curve in the paper. And the speed is much faster than the original code.