Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
bob.learn.tensorflow
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
bob
bob.learn.tensorflow
Commits
a95b53f8
Commit
a95b53f8
authored
7 years ago
by
Amir MOHAMMADI
Committed by
Tiago de Freitas Pereira
7 years ago
Browse files
Options
Downloads
Patches
Plain Diff
model_dir is important for evaluation
parent
6524d975
Branches
Branches containing commit
Tags
Tags containing commit
1 merge request
!18
Monitored training
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
bob/learn/tensorflow/script/eval_generic.py
+2
-2
2 additions, 2 deletions
bob/learn/tensorflow/script/eval_generic.py
with
2 additions
and
2 deletions
bob/learn/tensorflow/script/eval_generic.py
+
2
−
2
View file @
a95b53f8
...
@@ -20,6 +20,7 @@ The configuration files should have the following objects totally:
...
@@ -20,6 +20,7 @@ The configuration files should have the following objects totally:
## Required objects:
## Required objects:
model_dir
model_fn
model_fn
eval_input_fn
eval_input_fn
...
@@ -27,7 +28,6 @@ The configuration files should have the following objects totally:
...
@@ -27,7 +28,6 @@ The configuration files should have the following objects totally:
eval_interval_secs
eval_interval_secs
run_once
run_once
model_dir
run_config
run_config
model_params
model_params
steps
steps
...
@@ -114,12 +114,12 @@ def main(argv=None):
...
@@ -114,12 +114,12 @@ def main(argv=None):
config_files
=
args
[
'
<config_files>
'
]
config_files
=
args
[
'
<config_files>
'
]
config
=
read_config_file
(
config_files
)
config
=
read_config_file
(
config_files
)
model_dir
=
config
.
model_dir
model_fn
=
config
.
model_fn
model_fn
=
config
.
model_fn
eval_input_fn
=
config
.
eval_input_fn
eval_input_fn
=
config
.
eval_input_fn
eval_interval_secs
=
getattr
(
config
,
'
eval_interval_secs
'
,
300
)
eval_interval_secs
=
getattr
(
config
,
'
eval_interval_secs
'
,
300
)
run_once
=
getattr
(
config
,
'
run_once
'
,
False
)
run_once
=
getattr
(
config
,
'
run_once
'
,
False
)
model_dir
=
getattr
(
config
,
'
model_dir
'
,
None
)
run_config
=
getattr
(
config
,
'
run_config
'
,
None
)
run_config
=
getattr
(
config
,
'
run_config
'
,
None
)
model_params
=
getattr
(
config
,
'
model_params
'
,
None
)
model_params
=
getattr
(
config
,
'
model_params
'
,
None
)
steps
=
getattr
(
config
,
'
steps
'
,
None
)
steps
=
getattr
(
config
,
'
steps
'
,
None
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment