华为计算微信公众号
昇腾AI开发者公众号
华为计算微博
华为计算今日头条
我在使用ModelZoo的StableDiffusion_2.1-PyTorch案例时,按照文档要求执行脚本scripts/txt2img.py。
执行过程中发现仍需要我输入一段话,对应代码如为:input_t = input("please input the prompt of the picture: ")
执行脚本的时候明明已经指定promt了,为什么这里还要指定,两者有什么区别?
我要发帖子
我在使用ModelZoo的StableDiffusion_2.1-PyTorch案例时,按照文档要求执行脚本scripts/txt2img.py。
执行过程中发现仍需要我输入一段话,对应代码如为:input_t = input("please input the prompt of the picture: ")
执行脚本的时候明明已经指定promt了,为什么这里还要指定,两者有什么区别?