GFPGAN icon indicating copy to clipboard operation
GFPGAN copied to clipboard

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

Open simartem opened this issue 1 year ago • 2 comments

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 ?

simartem avatar Oct 29 '23 17:10 simartem

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 avatar Nov 02 '23 07:11 fengfenglong123

搜索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 avatar Nov 20 '23 12:11 fengfenglong123