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
5df6a2b2
Commit
5df6a2b2
authored
Apr 30, 2021
by
Abdullah Rashwan
Committed by
A. Unique TensorFlower
Apr 30, 2021
Browse files
Internal change
PiperOrigin-RevId: 371418693
parent
c3cfdd92
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
official/modeling/hyperparams/params_dict.py
official/modeling/hyperparams/params_dict.py
+1
-1
No files found.
official/modeling/hyperparams/params_dict.py
View file @
5df6a2b2
...
...
@@ -458,7 +458,7 @@ def override_params_dict(params, dict_or_string_or_yaml_file, is_strict):
params
.
override
(
params_dict
,
is_strict
)
else
:
with
tf
.
io
.
gfile
.
GFile
(
dict_or_string_or_yaml_file
)
as
f
:
params
.
override
(
yaml
.
load
(
f
,
Loader
=
LOADER
),
is_strict
)
params
.
override
(
yaml
.
load
(
f
,
Loader
=
yaml
.
FullLoader
),
is_strict
)
else
:
raise
ValueError
(
'Unknown input type to parse.'
)
return
params
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