I have already installed pytorch, version=1.0, when distributed training, it seems that node can not import torch? What should I do?
python -m torch.distributed.launch --nproc_per_node=2 main_fp16_optimizer.py -a resnet50 --fp16 --b 224 --workers 4
Traceback (most recent call last):
File "main_fp16_optimizer.py", line 6, in <module>
import torch
ImportError: No module named torch
Traceback (most recent call last):
File "main_fp16_optimizer.py", line 6, in <module>
import torch
ImportError: No module named torch