请选择 进入手机版 | 继续访问电脑版

JavPlayer 中文交流论坛

 找回密码
 立即注册
查看: 973|回复: 1

sr-bpvv.bat壞了,跪求原檔

[复制链接]

4

主题

7

帖子

11

积分

注册会员

Rank: 1

积分
11
发表于 2022-11-16 23:09:31 | 显示全部楼层 |阅读模式
這是我的檔,從這兒下的,人家說不是原檔.常發生input output file not matched error

echo off
chcp 65001
echo.
rem 出力画像フォーマットをjpgに変えただけで、他はtgmain(バッチファイル不使用)と同じ
rem 追加超解像を行う場合はpngにすべき
rem I just changed the output image format to jpg, but everything else is the same as tgmain without the batch file.
rem If you want to do additional super-resolution, it should be png.
rem OPTION------------------------------------------------------------------------------------------
rem 対応するJavPlayerのバージョン(互換性チェック用)
rem Target JavPlayer version (for compatibility check)
::JP_VER 111
rem 入力画像数下限(TecoGANは6, TopazVEAIは5, 他は各ツールのマニュアル参照)
rem Minimum number og input images. (TecoGAN:6, TopazVEAI:5, others:refer to their manuals.)
::MIN_FRAMES 6
rem 入力画像の横と縦のピクセル数下限(通常は0を指定して無効化,TopazVEAIは50未満の画像を処理できないため50)
rem Lower limit of the image width & height (Normally set to 0 and disable. 50 for TopazVEAI.)
::MIN_W 64
::MIN_H 64
rem 出力画像のズレ補正(TecoGANには0.4を指定,他のツールには通常0.0) ※1.0なら入力画像の1ピクセル分右(下)
rem Correction of output image misalignment (Normally set to 0.0. 0.4 for TecoGAN.) *With 1.0, move to the right (bottom) by one pixel of input image.
::SHIFT_X 0.0
::SHIFT_Y 0.0
rem 動画との合成時に追加するノイズの強さ(0~9)
rem Strength of the noise to be added when combining with video (0-9)
::NOISE_LEV 2
rem 1プロセスが必要とするVRAM容量(単位M = VRAM_USAGE + VRAM_USAGE_P入力画像のピクセル数/10000
rem 並列実行を管理するために使用される
rem Amount of VRAM required by one process (Unit:M = VRAM_USAGE + VRAM_USAGE_P
[Number of pixels in the input image]/10000
rem Used to manage parallel execution.
::VRAM_USAGE 8192
rem ARGUMENTS---------------------------------------------------------------------------------------
rem 引数1(%1)は使用するGPUの番号(0<=GPUID<=3,7:CPU)
rem argument1(%1) is the ID of the GPU to use (0<=GPUID<=3,7:CPU)
rem 引数2(%2)は入出力フォルダ番号(output,addout)
rem argument2(%2) is the I/O folder number (input,output)
rem 引数3(%3)は作業用フォルダのパス(TGMAINやTG-MODELがある場所)
rem argument3(%3) is the path to the work folder (Where TGMAIN and TG-MODEL are located)
rem 引数4(%4)はモデル名(TG-STD,TG-AF1,etc.)
rem argument4(%4) is the model name (TG-STD,TG-AF1,etc.)
rem PROCESS-----------------------------------------------------------------------------------------
cd "%~3bvpp"
rem 超解像処理を実行
rem Execute super-resolution processing.
@echo on
bvpp.exe basicvsr_plusplus_vimeo90k_bd.py basicvsr_plusplus_c64n7_8x1_300k_vimeo90k_bd_20210305-ab315ab1.pth ../input%2 ../output%2 --filename-tmpl {:04d}.png --device %1 --max-seq-len 300

回复

使用道具 举报

0

主题

62

帖子

44

积分

注册会员

Rank: 1

积分
44
发表于 2023-11-20 10:56:22 | 显示全部楼层
学习学习,谢谢~~~~~~~~~~~~~~~~~~~
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

手机版|小黑屋|JavPlayer 中文交流论坛

GMT+8, 2024-4-18 16:50 , Processed in 0.024968 second(s), 22 queries .

Powered by Discuz! X3.4

Copyright © 2001-2020, Tencent Cloud.

快速回复 返回顶部 返回列表