Giter Club home page Giter Club logo

Comments (6)

ilisparrow avatar ilisparrow commented on June 12, 2024

I have the same problem :
My guess is that didn't yet get merged into the transformers pipeline, it's a huge repo that takes time.

from photomaker.

amelio-vazquez-reina avatar amelio-vazquez-reina commented on June 12, 2024

Got it @ilisparrow . Are you getting this error? Or something else?

image

from photomaker.

ilisparrow avatar ilisparrow commented on June 12, 2024

Hello,
I didn't use the notebook but followed the pure python instructions. It said that it was not able to find photo.maker from photomakerPipeline

from photomaker.

steverhoades avatar steverhoades commented on June 12, 2024

The correct syntax is the following unless you download the model directly from the hugging face repo here: https://huggingface.co/TencentARC/PhotoMaker/tree/main, in which case the notebook suggests placing the .bin file in the model_release local directory.

# Load PhotoMaker checkpoint
pipe.load_photomaker_adapter(
    "TencentARC/PhotoMaker",
    weight_name="photomaker-v1.bin",
    trigger_word="img"
)  

from photomaker.

Paper99 avatar Paper99 commented on June 12, 2024

Hello, I didn't use the notebook but followed the pure python instructions. It said that it was not able to find photo.maker from photomakerPipeline

Hello @ilisparrow, first of all, thank you for your discussion, which helped us fix many known issues in environment construction (in the latest version).

Now, you could update the environment building through:

conda create --name photomaker python=3.10
pip install -U pip

# Install requirements
pip install -r requirements.txt

# Install photomaker
pip install git+https://github.com/TencentARC/PhotoMaker.git

Then you can run the following command to use our PhotoMaker:

from photomaker import PhotoMakerStableDiffusionXLPipeline

The previous line can also be used outside the repo.

from photomaker.

Paper99 avatar Paper99 commented on June 12, 2024

The correct syntax is the following unless you download the model directly from the hugging face repo here: https://huggingface.co/TencentARC/PhotoMaker/tree/main, in which case the notebook suggests placing the .bin file in the model_release local directory.

# Load PhotoMaker checkpoint
pipe.load_photomaker_adapter(
    "TencentARC/PhotoMaker",
    weight_name="photomaker-v1.bin",
    trigger_word="img"
)  

Hi, @steverhoades,
does this problem still exist?

from photomaker.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.