The original author of this model use the test code I just change minor things such as otsu stuff.
 with torch.no_grad():
                img_variable = torch.autograd.Variable(img_tensor)

                if torch.cuda.is_available():
                    img_variable = img_variable.cuda()

So I use this part.
I will also try to use the eval again. eval actually little bit decrease result.
The difference is around 0.0005 average iou.
Thank you.