最简单粗暴的思路:直接科学上网+download ZIP解决
遇到的错误Fatal: unable to access 'https://github.com/CompVis/taming-transformers.git/': GnuTLS recv error (-110): The TLS connection was non-properly terminated.
通常是由于网络问题或 Git 的 SSL/TLS 配置问题导致的。
以以上报错为例 打开https://github.com/CompVis/taming-transformers,直接download ZIP
解压,找到文件夹最内层,也就是下一层长类似这个样子了:
比如你的文件格式可能是
taming-transformers-master/ ├── asserts/ ├── configs/ ├── README.md └── ...
那么直接
cd ./taming-transformers-master
pip install .
我到现在也搞不定总超时的git clone,干脆放弃了。。。。