Commit 4c43f612 authored by dcuai's avatar dcuai
Browse files

Update utils.py ——del torch._six

parent bc29c9e2
......@@ -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):
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment