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

wikiart json file #15

Open
zzyndy opened this issue Jul 28, 2024 · 2 comments
Open

wikiart json file #15

zzyndy opened this issue Jul 28, 2024 · 2 comments

Comments

@zzyndy
Copy link

zzyndy commented Jul 28, 2024

Thanks for sharing very good work! You don't have WikiArt related data in your stylegallery.jsonl file, can you open it up?

@Jeoyal
Copy link
Contributor

Jeoyal commented Jul 29, 2024

Hi @zzyndy, thanks for your interest in our work. We found that the key "img_file" in WikiArt related data in stylegallery.jsonl was mistakenly written as "image_file." We have updated this error in the latest version. Please download the latest version here or update the key "image_file" to "img_file" yourself.

@ajie6666
Copy link

ajie6666 commented Sep 5, 2024

Hello, I want to read the caption of the wikiart section in the latest JSONL file. I am using the following code, but I am unable to read it.
##################################################
import json
import jsonlines
import pprint

with open('./json_files/StyleGallery.jsonl') as file:
for line in jsonlines.Reader(file):
if "img_file" in line :
pprint.pprint(line["img_file"])

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

3 participants