force print immediately
@@ -4,7 +4,7 @@ import sys
import utilities.misc as util
import utilities.parse_user_params as parse_user_params
-sys.stdout = os.fdopen(sys.stdout.fileno(), 'w')
+sys.stdout = os.fdopen(sys.stdout.fileno(), 'w', 0)
class NetFactory(object):
