03 2024 档案
摘要:
报错:AttributeError: module ‘torch‘ has no attribute ‘_six‘ 2024/3/27 重构代码的时候发现使用的模板数据读取时报错,查资料_six是用于处理不同 Python 版本或其他库版本之间的差异,以确保在不同环境下代码的正确性和可用性。 找到这
阅读全文

摘要:
服务器后台运行程序的方法 2024/3/20 1.后台运行代码命令 要使Python程序在后台运行,可以使用nohup命令和&符号。这样可以在退出终端或者关闭SSH会话后,程序仍然在后台运行。 nohup python your_script.py & your_script.py是你要在后台运行的
阅读全文

摘要:
Denoising Diffusion Probabilistic Models去噪扩散模型(DDPM) 2024/2/28 论文链接:Denoising Diffusion Probabilistic Models(neurips.cc) 这篇文章对DDPM写个大概,公式推导会放在以后的文章里。
阅读全文
