From ef1a8f3e41fe68df5941ef956634f9c1f4646e14 Mon Sep 17 00:00:00 2001 From: k4yt3x Date: Thu, 17 Feb 2022 03:50:38 +0000 Subject: [PATCH] added extra args for run scripts --- scripts/run-interactive-container.sh | 7 ++++--- scripts/run-source-in-container.sh | 7 ++++--- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/scripts/run-interactive-container.sh b/scripts/run-interactive-container.sh index 034d150..1b569b0 100755 --- a/scripts/run-interactive-container.sh +++ b/scripts/run-interactive-container.sh @@ -11,8 +11,9 @@ sudo podman run -it --rm \ -m 15g \ --cpus 0.9 \ -v $HOME/projects/media2x/video2x:/video2x \ - -e PYTHONPATH="/video2x" \ + -e PYTHONPATH=/video2x \ + -e PYTHONDONTWRITEBYTECODE=1 \ --entrypoint=/bin/bash \ - ghcr.io/k4yt3x/video2x:5.0.0-beta1-cuda + ghcr.io/k4yt3x/video2x:5.0.0-beta4-cuda -# alias upscale='python3 -m video2x -i /host/input-large.mp4 -o /host/output-large.mp4 -p5 upscale -h 1440 -d waifu2x -n3' +# alias upscale='python3 -m video2x -i /host/input-large.mp4 -o /host/output-large.mp4 -p3 upscale -h 1440 -d waifu2x -n3' diff --git a/scripts/run-source-in-container.sh b/scripts/run-source-in-container.sh index c1b76f2..b2c9033 100755 --- a/scripts/run-source-in-container.sh +++ b/scripts/run-source-in-container.sh @@ -10,9 +10,10 @@ sudo podman run -it --rm \ -m 15g \ --cpus 0.9 \ -v $HOME/projects/media2x/video2x:/video2x \ - -e PYTHONPATH="/video2x" \ - ghcr.io/k4yt3x/video2x:5.0.0-beta3-cuda \ + -e PYTHONPATH=/video2x \ + -e PYTHONDONTWRITEBYTECODE=1 \ + ghcr.io/k4yt3x/video2x:5.0.0-beta4-cuda \ -i data/input.mp4 -o data/output.mp4 \ - -p5 \ + -p3 \ upscale \ -h 1440 -a waifu2x -n3