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

Changed default weight paths in yml configurations. #758

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
18 changes: 18 additions & 0 deletions options/Download_paths.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
Model_Paths:

RealESRGAN-x4plus:
Generator: https://github.com/xinntao/Real-ESRGAN/releases/download/v0.1.0/RealESRGAN_x4plus.pth
Discriminator: https://github.com/xinntao/Real-ESRGAN/releases/download/v0.2.2.3/RealESRGAN_x4plus_netD.pth

RealESRGAN-x2plus:
Generator: https://github.com/xinntao/Real-ESRGAN/releases/download/v0.2.1/RealESRGAN_x2plus.pth
Discriminator: https://github.com/xinntao/Real-ESRGAN/releases/download/v0.2.2.3/RealESRGAN_x2plus_netD.pth

RealESRNet-x4plus:
Generator: https://github.com/xinntao/Real-ESRGAN/releases/download/v0.1.1/RealESRNet_x4plus.pth
Discriminator: https://github.com/xinntao/Real-ESRGAN/releases/download/v0.2.2.3/RealESRGAN_x4plus_netD.pth

RealESRNet-x2plus:
Generator: -
Discriminator: https://github.com/xinntao/Real-ESRGAN/releases/download/v0.2.2.3/RealESRGAN_x2plus_netD.pth

2 changes: 1 addition & 1 deletion options/finetune_realesrgan_x4plus.yml
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ network_d:
# path
path:
# use the pre-trained Real-ESRNet model
pretrain_network_g: experiments/pretrained_models/RealESRNet_x4plus.pth
pretrain_network_g: experiments/pretrained_models/RealESRGAN_x4plus.pth
param_key_g: params_ema
strict_load_g: true
pretrain_network_d: experiments/pretrained_models/RealESRGAN_x4plus_netD.pth
Expand Down
2 changes: 1 addition & 1 deletion options/finetune_realesrgan_x4plus_pairdata.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ network_d:
# path
path:
# use the pre-trained Real-ESRNet model
pretrain_network_g: experiments/pretrained_models/RealESRNet_x4plus.pth
pretrain_network_g: experiments/pretrained_models/RealESRGAN_x4plus.pth
param_key_g: params_ema
strict_load_g: true
pretrain_network_d: experiments/pretrained_models/RealESRGAN_x4plus_netD.pth
Expand Down
2 changes: 1 addition & 1 deletion options/train_realesrgan_x2plus.yml
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ network_d:
# path
path:
# use the pre-trained Real-ESRNet model
pretrain_network_g: experiments/pretrained_models/RealESRNet_x2plus.pth
pretrain_network_g: experiments/pretrained_models/RealESRGAN_x2plus.pth
param_key_g: params_ema
strict_load_g: true
resume_state: ~
Expand Down
2 changes: 1 addition & 1 deletion options/train_realesrgan_x4plus.yml
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ network_d:
# path
path:
# use the pre-trained Real-ESRNet model
pretrain_network_g: experiments/pretrained_models/RealESRNet_x4plus.pth
pretrain_network_g: experiments/pretrained_models/RealESRGAN_x4plus.pth
param_key_g: params_ema
strict_load_g: true
resume_state: ~
Expand Down
2 changes: 1 addition & 1 deletion options/train_realesrnet_x2plus.yml
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ network_g:

# path
path:
pretrain_network_g: experiments/pretrained_models/RealESRGAN_x4plus.pth
pretrain_network_g: experiments/pretrained_models/RealESRGAN_x2plus.pth
param_key_g: params_ema
strict_load_g: False
resume_state: ~
Expand Down