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
Swin-Transformer_pytorch
Commits
4c43f612
Commit
4c43f612
authored
Nov 07, 2024
by
dcuai
Browse files
Update utils.py ——del torch._six
parent
bc29c9e2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
utils.py
utils.py
+1
-1
No files found.
utils.py
View file @
4c43f612
...
...
@@ -8,7 +8,7 @@
import
os
import
torch
import
torch.distributed
as
dist
from
torch
._six
import
inf
from
torch
import
inf
def
load_checkpoint
(
config
,
model
,
optimizer
,
lr_scheduler
,
loss_scaler
,
logger
):
...
...
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