提交 288f2ae2 编写于 作者: S superjom

apply isort

上级 9861d2f0
import onnx
import json import json
from google.protobuf.json_format import MessageToJson from google.protobuf.json_format import MessageToJson
import onnx
def reorganize_inout(json_obj, key): def reorganize_inout(json_obj, key):
""" """
......
import pprint import pprint
import random
import re import re
import urllib import urllib
import random
from tempfile import NamedTemporaryFile from tempfile import NamedTemporaryFile
import numpy as np import numpy as np
......
import lib import pprint
import unittest import unittest
import lib
import storage import storage
import pprint from storage_mock import add_image, add_scalar
from storage_mock import add_scalar, add_image
class LibTest(unittest.TestCase): class LibTest(unittest.TestCase):
......
...@@ -7,13 +7,12 @@ from optparse import OptionParser ...@@ -7,13 +7,12 @@ from optparse import OptionParser
from flask import (Flask, Response, redirect, request, send_file, from flask import (Flask, Response, redirect, request, send_file,
send_from_directory) send_from_directory)
import graph
import lib import lib
import storage import storage
import visualdl.mock.data as mock_data import visualdl.mock.data as mock_data
import visualdl.mock.tags as mock_tags import visualdl.mock.tags as mock_tags
from visualdl.log import logger from visualdl.log import logger
import storage
import graph
app = Flask(__name__, static_url_path="") app = Flask(__name__, static_url_path="")
# set static expires in a short time to reduce browser's memory usage. # set static expires in a short time to reduce browser's memory usage.
......
import random import random
import time import time
import unittest import unittest
from PIL import Image
import numpy as np import numpy as np
from PIL import Image
import storage import storage
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册