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

Recoloring notebook raise an import error #13

Open
sawyer7246 opened this issue Oct 8, 2024 · 1 comment
Open

Recoloring notebook raise an import error #13

sawyer7246 opened this issue Oct 8, 2024 · 1 comment

Comments

@sawyer7246
Copy link

Hi, thank you so much for your work.

I've tried the recoloring notebook, it raised an import error like:

from intrinsic.model_util import load_models
ModuleNotFoundError: No module named 'intrinsic.model_util'

then I try to use the from intrinsic.pipeline import load_models instead, but there is another error raised like

----> 1 results = run_pipeline(
      2     intrinsic_model,
      3     inp,
      4     resize_conf=None,
      5     maintain_size=True

TypeError: run_pipeline() got an unexpected keyword argument 'maintain_size'

pls help ;)

@sawyer7246 sawyer7246 changed the title Rercoloring notebook raise an import error Recoloring notebook raise an import error Oct 8, 2024
@CCareaga
Copy link
Collaborator

I've updated the recoloring notebook so that it runs correctly now, let me know if it raises any errors. Note this is the old version of the pipeline (only grayscale shading) I have not tested recoloring with the updated pipeline, but it should work under more robustly.

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

2 participants