Closed numanashraf closed 1 year ago
Thanks for your quick response.
File "/home/drfarooq/numan/SRGAN-PyTorch-main/train_gan.py", line 507, in
results/pretrained_models/
I have followed your above instructions but when I try to run the test using script: !python3 test.py --config_path ./configs/test/SRGAN_X4.yaml I got the error: Traceback (most recent call last):
File "/home/drfarooq/numan/SRGAN-PyTorch-main/test.py", line 190, in
Traceback (most recent call last): File "/home/drfarooq/numan/SRGAN-PyTorch-main/train_gan.py", line 507, in
main()
File "/home/drfarooq/numan/SRGAN-PyTorch-main/train_gan.py", line 75, in main
g_model, ema_g_model, d_model = build_model(config, device)
File "/home/drfarooq/numan/SRGAN-PyTorch-main/train_gan.py", line 248, in build_model
d_model = model.dict[config["MODEL"]["D"]["NAME"]](in_channels=config["MODEL"]["D"]["IN_CHANNELS"],
TypeError: discriminator_for_vgg() got an unexpected keyword argument 'in_channels'