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
a2fc0302
Commit
a2fc0302
authored
Jan 21, 2022
by
A. Unique TensorFlower
Browse files
Internal change
PiperOrigin-RevId: 423362449
parent
b482319b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
official/core/actions.py
official/core/actions.py
+1
-1
No files found.
official/core/actions.py
View file @
a2fc0302
...
@@ -201,7 +201,7 @@ def get_train_actions(
...
@@ -201,7 +201,7 @@ def get_train_actions(
"""Gets train actions for TFM trainer."""
"""Gets train actions for TFM trainer."""
train_actions
=
[]
train_actions
=
[]
# Adds pruning callback actions.
# Adds pruning callback actions.
if
hasattr
(
params
.
task
,
'pruning'
):
if
hasattr
(
params
.
task
,
'pruning'
)
and
params
.
task
.
pruning
:
train_actions
.
append
(
train_actions
.
append
(
PruningAction
(
PruningAction
(
export_dir
=
model_dir
,
export_dir
=
model_dir
,
...
...
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