mirror of https://github.com/JDAI-CV/fast-reid.git
fix checkpoint bug in ddp training
Summary: change pytorch ddp to apex ddp in checkpointpull/380/head
parent
f56ca8345e
commit
0e1b91f74a
|
@ -11,11 +11,11 @@ from typing import Optional, List, Dict, NamedTuple, Tuple, Iterable
|
|||
import numpy as np
|
||||
import torch
|
||||
import torch.nn as nn
|
||||
from apex.parallel import DistributedDataParallel
|
||||
from termcolor import colored
|
||||
from torch.nn.parallel import DataParallel, DistributedDataParallel
|
||||
from torch.nn.parallel import DataParallel
|
||||
|
||||
from fastreid.utils.file_io import PathManager
|
||||
from fastreid.utils.events import get_event_storage
|
||||
|
||||
|
||||
class _IncompatibleKeys(
|
||||
|
|
Loading…
Reference in New Issue