DCPDN
DCPDN copied to clipboard
Densely Connected Pyramid Dehazing Network (CVPR'2018)
###I haven't netG_epoch_9.pth for testing, can I use netG_epoch_8.pth for test my own datasets?
Traceback (most recent call last): File "train.py", line 20, in from myutils import utils File "/home/zjh/sunjingjing/DCPDN/myutils/utils.py", line 92 for(src, dst) in zip(vgglua.parameters()[0], vgg.parameters()) SyntaxError: invalid syntax how to deal with...
RuntimeError: Error(s) in loading state_dict for dehaze: Missing key(s) in state_dict: "tran_est.layer2.layer2_conv.weight", "tran_est.layer2.layer2_bn.weight", "tran_est.layer2.layer2_bn.bias", "tran_est.layer2.layer2_bn.running_mean", "tran_est.layer2.layer2_bn.running_var", "tran_est.layer3.layer3_conv.weight", "tran_est.layer3.layer3_bn.weight", "tran_est.layer3.layer3_bn.bias", "tran_est.layer3.layer3_bn.running_mean", "tran_est.layer3.layer3_bn.running_var", "tran_est.layer4.layer4_conv.weight", "tran_est.layer4.layer4_bn.weight", "tran_est.layer4.layer4_bn.bias", "tran_est.layer4.layer4_bn.running_mean", "tran_est.layer4.layer4_bn.running_var", "tran_est.layer5.layer5_conv.weight", "tran_est.layer5.layer5_bn.weight", "tran_est.layer5.layer5_bn.bias", "tran_est.layer5.layer5_bn.running_mean",...
`!python demo.py --dataroot ./facades/nat_new4 --valDataroot ./facades/nat_new4 --netG ./models/netG_epoch_8.pth %time` **ERROR** Namespace(annealEvery=400, annealStart=0, batchSize=1, beta1=0.5, dataroot='./facades/nat_new4', dataset='pix2pix', display=5, evalIter=500, exp='sample', imageSize=1024, inputChannelSize=3, lambdaGAN=0.01, lambdaIMG=1, lrD=0.0002, lrG=0.0002, mode='B2A', ndf=64, netD='', netG='./models/netG_epoch_8.pth', ngf=64,...
In myutils/utils.py, `from torch.utils.serialization import load_lua` should be changed above `import torchfile` and `vgglua = load_lua(os.path.join(model_folder, 'vgg16.t7'))` should be changed above `vgglua = torchfile.load(os.path.join(model_folder, 'vgg16.t7'))`
demo error
你好,我试了一下demo,就是 python demo.py --dataroot ./facades/nat_new4 --valDataroot ./facades/nat_new4 --netG ./demo_model/netG_epoch_8.pth 但是会出错。 Random Seed: 3661 /usr/local/lib/python2.7/dist-packages/torchvision-0.2.1-py2.7.egg/torchvision/transforms/transforms.py:191: UserWarning: The use of the transforms.Scale transform is deprecated, please use transforms.Resize instead. Traceback (most recent...
Hello, when I ran "train.py", I encountered an error in line 206: “StopIteration”. Indicates that "data_val = val_iter. next ()" cannot be iterated. Is there any missing document? After debugging,...
Hi, I stopped at the error message while executing demo.py Traceback (most recent call last): File "demo.py", line 231, in x_hat, tran_hat, atp_hat, dehaze2= netG(input) File "/home/dl/anaconda3/envs/dcpdn/lib/python3.6/site-packages/torch/nn/modules/module.py", line 357, in...
So all the pictures with fog in the training set are synthetic? If I have paired images , how can I use them
ERROR: Unexpected bus error encountered in worker. This might be caused by insufficient shared memory (shm). Traceback (most recent call last): File "/home/zyq/anaconda3/envs/dehazepy36/lib/python3.6/site-packages/PIL/ImageFile.py", line 510, in _save fh = fp.fileno()...