File tree Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change 22
22
from distutils .version import LooseVersion # noqa: E402, F401 pylint: disable=no-name-in-module
23
23
import tensorflow # noqa: E402, F401
24
24
25
- if LooseVersion (tensorflow .__version__ ) < LooseVersion ("1.3.0" ):
26
- message = 'Tensorflow version must be >= 1.3.0. Current version: {}' .format (tensorflow .__version__ )
25
+ if LooseVersion (tensorflow .__version__ ) < LooseVersion ("1.3.0" ): # pylint: disable=no-member
26
+ message = 'Tensorflow version must be >= 1.3.0. Current version: {}' .format (
27
+ tensorflow .__version__ ) # pylint: disable=no-member
27
28
raise AssertionError (message )
28
29
29
30
from sagemaker .tensorflow .estimator import TensorFlow # noqa: E402, F401
Original file line number Diff line number Diff line change 17
17
import google .protobuf .json_format as json_format
18
18
from google .protobuf .message import DecodeError
19
19
from protobuf_to_dict import protobuf_to_dict
20
- from tensorflow .core .framework import tensor_pb2
21
- from tensorflow .python .framework import tensor_util
20
+ from tensorflow .core .framework import tensor_pb2 # pylint: disable=no-name-in-module
21
+ from tensorflow .python .framework import tensor_util # pylint: disable=no-name-in-module
22
22
23
23
from sagemaker .content_types import CONTENT_TYPE_JSON , CONTENT_TYPE_OCTET_STREAM , CONTENT_TYPE_CSV
24
24
from sagemaker .predictor import json_serializer , csv_serializer
You can’t perform that action at this time.
0 commit comments