ckkelvinchan / RealBasicVSR

Official repository of "Investigating Tradeoffs in Real-World Video Super-Resolution"
Apache License 2.0
906 stars 136 forks source link

File "/usr/local/lib/python3.6/dist-packages/mmedit/models/backbones/sr_backbones/basicvsr_net.py", line 285, in compute_flow count_include_pad=False)) RuntimeError: non-empty 3D or 4D input tensor expected but got ndim: 4 #27

Closed EricHuiK closed 2 years ago

ckkelvinchan commented 2 years ago

Could you provide more details? For example, which command did you use

ckkelvinchan commented 2 years ago

Closing due to inactivity.

davidhefan commented 1 year ago

python inference_realbasicvsr.py configs/realbasicvsr_x4.py checkpoints/RealBasicVSR_x4.pth input_dir out_dir img:600*398 jpg What is the problem with the same error message? How to debug?

davidhefan commented 1 year ago

There is no problem with the sample image of the data directory in the project. Replace it with your own image and report this error

davidhefan commented 1 year ago

It has been resolved, but two points need to be noted: 1. There should be at least two images in the directory; 2. The resolution of the images in the catalog should be consistent