Traceback (most recent call last):


 "tools/test_recognizer_heavy.py", line 211, in <module>

main()


 "tools/test_recognizer_heavy.py", line 170, in main

init_dist(args.launcher, **cfg.dist_params)


 "/media/liuxy/dataset/mmaction/mmaction/apis/env.py", line 16, in init_dist

_init_dist_pytorch(backend, **kwargs)


 "/media/liuxy/dataset/mmaction/mmaction/apis/env.py", line 27, in _init_dist_pytorch

rank = int(os.environ['RANK'])


 "/usr/local/src/python37/lib/python3.7/os.py", line 678, in __getitem__

raise KeyError(key) from None
KeyError: 'RANK'


Traceback (most recent call last):


 "/tmp/pip-install-ubzvucnj/horovod/setup.py", line 980, in build_extensions

torch_version = check_torch_version()


 "/tmp/pip-install-ubzvucnj/horovod/setup.py", line 778, in check_torch_version

'import torch failed, is it installed?\n\n%s' % traceback.format_exc())

distutils.errors.DistutilsPlatformError: import torch failed, is it installed?
