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
03015146
Commit
03015146
authored
6 years ago
by
张彦钊
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
change test file
parent
afe26d0b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
train.py
eda/esmm/Model_pipline/train.py
+4
-3
No files found.
eda/esmm/Model_pipline/train.py
View file @
03015146
...
...
@@ -316,8 +316,8 @@ def main(_):
# print('l2_reg ', FLAGS.l2_reg)
# print('ctr_task_wgt ', FLAGS.ctr_task_wgt)
tr_files
=
get_filename
(
"
/strategy/esmm/
tr"
)
va_files
=
get_filename
(
"
/strategy/esmm/
va"
)
tr_files
=
get_filename
(
"tr"
)
va_files
=
get_filename
(
"va"
)
te_files
=
[
"
%
s/part-r-00000"
%
FLAGS
.
hdfs_dir
]
if
FLAGS
.
clear_existing_model
:
...
...
@@ -364,7 +364,8 @@ def main(_):
print
(
"Not Implemented, Do It Yourself!"
)
def
get_filename
(
dir_in
):
pre_add
=
"hdfs:///172.16.32.4:8020/strategy/esmm/"
pre_add
=
"hdfs://172.16.32.4:8020/strategy/esmm/"
x
=
[]
for
i
in
range
(
0
,
200
):
if
i
<
10
:
...
...
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