From cdd35034cf9cbd3f742c00e75d10b0922d805997 Mon Sep 17 00:00:00 2001 From: martin Hwang Date: Sun, 25 Nov 2018 21:27:05 +0900 Subject: [PATCH] #7 : solved encoding error --- Format.py | 2 ++ example.py | 4 +++- label_visualization.py | 4 +++- 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/Format.py b/Format.py index a533a073..a984a03b 100644 --- a/Format.py +++ b/Format.py @@ -1,3 +1,5 @@ +#-*-coding:utf-8-*- + import sys import os import csv diff --git a/example.py b/example.py index 07f8cbaf..328f19d7 100644 --- a/example.py +++ b/example.py @@ -1,3 +1,5 @@ +#-*-coding:utf-8-*- + import os from xml.etree.ElementTree import dump import json @@ -127,4 +129,4 @@ def main(config): "cls_list": args.cls_list_file, } - main(config) \ No newline at end of file + main(config) diff --git a/label_visualization.py b/label_visualization.py index 0c98d693..34310c8c 100644 --- a/label_visualization.py +++ b/label_visualization.py @@ -1,3 +1,5 @@ +#-*-coding:utf-8-*- + import os import argparse import time @@ -80,4 +82,4 @@ def main(): print("return value : {}, msg : {}, args: {}".format(result, data, args)) if __name__ == '__main__': - main() \ No newline at end of file + main()