cavalleria / cavaface

face recognition training project(pytorch)
MIT License
456 stars 88 forks source link

AttributeError: module 'torch.distributed' has no attribute 'deprecated' #63

Open Nakupenda-7 opened 3 years ago

Nakupenda-7 commented 3 years ago

Traceback (most recent call last): File "E:/cavaface.pytorch/train.py", line 23, in from apex.parallel import DistributedDataParallel as DDP File "E:\anaconda\lib\site-packages\apex\parallel__init__.py", line 8, in ReduceOp = torch.distributed.deprecated.reduce_op AttributeError: module 'torch.distributed' has no attribute 'deprecated'

cavalleria commented 3 years ago

please make sure your env settings

Nakupenda-7 commented 3 years ago

please make sure your env settings

Is it because windows does not support?

cavalleria commented 3 years ago

i have not tested in windows. maybe

cepedus commented 3 years ago

windows does not support DistributedDataParallel nor apex