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
Megatron-LM
Commits
77efcccb
Commit
77efcccb
authored
Aug 10, 2022
by
Mohammad Shoeybi
Committed by
Jared Casper
Aug 10, 2022
Browse files
Timing levels
parent
83d78670
Changes
21
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
tasks/vision/segmentation/finetune_setr.py
tasks/vision/segmentation/finetune_setr.py
+1
-1
No files found.
tasks/vision/segmentation/finetune_setr.py
View file @
77efcccb
...
@@ -86,7 +86,7 @@ def segmentation():
...
@@ -86,7 +86,7 @@ def segmentation():
timers
=
get_timers
()
timers
=
get_timers
()
# Get the batch.
# Get the batch.
timers
(
"batch generator"
).
start
()
timers
(
"batch generator"
,
log_level
=
2
).
start
()
import
types
import
types
if
isinstance
(
batch
,
types
.
GeneratorType
):
if
isinstance
(
batch
,
types
.
GeneratorType
):
batch_
=
next
(
batch
)
batch_
=
next
(
batch
)
...
...
Prev
1
2
Next
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