未验证 提交 509b6835 编写于 作者: Q Qiyang Min 提交者: GitHub

Merge pull request #12770 from velconia/fix_py3_missing_import

Remove unused six and missing six import
...@@ -24,7 +24,6 @@ import paddle.dataset.common ...@@ -24,7 +24,6 @@ import paddle.dataset.common
import subprocess import subprocess
import numpy import numpy
import platform import platform
import six
import tempfile import tempfile
from six.moves import range from six.moves import range
__all__ = ['train', 'test', 'convert'] __all__ = ['train', 'test', 'convert']
......
...@@ -16,7 +16,6 @@ from __future__ import print_function ...@@ -16,7 +16,6 @@ from __future__ import print_function
import numpy as np import numpy as np
import argparse import argparse
import six
import time import time
import math import math
......
...@@ -34,6 +34,7 @@ import math ...@@ -34,6 +34,7 @@ import math
import random import random
import numpy as np import numpy as np
import collections import collections
import six
from .ps_dispatcher import RoundRobin, HashName, PSDispatcher from .ps_dispatcher import RoundRobin, HashName, PSDispatcher
from .. import core, framework from .. import core, framework
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册