facebookresearch / facebookresearch/SlowFast

How to solve it: cannot import name 'cat_all_gather' from 'pytorchvideo.layers.distributed'

Open
#663 6 comments 0 reactions 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.