Closed unique-null closed 5 years ago
So..... Do you mean I only employ two scales for test set?......
So sad.........
Yes, I have debug it. The shape of the output features before upsampling, are the same for scale 0.75 and 1.0. By the way, have you test on more scales, such as 0.5 0.75 1.25 1.5 1.75 2.0 .
I think more scales can improve the performance..... I just try some scales to save the time.
It takes much more time if you test with too many scales.
Yes, I found that the test method is do time consuming, especially, the sliding
testing. Therefore, for scale > 1, I adopt full input for testing, then resize the output to 1024,2048. It may consume more GPU memory, but significantly reduce the testing time and performance keeps similar.
@SwagJzzZ I do not employ the sliding method, which is too slow.
@PkuRainBow you mean that all the scale, you adopt the function predict_whole_img
?
Yes. But it seems the memory is not enough for larger scale such as 1.75x and 2x.
@PkuRainBow you mean that all the scale, you adopt the function
predict_whole_img
?
@SwagJzzZ
I employ sliding method for scale larger than 1x as the memory problem.
Besides, we only need to slide 4 times instead of sharing too many common parts as the PSPNet.
For example, if you test the image of 2048x4096, then you only need to predict four crops of 1024x2048 is Ok.
However, more scales for testing is really time consuming. For example, if I choose three scales for testing on the test set, it can take about ~10 hours. If more scales are used, much more time is needed.
Only if you have enough resources, the multiscale testing is really heavy.
@SwagJzzZ Currently, we could achieve 81.54 on the testing set of CS by fixing the multi-scale bugs.
And we will keep improving this number in the recent week.
@PkuRainBow Congratulations! What scales did you adopt?
@SwagJzzZ The original scales [0.75x, 1x, 1.25x] is OK.
@PkuRainBow Thanks for your reply. I am trying to train the model on VOC2012.
@SwagJzzZ Great!
We plan to add the experiments on VOC2012 in the futher month.
It would be great if you could share your results with us in advance.
Hi PkuRainBow, There is a bug in
generate_submit.py
, where onlyscale >1
will resize the input image and, as a result, the 0.75 scale will not be activated.