Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
F
ffm-baseline
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ML
ffm-baseline
Commits
b5e8f403
Commit
b5e8f403
authored
6 years ago
by
Your Name
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
change train.py
parent
f845d959
gyz
No related merge requests found
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
train.py
eda/esmm/Model_pipline/train.py
+1
-2
No files found.
eda/esmm/Model_pipline/train.py
View file @
b5e8f403
...
@@ -421,8 +421,7 @@ if __name__ == "__main__":
...
@@ -421,8 +421,7 @@ if __name__ == "__main__":
main
(
tr_files
)
main
(
tr_files
)
elif
FLAGS
.
task_type
==
'infer'
:
elif
FLAGS
.
task_type
==
'infer'
:
te_files
=
[
"
%
s/part-r-00000"
%
FLAGS
.
hdfs_dir
]
te_files
=
[
"
%
s/part-r-00000"
%
FLAGS
.
hdfs_dir
]
print
(
te_files
[
0
])
queue_name
=
te_files
[
0
]
.
split
(
'_'
)[
-
1
]
.
split
(
'/'
)[
0
]
+
"_queue"
queue_name
=
te_files
[
0
]
.
split
(
'_'
)[
-
1
]
+
"_queue"
print
(
queue_name
+
" task"
)
print
(
queue_name
+
" task"
)
result
=
main
(
te_files
)
result
=
main
(
te_files
)
df
=
df_sort
(
result
,
queue_name
)
df
=
df_sort
(
result
,
queue_name
)
...
...
This diff is collapsed.
Click to expand it.
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