Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ModelZoo
ResNet50_tensorflow
Commits
51364cdf
Commit
51364cdf
authored
Feb 08, 2021
by
stephenwu
Browse files
fixed style
parent
80a21374
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
official/nlp/data/classifier_data_lib.py
official/nlp/data/classifier_data_lib.py
+1
-1
No files found.
official/nlp/data/classifier_data_lib.py
View file @
51364cdf
...
...
@@ -121,7 +121,7 @@ class DataProcessor(object):
return
lines
@
classmethod
def
_read_jsonl
(
self
,
input_
path
):
def
_read_jsonl
(
cls
,
input_
file
):
"""Reads a json line file."""
with
tf
.
io
.
gfile
.
GFile
(
input_path
,
"r"
)
as
f
:
lines
=
[]
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment