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
OpenDAS
ColossalAI
Commits
2c0c85d3
Unverified
Commit
2c0c85d3
authored
Jan 05, 2022
by
Jiarui Fang
Committed by
GitHub
Jan 05, 2022
Browse files
fix a bug in timer (#114)
parent
7904baf6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
colossalai/trainer/_trainer.py
colossalai/trainer/_trainer.py
+1
-1
No files found.
colossalai/trainer/_trainer.py
View file @
2c0c85d3
...
...
@@ -193,7 +193,7 @@ class Trainer:
self
.
_call_timer
(
action
=
'stop'
,
item
=
'Train-epoch'
,
keep_in_history
=
True
)
self
.
_call_hooks
(
'after_train_epoch'
)
self
.
_call_timer
(
action
=
'reset'
,
item
=
'Train-
st
ep'
)
self
.
_call_timer
(
action
=
'reset'
,
item
=
'Train-ep
och
'
)
def
_eval
(
self
,
test_dataloader
:
DataLoader
,
...
...
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