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

Details of the reproduction of the experimental results #43

Open
ZTzxj opened this issue May 15, 2024 · 1 comment
Open

Details of the reproduction of the experimental results #43

ZTzxj opened this issue May 15, 2024 · 1 comment

Comments

@ZTzxj
Copy link

ZTzxj commented May 15, 2024

Hello, I would like to ask what is the prompt file for the validation set of the coco dataset used in your assessment, what validation set title did you use, and also how many images did you generate based on each of the prompts.

@horseee
Copy link
Owner

horseee commented Jun 3, 2024

Hi, you can refer to the code snippet here:

def main(args):
    if args.dataset == 'parti':
        prompts = load_dataset("nateraw/parti-prompts", split="train")
    elif args.dataset == 'coco2017':
        dataset = load_dataset("phiyodr/coco2017")
        prompts = [{"Prompt": sample['captions'][0]} for sample in dataset['validation']]
    else:
        raise NotImplementedError

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