如何看网站做的好坏,网站上传视频怎么做,使用他人api做网站,html5网站抓取RegionClip环境安装 RegionClip环境安装)问题1问题2问题3问题4问题5 RegionClip环境安装)
特别强调#xff0c;不要单独去安装detectron2#xff0c;会出现model.clip不存在的错误#xff0c;通过python -m pip install -e RegionCLIP就可以问题1
问题#xff1a;torch-c… RegionClip环境安装 RegionClip环境安装)问题1问题2问题3问题4问题5 RegionClip环境安装)
特别强调不要单独去安装detectron2会出现model.clip不存在的错误通过python -m pip install -e RegionCLIP就可以问题1
问题torch-cuda版本不一致无法通过
解决pip install torch1.12.1cu113 torchvision0.13.1cu113 torchaudio0.12.1 --extra-index-url https://download.pytorch.org/whl/cu113问题2
问题2: pkg_resources.extern.packaging.version.InvalidVersion: Invalid version: RegionCLIP
解决降低setuptools版本 如pip install setuptools59.0.1 参考https://github.com/microsoft/RegionCLIP/issues/60问题3
问题torch版本和cuda版本不一致
解决一起指定安装pip install torch1.12.1cu113 torchvision0.13.1cu113 torchaudio0.12.1 --extra-index-url https://download.pytorch.org/whl/cu113问题4
问题KeyError: Non-existent config key: MODEL.CLIP
解决使用方法安装
git clone gitgithub.com:microsoft/RegionCLIP.git
python -m pip install -e RegionCLIP问题5
问题AttributeError: module PIL.Image has no attribute LINEAR
解决降低Pillow版本如pip install Pillow8.4.0