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

How to use custom config with the docker container image. #1107

Open
maximizzar opened this issue May 6, 2024 · 0 comments
Open

How to use custom config with the docker container image. #1107

maximizzar opened this issue May 6, 2024 · 0 comments

Comments

@maximizzar
Copy link

maximizzar commented May 6, 2024

I'm searching the wiki and repo for 2h now and can't find a way to get the video2x.json loaded. I use the following command:

sudo docker run --gpus all --privileged --device=/dev/nvidia0 --device=/dev/nvidiactl --runtime nvidia -it -v $PWD:/host ghcr.io/k4yt3x/video2x:latest -i 'input.mp4' -o ' output.mp4' upscale -h 1080 -a realsr  ??? -c video2x.json ???

The command obviously does not work like that, but where do I need to the -c flag, or better, how do I set a custom config. Below is my json. With it I tried to set TTA to True for the realsr algo.

"realsr": {
	"x": "True"
}

Without a config the command works just fine. But the video was, compared to the result I got on windows with custom settings, trash.

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