'ffhq-dataset-v2.json' file not found #411

Open
opened 2026-01-29 21:47:35 +00:00 by claunia · 2 comments
Owner

Originally created by @simartem on GitHub (Oct 29, 2023).

C:\Users\user2\Documents\A1111\vladmandic\extensions\GFPGAN\scripts\parse_landmark.py:20 in
19 # use the official json file in FFHQ dataset
20 with open(json_path, 'rb') as f:
21 │ json_data = json.load(f, object_pairs_hook=OrderedDict)
FileNotFoundError: [Errno 2] No such file or directory: 'ffhq-dataset-v2.json'

I have this file but i dont know for which path i should put it ?

Originally created by @simartem on GitHub (Oct 29, 2023). C:\Users\user2\Documents\A1111\vladmandic\extensions\GFPGAN\scripts\parse_landmark.py:20 in <module> 19 # use the official json file in FFHQ dataset 20 with open(json_path, 'rb') as f: 21 │ json_data = json.load(f, object_pairs_hook=OrderedDict) FileNotFoundError: [Errno 2] No such file or directory: 'ffhq-dataset-v2.json' I have this file but i dont know for which path i should put it ?
Author
Owner

@fengfenglong123 commented on GitHub (Nov 2, 2023):

I put it in parse_landmark.py address . Do you know how to make lmdb data set?After i make lmdb data set,it always prompt "AttributeError: Caught AttributeError in DataLoader worker process 0"

@fengfenglong123 commented on GitHub (Nov 2, 2023): I put it in parse_landmark.py address . Do you know how to make lmdb data set?After i make lmdb data set,it always prompt "AttributeError: Caught AttributeError in DataLoader worker process 0"
Author
Owner

@fengfenglong123 commented on GitHub (Nov 20, 2023):

搜索ffhq的仓库获取的

At 2023-11-15 11:29:27, "leeqiaogithub" @.***> wrote:

C:\Users\user2\Documents\A1111\vladmandic\extensions\GFPGAN\scripts\parse_landmark.py:20 in 19 # use the official json file in FFHQ dataset 20 with open(json_path, 'rb') as f: 21 │ json_data = json.load(f, object_pairs_hook=OrderedDict) FileNotFoundError: [Errno 2] No such file or directory: 'ffhq-dataset-v2.json'

I have this file but i dont know for which path i should put it ?

Where did you get this file? Can you share the file with us?


Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you commented.Message ID: @.***>

@fengfenglong123 commented on GitHub (Nov 20, 2023): 搜索ffhq的仓库获取的 At 2023-11-15 11:29:27, "leeqiaogithub" ***@***.***> wrote: C:\Users\user2\Documents\A1111\vladmandic\extensions\GFPGAN\scripts\parse_landmark.py:20 in 19 # use the official json file in FFHQ dataset 20 with open(json_path, 'rb') as f: 21 │ json_data = json.load(f, object_pairs_hook=OrderedDict) FileNotFoundError: [Errno 2] No such file or directory: 'ffhq-dataset-v2.json' I have this file but i dont know for which path i should put it ? Where did you get this file? Can you share the file with us? — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: ***@***.***>
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: TencentARC/GFPGAN#411