-
Notifications
You must be signed in to change notification settings - Fork 840
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add 281-photo-maker notebook #1632
add 281-photo-maker notebook #1632
Conversation
Check out this pull request on See visual diffs & provide feedback on Jupyter Notebooks. Powered by ReviewNB |
77e99dd
to
849d3fb
Compare
a414b73
to
49c77d7
Compare
8686b84
to
e6bf758
Compare
fix the ci issue fix the ci issue fix the ci issue fix the reaccording to view suggestion fix the reaccording to view suggestion fix the reaccording to view suggestion
* fix vegart syntax error, update stable zephyr * fix saving fp16 calibrated model on win update jupyterlab (openvinotoolkit#1635)
ea5730f
to
fbd774e
Compare
355a218
to
4b02640
Compare
update the text encoder converter update the text encoder converter
9d44eee
to
31979eb
Compare
@@ -0,0 +1,1072 @@ | |||
{ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ModuleNotFoundError Traceback (most recent call last) Cell In[4], line 6 4 from PIL import Image 5 from pathlib import Path ----> 6 from PhotoMaker.photomaker.model import PhotoMakerIDEncoder 7 from PhotoMaker.photomaker.pipeline import PhotoMakerStableDiffusionXLPipeline 8 from diffusers import EulerDiscreteScheduler File ~/repos/openvino_notebooks/notebooks/279-photo-maker/PhotoMaker/photomaker/__init__.py:2 1 from .model import PhotoMakerIDEncoder ----> 2 from .pipeline import PhotoMakerStableDiffusionXLPipeline 4 __all__ = [ 5 "PhotoMakerIDEncoder", 6 "PhotoMakerStableDiffusionXLPipeline", 7 ] File ~/repos/openvino_notebooks/notebooks/279-photo-maker/PhotoMaker/photomaker/pipeline.py:8 5 import numpy as np 7 import torch ----> 8 from torchvision import transforms as T 10 from safetensors import safe_open 11 from huggingface_hub.utils import validate_hf_hub_args ModuleNotFoundError: No module named 'torchvision'
Please install PhotoMaker repository requirements
Reply via ReviewNB
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
hi I think torchvision has been already installed with default requirement.txt, so no need to reinstall it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@OpenVINO-dev-contest current methodology that all dependencies should be installed in notebook for allowing standalone execution (e.g. in google colab), usage common requirements.txt is deprecated
@OpenVINO-dev-contest looks like it is not enough memory for running this notebook in github actions (it has less 10gb RAM), could you please disable its execution in tests? |
4b0aa4a
to
feaa491
Compare
fix typo fix typo add ignore add ignore
7b9bcb9
to
11099d5
Compare
fix the wrong id
done |
add 281-photo-maker notebook