Srameo / LED

[ICCV 2023] Lighting Every Darkness in Two Pairs: A Calibration-Free Pipeline for RAW Denoising && [Arxiv 2023] Make Explicit Calibration Implicit: Calibrate Denoiser Instead of the Noise Model
https://srameo.github.io/projects/led-iccv23/
Other
309 stars 29 forks source link

KeyError: 'network_g' #32

Open musketeera opened 6 months ago

musketeera commented 6 months ago

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 commented 6 months ago

请参考 https://github.com/Srameo/LED/issues/10#issuecomment-1805143410