Skip to content

Interpolation is not working on version 2.1.0 #67

Description

@Sharibo

This is the first time I'm using the program. I selected the 2x_AnimeJaNai_HD_V3.1_Performance_SPANF3_b5f48_unshuffle_fp16.onnx model to increase the resolution, and I didn't make any significant changes. However, I also enabled interpolation and selected rife 14 (and also rife 24) (with and without the ensemble checkbox checked). When I run the program, I see the following output in the console:

Generating TensorRT engine with command: C:\Users\Sha222\AppData\Local\Programs\VideoJaNai\animejanai\inference\aji_encode.exe --input "F:\Anime\Majutsushi Kunon wa Miete Iru [WEB-DL 1080p]\Majutsushi Kunon wa Miete Iru - 01.mkv" --conf "C:\Users\Sha222\AppData\Local\Programs\VideoJaNai\animejanai\animejanai.conf" --slot 1 --model-dir "C:\Users\Sha222\AppData\Local\Programs\VideoJaNai\animejanai\onnx" --rife-model-dir "C:\Users\Sha222\AppData\Local\Programs\VideoJaNai\animejanai\rife" --trtexec "C:\Users\Sha222\AppData\Local\Programs\VideoJaNai\animejanai\inference\trtexec.exe" --backend tensorrt --build-only --progress line
Upscale Profile: 1. encode
Original Video Resolution: 1920x1080;    Original Video FPS: 23.976
Active Upscale Chain: 1;    Resolution Range: 0x0 - 0x0;    FPS Range: 0 - inf
1. Applied Model: 2x_AnimeJaNai_HD_V3.1_Performance_SPANF3_b5f48_unshuffle_fp16;    New Video Resolution: 3840x2160
2. Building TensorRT engine for rife_v4.14 for 1920x1088 (first play at this resolution)
3. Padded to 1920x1088, applied RIFE v414 Interpolation 2.000x, cropped back to 1920x1080;    New Video FPS: 47.952
build-only: engines ready, exiting
Upscaling with command: C:\Users\Sha222\AppData\Local\Programs\VideoJaNai\animejanai\inference\aji_encode.exe --input "F:\Anime\Majutsushi Kunon wa Miete Iru [WEB-DL 1080p]\Majutsushi Kunon wa Miete Iru - 01.mkv" --conf "C:\Users\Sha222\AppData\Local\Programs\VideoJaNai\animejanai\animejanai.conf" --slot 1 --model-dir "C:\Users\Sha222\AppData\Local\Programs\VideoJaNai\animejanai\onnx" --rife-model-dir "C:\Users\Sha222\AppData\Local\Programs\VideoJaNai\animejanai\rife" --trtexec "C:\Users\Sha222\AppData\Local\Programs\VideoJaNai\animejanai\inference\trtexec.exe" --backend tensorrt --output "F:\Anime\Majutsushi Kunon wa Miete Iru [WEB-DL 1080p]\Majutsushi Kunon wa Miete Iru - 01-animejanai.mkv" --vcodec hevc_nvenc --vquality "-preset p7 -profile:v main10 -b:v 50M" --pix-fmt yuv420p10 --overwrite --progress line
Upscale Profile: 1. encode
Original Video Resolution: 1920x1080;    Original Video FPS: 23.976
Active Upscale Chain: 1;    Resolution Range: 0x0 - 0x0;    FPS Range: 0 - inf
1. Applied Model: 2x_AnimeJaNai_HD_V3.1_Performance_SPANF3_b5f48_unshuffle_fp16;    New Video Resolution: 3840x2160
2. Padded to 1920x1088, applied RIFE v414 Interpolation 2.000x, cropped back to 1920x1080;    New Video FPS: 47.952
[aji:1] rife frame dims do not match configured 1920x1080
aji_infer_rife: -2: rife frame dims do not match configured 1920x1080

That is, the video resolution increases to 4K, but the interpolation expects 1080p. I tried removing the model for increasing the resolution and leaving only the interpolation, but it didn't work.
Ideally, I only want the program to do interpolation, and it would be great if the program could only increase the number of frames without increasing the video resolution.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions