Cannot import dcn. Ignore this warning if dcn is not used. Otherwise install BasicSR with compiling dcn.
Cannot import fused_act and upfirdn2d. Ignore this warning if they are not used. Otherwise install BasicSR with compiling them.
Testing 0 bbb
Traceback (most recent call last):
File "test_scripts/test_esrgan.py", line 55, in
main()
File "test_scripts/test_esrgan.py", line 46, in main
output = model(img)
File "/usr/local/lib/python3.6/dist-packages/torch/nn/modules/module.py", line 722, in _call_impl
result = self.forward(*input, **kwargs)
File "/content/BasicSR/basicsr/models/archs/rrdbnet_arch.py", line 105, in forward
body_feat = self.conv_body(self.body(feat))
File "/usr/local/lib/python3.6/dist-packages/torch/nn/modules/module.py", line 722, in _call_impl
result = self.forward(*input, **kwargs)
File "/usr/local/lib/python3.6/dist-packages/torch/nn/modules/container.py", line 117, in forward
input = module(input)
File "/usr/local/lib/python3.6/dist-packages/torch/nn/modules/module.py", line 722, in _call_impl
result = self.forward(*input, **kwargs)
File "/content/BasicSR/basicsr/models/archs/rrdbnet_arch.py", line 61, in forward
out = self.rdb1(x)
File "/usr/local/lib/python3.6/dist-packages/torch/nn/modules/module.py", line 722, in _call_impl
result = self.forward(*input, **kwargs)
File "/content/BasicSR/basicsr/models/archs/rrdbnet_arch.py", line 39, in forward
x5 = self.conv5(torch.cat((x, x1, x2, x3, x4), 1))
RuntimeError: CUDA out of memory. Tried to allocate 4.77 GiB (GPU 0; 15.90 GiB total capacity; 6.50 GiB already allocated; 1.06 GiB free; 12.87 GiB reserved in total by PyTorch)
Sometime is running ( Pic ) sometime this Massage !? :-(