facebookresearch / facebookresearch/SlowFast
How to solve it: cannot import name 'cat_all_gather' from 'pytorchvideo.layers.distributed'
- Dominant language
- Python
- Stars
- 7.4k
- Forks
- 1.3k
- PR merge metrics
- No merged PRs in 30d
Description
Traceback (most recent call last):
File "tools/run_net.py", line 6, in
from slowfast.utils.misc import launch_job
File "/root/slowfast/slowfast/utils/misc.py", line 19, in
import slowfast.utils.logging as logging
File "/root/slowfast/slowfast/utils/logging.py", line 15, in
import slowfast.utils.distributed as du
File "/root/slowfast/slowfast/utils/distributed.py", line 12, in
from pytorchvideo.layers.distributed import ( # noqa
ImportError: cannot import name 'cat_all_gather' from 'pytorchvideo.layers.distributed' (/root/miniconda3/envs/cnslowfast/lib/python3.8/site-packages/pytorchvideo/layers/distributed.py)
Contributor guide
Assessment
This issue has not been assessed yet.