From 24d93eb0b5c28309705099410670cadd2ae227cc Mon Sep 17 00:00:00 2001 From: Huang Hao Date: Mon, 15 May 2017 17:52:35 +0800 Subject: [PATCH] Fix encoding issue Change a chinese pound sign to english for error: SyntaxError: Non-ASCII character '\xef' in file YOLO_small_tf.py on line 42, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details --- YOLO_small_tf.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/YOLO_small_tf.py b/YOLO_small_tf.py index 19b0f7c..97cb1cf 100755 --- a/YOLO_small_tf.py +++ b/YOLO_small_tf.py @@ -39,7 +39,7 @@ def argv_parser(self,argvs): if argvs[i] == '-disp_console' : if argvs[i+1] == '1' :self.disp_console = True else : self.disp_console = False - #build yolo model + # build yolo model def build_networks(self): if self.disp_console : print "Building YOLO_small graph..." self.x = tf.placeholder('float32',[None,448,448,3])