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
1ba5b58c
"git@developer.sourcefind.cn:chenpangpang/ComfyUI.git" did not exist on "85a8900a148c881914ed16900108f08fd26981c1"
Commit
1ba5b58c
authored
Nov 03, 2018
by
VictorSanh
Browse files
fix typo
parent
5858e8e4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
run_classifier_pytorch.py
run_classifier_pytorch.py
+1
-1
No files found.
run_classifier_pytorch.py
View file @
1ba5b58c
...
@@ -571,7 +571,7 @@ def main():
...
@@ -571,7 +571,7 @@ def main():
model
.
eval
()
model
.
eval
()
eval_loss
,
eval_accuracy
=
0
,
0
eval_loss
,
eval_accuracy
=
0
,
0
nb_eval_steps
,
nb_eval_examples
=
0
nb_eval_steps
,
nb_eval_examples
=
0
,
0
for
input_ids
,
input_mask
,
segment_ids
,
label_ids
in
eval_dataloader
:
for
input_ids
,
input_mask
,
segment_ids
,
label_ids
in
eval_dataloader
:
input_ids
=
input_ids
.
to
(
device
)
input_ids
=
input_ids
.
to
(
device
)
input_mask
=
input_mask
.
float
().
to
(
device
)
input_mask
=
input_mask
.
float
().
to
(
device
)
...
...
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