stable-dreambooth icon indicating copy to clipboard operation
stable-dreambooth copied to clipboard

error in sample.py

Open rahilparsana opened this issue 3 years ago • 1 comments

for text in datasets: with torch.no_grad(): images = model(text, height=512, width=512, num_inference_steps=50)["sample"] /// sample key work error in conda activate enviroment

rahilparsana avatar Dec 16 '22 11:12 rahilparsana

Need to change to: images = model(text, height=512, width=512, num_inference_steps=50)["images"]

Arthur-Lee avatar Oct 03 '23 13:10 Arthur-Lee