Pretrained model - ESRGAN
cd BasicSR
python scripts/download_pretrained_models.py ESRGAN
Pretrained model path directory: …/BasicSR/experiments/pretrained_models, for example,
cd ~/AA/Derrick/BasicSR/experiments/pretrained_models
Demo test datasets
python scripts/data_preparation/download_datasets.py Set5
python scripts/data_preparation/download_datasets.py Set14
Demo test dataset location, same as Dataset location
cd BasicSR/datasets/
https://drive.google.com/drive/folders/15DgDtfaLASQ3iAPJEVHQF49g9msexECG?usp=sharing
Option 1 - with yml file
python basicsr/test.py -opt options/test/ESRGAN/test_ESRGAN_x4_woGT.yml
Option 2 - without yml file
# executation of our own photos
python inference/inference_esrgan.py --model_path experiments/pretrained_models/ESRGAN/ESRGAN_SRx4_DF2KOST_official-ff704c30.pth --input datasets/upload2_reshape
cd BasicSR/results
OpenCV
import cv2
cv2.VideoCapture()
Suggested app:
https://www.dvdvideosoft.com/products/dvd/Free-Video-to-JPG-Converter.htm
Only Compatible with Windows OS
22 frames at 20:43:52 in video