赞
踩
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/
pip install Pillow==8.4.0
pip install setuptools==59.5.0
ImportError: /home/miniconda3/envs/yjm_slowfast/lib/python3.8/site-packages/detectron2/_C.cpython-38-x86_64-linux-gnu.so: undefined symbol: _ZNK2at6Tensor7reshapeEN3c108ArrayRefIlEE
未解决
setup.py中PIL改为Pillow
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'
git clone https://github.com/facebookresearch/pytorchvideo.git
pip install -e pytorchvideo
https://github.com/facebookresearch/detectron2/issues/5268#issuecomment-2075663801
https://discuss.pytorch.org/t/cannot-import-name-int-classes-from-torch-six/126611/3
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。