草庐IT

tmp_planes

全部标签

成功解决FileNotFoundError: [Errno 2] No usable temporary directory found in [‘/tmp‘, ‘/var/tmp‘, ‘/usr/t

上午想尝试一下BLIP-2在自建图像数据集上的描述生成效果,但由于当前环境的python版本不能够支持最新版本的transformers库,于是新建一个python3.7的环境在其上安装较新版本的transformers库。但在使用命令pipinstalltorch==1.7.1+cu110torchvision==0.8.2+cu110torchaudio==0.7.2-fhttps://download.pytorch.org/whl/torch_stable.html安装torch过程中,报错如下:(python3.7)╭─root@1c113923969c/╰─#pipinstallt