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

KeyError: 'network_g' #32

Open
musketeera opened this issue Mar 11, 2024 · 1 comment
Open

KeyError: 'network_g' #32

musketeera opened this issue Mar 11, 2024 · 1 comment
Assignees

Comments

@musketeera
Copy link

python scripts/image_process.py -p 'pretrained/LED_Pretrain_None_None_CVPR20_Setting_Ratio100-300.pth' --data_path '/media/ehooph/data/Dataset/speednoise/raw' --save_path '/media/ehooph/data/Dataset/speednoise/change' -opt 'options/LED/pretrain/CVPR20_ELD_Setting.yaml' --led

我使用这行命令运行时报错
Building network...
Traceback (most recent call last):
File "scripts/image_process.py", line 115, in
image_process()
File "/home/ehooph/anaconda3/envs/LED-ICCV23/lib/python3.8/site-packages/torch/autograd/grad_mode.py", line 27, in decorate_context
return func(*args, **kwargs)
File "scripts/image_process.py", line 89, in image_process
network_g = build_network(yaml_load(args.network_options)['network_g'])
KeyError: 'network_g'
请问怎么解决

@Srameo Srameo self-assigned this Mar 11, 2024
@Srameo
Copy link
Owner

Srameo commented Mar 12, 2024

请参考 #10 (comment)

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