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
126fe281
Commit
126fe281
authored
6 years ago
by
张彦钊
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
change test file
parent
de18ca2f
master
gyz
mr/beta/bug22
offic
rtt
updatedb
zhao
zhao22
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
11 deletions
+7
-11
train.py
eda/esmm/Model_pipline/train.py
+7
-11
No files found.
eda/esmm/Model_pipline/train.py
View file @
126fe281
...
...
@@ -300,11 +300,7 @@ def main(_):
FLAGS
.
model_dir
=
FLAGS
.
model_dir
+
FLAGS
.
dt_dir
#FLAGS.data_dir = FLAGS.data_dir + FLAGS.dt_dir
tr_files
=
glob
.
glob
(
"/home/gmuser/test/part*"
)
random
.
shuffle
(
tr_files
)
print
(
"tr_files:"
,
tr_files
)
# tr_files = get_filename("tr")
tr_files
=
get_filename
(
"tr"
)
va_files
=
get_filename
(
"va"
)
te_files
=
[
"
%
s/part-r-00000"
%
FLAGS
.
hdfs_dir
]
...
...
@@ -374,8 +370,8 @@ if __name__ == "__main__":
os
.
system
(
a
)
print
(
"环境"
)
print
(
os
.
system
(
a
))
# path = "hdfs://172.16.32.4:8020/strategy/esmm/"
# tf.logging.set_verbosity(tf.logging.INFO)
# tf.app.run()
# print("耗时(分钟):")
# print((time.time()-b)/60)
\ No newline at end of file
path
=
"hdfs://172.16.32.4:8020/strategy/esmm/"
tf
.
logging
.
set_verbosity
(
tf
.
logging
.
INFO
)
tf
.
app
.
run
()
print
(
"耗时(分钟):"
)
print
((
time
.
time
()
-
b
)
/
60
)
\ No newline at end of file
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