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

Training on people images #10

Open
rezkanas opened this issue Mar 25, 2024 · 1 comment
Open

Training on people images #10

rezkanas opened this issue Mar 25, 2024 · 1 comment

Comments

@rezkanas
Copy link

rezkanas commented Mar 25, 2024

Hello,

Thank you for your excellent work. I'm eager to give it a try.

I plan to utilize it for training on images of people. However, upon reviewing your paper, I didn't find any mention of this use case, nor was it listed in your limitations section. Can your method be applied to images of people?

If so, I have a concern regarding the color context. From what I understand, for each concept, I need to specify an RGB color. I'm unsure how this would translate in the context of images of people. Could you provide some insight on this matter?

@Johanan528 @alibaba-oss @zyf0619sjtu

@rezkanas
Copy link
Author

rezkanas commented Apr 7, 2024

@Johanan528 @alibaba-oss @zyf0619sjtu
I continue to work on experimenting with your method. I trained two tokens on images of 2 persons for 4000 steps and during inference I used guidance_config.json

[
    {
        "prompt": "znrz person and nsnn person, an unlikely duo, in the midst of a vibrant village life, their contrasting personalities evident, candid moment, Watercolor, 8K resolution.",
        "residual_dict": {
            "znrz": "/home/anasrezklinux/anas_april/cones_2/znrz/residual.pt",
            "nsnn": "/home/anasrezklinux/anas_april/cones_2/nsnn/residual.pt"
        },
        "color_context": {
            "0,255,0": [
                "znrz",
                2.5
            ],
            "255,0,0": [
                "nsnn",
                2.5
            ]
        },
        "guidance_steps": 50,
        "guidance_weight": 0.08,
        "weight_negative": -100000000.0,
        "layout": "/home/anasrezklinux/anas_april/prompt_layout/prompt_2_ID_39f26be4-6016-457d-8cfc-7e7e3d6f76fa.png",
        "subject_list": [
            [
                "znrz",
                1
            ],
            [
                "nsnn",
                4
            ]
        ]
    }
]

produced the following image:

0

I am suspecting that it is because of color_context part. otherwise, please advise.

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