Skip to content
This repository has been archived by the owner on Mar 8, 2024. It is now read-only.

error in sample.py #10

Open
rahilparsana opened this issue Dec 16, 2022 · 1 comment
Open

error in sample.py #10

rahilparsana opened this issue Dec 16, 2022 · 1 comment

Comments

@rahilparsana
Copy link

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

@Arthur-Lee
Copy link

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants