Stop running while using batch normalization, why?

When I run code here, I cannot see any output about loss as well as any error or warning. It’s very strange.
I debug in pycharm, and found the program stop in the line 254 of The debugger could get the result of self.conv1(x) successfully but wait until timeout when typing self.bn1(self.conv1(x)).
How to solve this problem?