My test code here:

QQ截图20180926160050.jpg1177×398 50.2 KB

The problem is, if I follow the advise in document, using eval() when testing, my outputs will be quite strange. But if I cancel them, the results turn to be much better.
I’ve learned that this function influences bn-layers and dropout-layers, but I don’t know why there was such big difference between outputs generated in training and testing. When I used my tensorflow code, the outputs were similar. Did I miss something?
My model is cycle-gan.