Skip to content
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

Help Executing Notebooks: multiple undefined references/imports #30

Open
drscotthawley opened this issue Dec 1, 2024 · 1 comment
Open

Comments

@drscotthawley
Copy link

drscotthawley commented Dec 1, 2024

Hi, has anyone besides @dome272 succeeded in running the notebooks? There are several references that I can't find so the code won't execute for me.

The Stage B notebook has from modules_prev import Paella which is undefined, as well as set_verbosity_error() which is undefined,
...as well as several imports that aren't included in references.txt or anywhere else but one can find them on PyPI.
Though I haven't been able to find from diffnext_v2 import DiffNeXt, EfficientNetEncoder, Prior.

The Stage C notebook has from modules import Paella, sample, EfficientNetEncoder, Prior. Again not seeing any modules... from diffuzz import Diffuzz... etc.

Thanks.

@drscotthawley
Copy link
Author

drscotthawley commented Dec 1, 2024

Also the encode method defined in the Stage B notebook violates the definition in vqgan.py which has no such kwarg:

      1 def encode(x):
----> 2     return vqmodel.encode(x, quantize=True)[2]

TypeError: VQModel.encode() got an unexpected keyword argument 'quantize'

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

No branches or pull requests

1 participant