Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

An error is reported in the video input #16

Open
txy00001 opened this issue Jan 8, 2024 · 1 comment
Open

An error is reported in the video input #16

txy00001 opened this issue Jan 8, 2024 · 1 comment

Comments

@txy00001
Copy link

txy00001 commented Jan 8, 2024

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
Copy link
Owner

ljzycmd commented Jan 8, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants