openvinotoolkit / openvino_notebooks

📚 Jupyter notebook tutorials for OpenVINO™
Apache License 2.0
2.31k stars 794 forks source link

[IWD]How to generate your AI painting with notebook #880

Closed openvino-dev-samples closed 1 month ago

openvino-dev-samples commented 1 year ago

Launch OpenVINO notebook in your web browser:

&cd notebooks
&jupyter lab notebooks

[Step 1]: double click the fold 225-stable-diffusion-text-to-image in left column. image

[Step 2], Select file 225-stable-diffusion-text-to-image.ipynb in left column

[Step 3], Select the first code block of 225-stable-diffusion-text-to-image.ipynb

[Step 4], Keep clicking the Run button until we reach the code block in step5 image

[Step 5], Input your prompt sentence as the picture below, and it will help to customize your AI generated picture. Optionally, you can also change the random generator seed for latent state initialization and number of steps. image

[Step 6], Continue to run each code block until the customized picture generates. If the result needs to be updated, you can go back to Step 5 to modify the prompt and repeat the Step 6. image

You can also follow the instruction video below to generate your paintings:

https://user-images.githubusercontent.com/91237924/223928007-ad30465c-d8ea-48d7-9f59-35509bb7902d.mp4

raymondlo84 commented 1 year ago

Got my result! :) and here is how I get it! -- the result.png is actually in the folder. image image image

openvino-dev-samples commented 1 year ago

Got my result! :) and here is how I get it! -- the result.png is actually in the folder. image image image

Looks great, could you also post it on our submission pages, thanks https://github.com/openvinotoolkit/openvino_notebooks/discussions/879

Lannndun commented 1 year ago

I followed the steps but no image generated, just edit the text prompt and description. image

openvino-dev-samples commented 1 year ago

I followed the steps but no image generated, just edit the text prompt and description. image

Did you run each block? is there any error message coming out ? If the block is run correctly, you can find a number tagged in the left as the examples picture shows, but I don't see it in your screen shot. And I also find you haven't downloaded the models for this demo. It should be done in these step: image

openvino-dev-samples commented 1 year ago

I followed the steps but no image generated, just edit the text prompt and description. image

Hi @Lannndun did you fix this issue ? how can I help you ?

github-actions[bot] commented 2 months ago

This issue will be closed in a week because of 9 months of no activity.