fffiloni's picture
Upload 244 files
b3f324b verified
|
raw
history blame
973 Bytes

Environment Preparation

For video super resolution, please prepare your own python envirment from RGT and down the ckpt into the folder like

./experiments/pretrained_models/RGT_x2.pth

Video Super Resolution

The inferencing instruction is in run.py.

python run.py --SR x4 --root_path /path_to_root --input_dir /path_to_input_dir --output_dir /path_to_video_output

You can configure some more detailed parameters in run.py such as .

--mul_numwork 16 --use_chop False

We recommend using --use_chop = False when memory allows. Note that in our tests.

A single frame of 256x256 requires about 3G RAM-Usage, and a single 4090 card can process about one frame per second.

A single frame of 512x512 takes about 19G RAM-Usage, and a single 4090 takes about 5 seconds to process a frame.