logo
publist
写文章

简介

该用户还未填写简介

擅长的技术栈

可提供的服务

暂无可提供的服务

error: RPC failed; curl 56 Failure when receiving data from the peer

error: RPC failed; curl 56 Failure when receiving data from the peer

#python
windows 中pycharm中venv无法激活

.\activate : 无法加载文件所在位置 行:1 字符: 1+ .\activate+ ~~~~~~~~~~+ CategoryInfo: SecurityError: (:) [],PSSecurityException+ FullyQualifiedErrorId : UnauthorizedAccess

文章图片
#python
AutoDL 训练SDXL大模型流程整理

AutoDL 训练SDXL大模型流程整理

文章图片
#python#linux
AutoDL 训练SDXL大模型流程整理

AutoDL 训练SDXL大模型流程整理

文章图片
#python#linux
python从mysql数据库获取获取数据失败, cursor.fetchall() 获取不到数据的问题

太奇怪了,有时能获取数据,有时获取不了数据,把sql单独执行可以正常获取数据,测试了许久一直解决不了问题。后来看到了一句话,知道问题所在。多次使用cursor.fetchall(),会导致获取不到数据,cursor.fetchall()会把所有数据获取完,当再次调用cursor.fetchall()获取数据时,存在获取不到数据的可能。解决方法:把cursor.fetchall()替换为cursor

#python#mysql#big data
AutoDL 训练stable-diffusion lora模型

AutoDL 上用kohya_ss训练stable-diffusion 中的lora模型

pip install mysqlclient 报错 ‘wheel‘ package is not installed.

DEPRECATION: mysqlclient is being installed using the legacy 'setup.py install' method, because it does not have a 'pyproject.toml' and the 'wheel' package is not installed. pip 23.1 will enforce this

#python#mysql
到底了