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
81f89bc3
"src/vscode:/vscode.git/clone" did not exist on "268ebcb015d8816257f24e3cd930fb48964314b4"
Unverified
Commit
81f89bc3
authored
Feb 05, 2018
by
Yakings
Committed by
GitHub
Feb 05, 2018
Browse files
Fix incompatible usage of 'filter' in Python3
parent
a6758929
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
research/object_detection/utils/variables_helper.py
research/object_detection/utils/variables_helper.py
+1
-1
No files found.
research/object_detection/utils/variables_helper.py
View file @
81f89bc3
...
...
@@ -42,7 +42,7 @@ def filter_variables(variables, filter_regex_list, invert=False):
a list of filtered variables.
"""
kept_vars
=
[]
variables_to_ignore_patterns
=
filter
(
None
,
filter_regex_list
)
variables_to_ignore_patterns
=
list
(
filter
(
None
,
filter_regex_list
)
)
for
var
in
variables
:
add
=
True
for
pattern
in
variables_to_ignore_patterns
:
...
...
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