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
chenpangpang
transformers
Commits
0d2c111a
"git@developer.sourcefind.cn:wangsen/paddle_dbnet.git" did not exist on "d31ba7cc1b5a5bfbce59214d006f05a087db2ec3"
Commit
0d2c111a
authored
Aug 27, 2020
by
Lysandre
Browse files
Format
parent
6f289dc9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
src/transformers/trainer_tf.py
src/transformers/trainer_tf.py
+2
-1
No files found.
src/transformers/trainer_tf.py
View file @
0d2c111a
...
@@ -629,7 +629,8 @@ class TFTrainer:
...
@@ -629,7 +629,8 @@ class TFTrainer:
features
=
{
features
=
{
k
:
tf
.
concat
(
k
:
tf
.
concat
(
[
ft
[
self
.
args
.
train_batch_size
//
self
.
args
.
n_replicas
:],
reduced_features
[
k
]],
axis
=
0
,
[
ft
[
self
.
args
.
train_batch_size
//
self
.
args
.
n_replicas
:],
reduced_features
[
k
]],
axis
=
0
,
)
)
for
k
,
ft
in
features
.
items
()
for
k
,
ft
in
features
.
items
()
}
}
...
...
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