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

Clarification on Human Preference JSON File #17

Open
jxxtin opened this issue Sep 20, 2024 · 1 comment
Open

Clarification on Human Preference JSON File #17

jxxtin opened this issue Sep 20, 2024 · 1 comment

Comments

@jxxtin
Copy link

jxxtin commented Sep 20, 2024

I am planning to create a human preference JSON file, but I would like some clarification on the following:

After running accelerate launch scripts/sample.py, 140 images are generated in the data folder.

Should I score each image individually in the form of a dictionary, or is a single list of 140 scores sufficient?

if so, how should dimensions be configured?

It would be helpful if I could refer to an example of the JSON structure.

Thanks! @yk7333

@yk7333
Copy link
Owner

yk7333 commented Oct 8, 2024

You can use a list, for example, if the default is to generate 7 images for each prompt and a total of 2 prompts are sampled, then the JSON file can be in the format of [[0,0,1,0,0,1,1],[1,0,0,1,0,0,0]].

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