模型¶
CG的模型¶
CG上的模型指用户使用算法在某数据集上训练出来的模型文件。
发布模型¶
请点击网站页头+按钮发布模型
使用模型¶
首先安装pip包:pip install codewithgpu
- 在终端中使用命令下载模型
cg down GuoFeng3/GuoFeng3.3.safetensors
- 在代码中集成,下载模型
import codewithgpu as cg
cg.model.download("模型文件的KEY", target_directory="下载目标路径,可选"))