当前位置:   article > 正文

配置SlowFast时遇到的问题_使用slowfast面对问题

使用slowfast面对问题

配置SlowFast时遇到的问题

use ‘scikit-learn’ rather than ‘sklearn’ for pip commands.

setup.py中sklearn改为scikit-learn

##libstdc++.so.6里面没有GLIBCXX 3.4.40

strings /home/miniconda3/envs/yjm_SlowFast/lib/libstdc++.so.6 | grep GLIBCXX

export LD_LIBRARY_PATH=/home/miniconda3/envs/yjm_slowfast/lib/

module ‘PIL.Image’ has no attribute ‘LINEAR’

pip install Pillow==8.4.0

module ‘distutils’ has no attribute ‘version’

pip install setuptools==59.5.0

from detectron2 import _C

ImportError: /home/miniconda3/envs/yjm_slowfast/lib/python3.8/site-packages/detectron2/_C.cpython-38-x86_64-linux-gnu.so: undefined symbol: _ZNK2at6Tensor7reshapeEN3c108ArrayRefIlEE

未解决

error: Could not find suitable distribution for Requirement.parse(‘PIL’)

setup.py中PIL改为Pillow

cannot import name ‘cat_all_gather’

  File "/home/user/yuanjinmin/SlowFast/slowfast/utils/distributed.py", line 12, in <module>
    from pytorchvideo.layers.distributed import (  # noqa
ImportError: cannot import name 'cat_all_gather' from 'pytorchvideo.layers.distributed'
  • 1
  • 2
  • 3
git clone https://github.com/facebookresearch/pytorchvideo.git
pip install -e pytorchvideo
  • 1
  • 2

AttributeError: module ‘torch’ has no attribute ‘compiler’

https://github.com/facebookresearch/detectron2/issues/5268#issuecomment-2075663801

Cannot import name ‘int_classes’ from ‘torch._six’

https://discuss.pytorch.org/t/cannot-import-name-int-classes-from-torch-six/126611/3

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/小舞很执着/article/detail/864005
推荐阅读
相关标签
  

闽ICP备14008679号