DeblurGANv2
DeblurGANv2 copied to clipboard
No output at all
I cant see any output at all
python predict.py blur.jpeg
predict.py:19: YAMLLoadWarning: calling yaml.load() without Loader=... is deprecated, as the default Loader is unsafe. Please read https://msg.pyyaml.org/load for full details.
config = yaml.load(cfg)
0%| | 0/1 [00:00<?, ?it/s]/home/raghav/miniconda37/lib/python3.7/site-packages/torch/nn/functional.py:718: UserWarning: Named tensors and all their associated APIs are an experimental feature and subject to change. Please do not use them for anything important until they are released as stable. (Triggered internally at /pytorch/c10/core/TensorImpl.h:1156.)
return torch.max_pool2d(input, kernel_size, stride, padding, dilation, ceil_mode)
/home/raghav/miniconda37/lib/python3.7/site-packages/torch/nn/functional.py:3487: UserWarning: nn.functional.upsample is deprecated. Use nn.functional.interpolate instead.
warnings.warn("nn.functional.upsample is deprecated. Use nn.functional.interpolate instead.")
100%|█████████████████████████████████████████████████████████████████████████████████████████████████| 1/1 [00:00<00:00, 26.96it/s]
I have the same issue, I run the predict.py ,but nothing happened
I had the same problem, but then I realised that I wrote the filename as "input.jpg" instead of "input.JPG", so double check that the filename is correct. The output is saved in the submit folder on default.
If you want to check that the filename you've written is correct, you can import glob and run glob.glob("input.jpg"). That's the function that broke the code and gave an empty list as the input for me(line 98 in predict.py).
I have the same issue, did you solve it?