ljzycmd / SimDeblur

Simple framework for image and video deblurring, implemented by PyTorch
MIT License
306 stars 38 forks source link

An error is reported in the video input #16

Open txy00001 opened 8 months ago

txy00001 commented 8 months ago

Hello, I would like to ask, can't a new video be directly input and then generate a new clear video?Does it have to be framed?1.I use restormer and get an error "assert inp_img.shape[1] == 1, "Input images should contain only 1 frame." AssertionError: Input images should contain only 1 frame.” 2. "AttributeError: 'EasyDict' object has no attribute 'model'" is also reported with dbn

ljzycmd commented 8 months ago

Hi @txy00001, the video should be first split into frames. Meanwhile, Restormer is an image model, thus can only restore 1 frame when inference once.