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

Bug: Interpolation arguments parsing errors #1106

Open
ncpa0cpl opened this issue May 3, 2024 · 0 comments
Open

Bug: Interpolation arguments parsing errors #1106

ncpa0cpl opened this issue May 3, 2024 · 0 comments

Comments

@ncpa0cpl
Copy link

ncpa0cpl commented May 3, 2024

I've run into two problems when trying to interpolate a video via the docker container on version 5.0.0-beta6

  1. Incorrect algorithm validation, according to wiki there are 3 interpolation algorithms available (RIFE, CAIN and DAIN), none of which are allowed by the CLI. Here's the help message I am getting for the interpolate command:
usage: video2x interpolate [--help] [-a {waifu2x,srmd,realsr,realcugan}] [-t THRESHOLD]

optional arguments:
  --help                show this help message and exit
  -a {waifu2x,srmd,realsr,realcugan}, --algorithm {waifu2x,srmd,realsr,realcugan}
                        algorithm to use for upscaling (default: rife)
  -t THRESHOLD, --threshold THRESHOLD
                        skip if the percent difference between two adjacent frames exceeds this value; set to 100 to interpolate
                        all frames (default: 10)

according to this message, allowed algorithms are all upscaling algorithms not interpolation algorithms. If I try to pass it a value that should be valid I get this error:

video2x interpolate: error: argument -a/--algorithm: invalid choice: 'rife' (choose from 'waifu2x', 'srmd', 'realsr', 'realcugan')
  1. If no algorithm is provided then the above error does not occur, however another error is thrown:
10:13:59.701444 | ERROR    | 'Interpolator' object has no attribute 'process'

I am guessing this is related to the -p argument? Though curiously, this error happens regardless of if that argument is provided or not. (btw is this argument even allowed to the interpolate command? the help message doesn't list it, but the example on the wiki here does have it)

@ncpa0cpl ncpa0cpl changed the title Interpolation arguments parsing errors Bug: Interpolation arguments parsing errors May 3, 2024
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

1 participant