VITA-Group / DeblurGANv2

[ICCV 2019] "DeblurGAN-v2: Deblurring (Orders-of-Magnitude) Faster and Better" by Orest Kupyn, Tetiana Martyniuk, Junru Wu, Zhangyang Wang
Other
1.01k stars 265 forks source link

No output at all #106

Open rsingh2083 opened 3 years ago

rsingh2083 commented 3 years ago

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]
alexHxun commented 3 years ago

I have the same issue, I run the predict.py ,but nothing happened

joelgoransson commented 2 years ago

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).

fighting666777 commented 1 year ago

I have the same issue, did you solve it?

kandada commented 4 months ago

I have the same issue