├── .gitignore ├── CODE_OF_CONDUCT.md ├── CONTRIBUTING.md ├── LICENSE ├── README.md ├── img ├── genai-video-super-resolution-architecture.png └── video-super-resolution-demo-git.gif ├── lambda └── video_super_resolution.yaml ├── pcluster ├── bootstrap │ ├── compute-node-cpu │ │ ├── compute-node-cpu-configured.sh │ │ └── install.sh │ ├── compute-node-gpu │ │ ├── cloudwatch │ │ │ └── cloudwatch-agent-gpu-config.json │ │ ├── docker │ │ │ └── docker-compose-template.yaml │ │ ├── install.sh │ │ ├── scripts │ │ │ └── compute-node-configured-template.sh │ │ └── test │ │ │ ├── SD │ │ │ └── frames │ │ │ │ └── 0002.png │ │ │ ├── payload.json │ │ │ └── test.sh │ ├── headnode │ │ ├── head-node-configured-template.sh │ │ ├── install.sh │ │ └── scripts │ │ │ ├── create_extract_job_full.sh │ │ │ ├── create_extract_job_template.sh │ │ │ ├── create_task.sh │ │ │ ├── encode_new_movie.sh │ │ │ ├── extract_frames_audio.sh │ │ │ ├── frame-super-resolution-array.sh │ │ │ ├── frame-super-resolution-local.sh │ │ │ ├── frame-super-resolution.sh │ │ │ ├── generate_task_upload_url.py │ │ │ ├── get_task_status.sh │ │ │ ├── realesrgan-task.sh │ │ │ ├── realesrgan.sh │ │ │ ├── reencode_orig_movie.sh │ │ │ ├── swinir-task.sh │ │ │ └── swinir.sh │ ├── install.sh │ └── prepare.sh └── config │ ├── cluster-config-template.yaml │ ├── image_config.yaml │ └── install.sh ├── realesrgan ├── Dockerfile.realesrgan.gpu ├── README.md ├── build_and_push_docker.sh ├── requirements.txt ├── src │ ├── inference.py │ └── realesrgan │ │ └── realesrgan │ │ ├── __init__.py │ │ ├── archs │ │ ├── __init__.py │ │ ├── discriminator_arch.py │ │ └── srvgg_arch.py │ │ ├── data │ │ ├── __init__.py │ │ ├── realesrgan_dataset.py │ │ └── realesrgan_paired_dataset.py │ │ ├── models │ │ ├── __init__.py │ │ ├── realesrgan_model.py │ │ └── realesrnet_model.py │ │ ├── train.py │ │ ├── utils.py │ │ └── version.py └── test │ ├── SD │ └── frames │ │ └── 0001.png │ ├── payload.json │ └── test.sh ├── swinir2-tensorrt ├── Dockerfile.swinir2-tensorrt.gpu ├── README.md ├── build_and_push_docker.sh ├── onnx │ ├── requirements.txt │ ├── testsets │ │ └── test.png │ ├── torch2onnx.py │ └── utils │ │ ├── plots.py │ │ └── util_calculate_psnr_ssim.py ├── requirements.txt ├── src │ └── inference.py ├── tensorrt │ └── onnx2trt.sh └── test │ ├── SD │ └── frames │ │ └── 0001.png │ ├── payload.json │ └── test.sh ├── swinir2 ├── Dockerfile.swinir2.gpu ├── README.md ├── build_and_push_docker.sh ├── requirements.txt ├── src │ ├── inference.py │ └── swinir │ │ ├── load_model.py │ │ └── network_swin2sr.py └── test │ ├── SD │ └── frames │ │ └── 0001.png │ ├── payload.json │ └── test.sh └── ui ├── Dockerfile ├── app.py ├── requirements.txt └── videos └── anime └── bbb ├── bbb-10s.mp4 └── bbb-sr-10s.mp4 /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/genai-video-super-resolution/HEAD/.gitignore -------------------------------------------------------------------------------- /CODE_OF_CONDUCT.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/genai-video-super-resolution/HEAD/CODE_OF_CONDUCT.md -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/genai-video-super-resolution/HEAD/CONTRIBUTING.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/genai-video-super-resolution/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/genai-video-super-resolution/HEAD/README.md -------------------------------------------------------------------------------- /img/genai-video-super-resolution-architecture.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/genai-video-super-resolution/HEAD/img/genai-video-super-resolution-architecture.png -------------------------------------------------------------------------------- /img/video-super-resolution-demo-git.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/genai-video-super-resolution/HEAD/img/video-super-resolution-demo-git.gif -------------------------------------------------------------------------------- /lambda/video_super_resolution.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/genai-video-super-resolution/HEAD/lambda/video_super_resolution.yaml -------------------------------------------------------------------------------- /pcluster/bootstrap/compute-node-cpu/compute-node-cpu-configured.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/genai-video-super-resolution/HEAD/pcluster/bootstrap/compute-node-cpu/compute-node-cpu-configured.sh -------------------------------------------------------------------------------- /pcluster/bootstrap/compute-node-cpu/install.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/genai-video-super-resolution/HEAD/pcluster/bootstrap/compute-node-cpu/install.sh -------------------------------------------------------------------------------- /pcluster/bootstrap/compute-node-gpu/cloudwatch/cloudwatch-agent-gpu-config.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/genai-video-super-resolution/HEAD/pcluster/bootstrap/compute-node-gpu/cloudwatch/cloudwatch-agent-gpu-config.json -------------------------------------------------------------------------------- /pcluster/bootstrap/compute-node-gpu/docker/docker-compose-template.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/genai-video-super-resolution/HEAD/pcluster/bootstrap/compute-node-gpu/docker/docker-compose-template.yaml -------------------------------------------------------------------------------- /pcluster/bootstrap/compute-node-gpu/install.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/genai-video-super-resolution/HEAD/pcluster/bootstrap/compute-node-gpu/install.sh -------------------------------------------------------------------------------- /pcluster/bootstrap/compute-node-gpu/scripts/compute-node-configured-template.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/genai-video-super-resolution/HEAD/pcluster/bootstrap/compute-node-gpu/scripts/compute-node-configured-template.sh -------------------------------------------------------------------------------- /pcluster/bootstrap/compute-node-gpu/test/SD/frames/0002.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/genai-video-super-resolution/HEAD/pcluster/bootstrap/compute-node-gpu/test/SD/frames/0002.png -------------------------------------------------------------------------------- /pcluster/bootstrap/compute-node-gpu/test/payload.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/genai-video-super-resolution/HEAD/pcluster/bootstrap/compute-node-gpu/test/payload.json -------------------------------------------------------------------------------- /pcluster/bootstrap/compute-node-gpu/test/test.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/genai-video-super-resolution/HEAD/pcluster/bootstrap/compute-node-gpu/test/test.sh -------------------------------------------------------------------------------- /pcluster/bootstrap/headnode/head-node-configured-template.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/genai-video-super-resolution/HEAD/pcluster/bootstrap/headnode/head-node-configured-template.sh -------------------------------------------------------------------------------- /pcluster/bootstrap/headnode/install.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/genai-video-super-resolution/HEAD/pcluster/bootstrap/headnode/install.sh -------------------------------------------------------------------------------- /pcluster/bootstrap/headnode/scripts/create_extract_job_full.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/genai-video-super-resolution/HEAD/pcluster/bootstrap/headnode/scripts/create_extract_job_full.sh -------------------------------------------------------------------------------- /pcluster/bootstrap/headnode/scripts/create_extract_job_template.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/genai-video-super-resolution/HEAD/pcluster/bootstrap/headnode/scripts/create_extract_job_template.sh -------------------------------------------------------------------------------- /pcluster/bootstrap/headnode/scripts/create_task.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/genai-video-super-resolution/HEAD/pcluster/bootstrap/headnode/scripts/create_task.sh -------------------------------------------------------------------------------- /pcluster/bootstrap/headnode/scripts/encode_new_movie.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/genai-video-super-resolution/HEAD/pcluster/bootstrap/headnode/scripts/encode_new_movie.sh -------------------------------------------------------------------------------- /pcluster/bootstrap/headnode/scripts/extract_frames_audio.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/genai-video-super-resolution/HEAD/pcluster/bootstrap/headnode/scripts/extract_frames_audio.sh -------------------------------------------------------------------------------- /pcluster/bootstrap/headnode/scripts/frame-super-resolution-array.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/genai-video-super-resolution/HEAD/pcluster/bootstrap/headnode/scripts/frame-super-resolution-array.sh -------------------------------------------------------------------------------- /pcluster/bootstrap/headnode/scripts/frame-super-resolution-local.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/genai-video-super-resolution/HEAD/pcluster/bootstrap/headnode/scripts/frame-super-resolution-local.sh -------------------------------------------------------------------------------- /pcluster/bootstrap/headnode/scripts/frame-super-resolution.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/genai-video-super-resolution/HEAD/pcluster/bootstrap/headnode/scripts/frame-super-resolution.sh -------------------------------------------------------------------------------- /pcluster/bootstrap/headnode/scripts/generate_task_upload_url.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/genai-video-super-resolution/HEAD/pcluster/bootstrap/headnode/scripts/generate_task_upload_url.py -------------------------------------------------------------------------------- /pcluster/bootstrap/headnode/scripts/get_task_status.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/genai-video-super-resolution/HEAD/pcluster/bootstrap/headnode/scripts/get_task_status.sh -------------------------------------------------------------------------------- /pcluster/bootstrap/headnode/scripts/realesrgan-task.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/genai-video-super-resolution/HEAD/pcluster/bootstrap/headnode/scripts/realesrgan-task.sh -------------------------------------------------------------------------------- /pcluster/bootstrap/headnode/scripts/realesrgan.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/genai-video-super-resolution/HEAD/pcluster/bootstrap/headnode/scripts/realesrgan.sh -------------------------------------------------------------------------------- /pcluster/bootstrap/headnode/scripts/reencode_orig_movie.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/genai-video-super-resolution/HEAD/pcluster/bootstrap/headnode/scripts/reencode_orig_movie.sh -------------------------------------------------------------------------------- /pcluster/bootstrap/headnode/scripts/swinir-task.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/genai-video-super-resolution/HEAD/pcluster/bootstrap/headnode/scripts/swinir-task.sh -------------------------------------------------------------------------------- /pcluster/bootstrap/headnode/scripts/swinir.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/genai-video-super-resolution/HEAD/pcluster/bootstrap/headnode/scripts/swinir.sh -------------------------------------------------------------------------------- /pcluster/bootstrap/install.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/genai-video-super-resolution/HEAD/pcluster/bootstrap/install.sh -------------------------------------------------------------------------------- /pcluster/bootstrap/prepare.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/genai-video-super-resolution/HEAD/pcluster/bootstrap/prepare.sh -------------------------------------------------------------------------------- /pcluster/config/cluster-config-template.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/genai-video-super-resolution/HEAD/pcluster/config/cluster-config-template.yaml -------------------------------------------------------------------------------- /pcluster/config/image_config.yaml: -------------------------------------------------------------------------------- 1 | Build: 2 | InstanceType: m5.xlarge 3 | ParentImage: ami-0aa53dab5294598ec 4 | -------------------------------------------------------------------------------- /pcluster/config/install.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/genai-video-super-resolution/HEAD/pcluster/config/install.sh -------------------------------------------------------------------------------- /realesrgan/Dockerfile.realesrgan.gpu: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/genai-video-super-resolution/HEAD/realesrgan/Dockerfile.realesrgan.gpu -------------------------------------------------------------------------------- /realesrgan/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/genai-video-super-resolution/HEAD/realesrgan/README.md -------------------------------------------------------------------------------- /realesrgan/build_and_push_docker.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/genai-video-super-resolution/HEAD/realesrgan/build_and_push_docker.sh -------------------------------------------------------------------------------- /realesrgan/requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/genai-video-super-resolution/HEAD/realesrgan/requirements.txt -------------------------------------------------------------------------------- /realesrgan/src/inference.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/genai-video-super-resolution/HEAD/realesrgan/src/inference.py -------------------------------------------------------------------------------- /realesrgan/src/realesrgan/realesrgan/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/genai-video-super-resolution/HEAD/realesrgan/src/realesrgan/realesrgan/__init__.py -------------------------------------------------------------------------------- /realesrgan/src/realesrgan/realesrgan/archs/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/genai-video-super-resolution/HEAD/realesrgan/src/realesrgan/realesrgan/archs/__init__.py -------------------------------------------------------------------------------- /realesrgan/src/realesrgan/realesrgan/archs/discriminator_arch.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/genai-video-super-resolution/HEAD/realesrgan/src/realesrgan/realesrgan/archs/discriminator_arch.py -------------------------------------------------------------------------------- /realesrgan/src/realesrgan/realesrgan/archs/srvgg_arch.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/genai-video-super-resolution/HEAD/realesrgan/src/realesrgan/realesrgan/archs/srvgg_arch.py -------------------------------------------------------------------------------- /realesrgan/src/realesrgan/realesrgan/data/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/genai-video-super-resolution/HEAD/realesrgan/src/realesrgan/realesrgan/data/__init__.py -------------------------------------------------------------------------------- /realesrgan/src/realesrgan/realesrgan/data/realesrgan_dataset.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/genai-video-super-resolution/HEAD/realesrgan/src/realesrgan/realesrgan/data/realesrgan_dataset.py -------------------------------------------------------------------------------- /realesrgan/src/realesrgan/realesrgan/data/realesrgan_paired_dataset.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/genai-video-super-resolution/HEAD/realesrgan/src/realesrgan/realesrgan/data/realesrgan_paired_dataset.py -------------------------------------------------------------------------------- /realesrgan/src/realesrgan/realesrgan/models/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/genai-video-super-resolution/HEAD/realesrgan/src/realesrgan/realesrgan/models/__init__.py -------------------------------------------------------------------------------- /realesrgan/src/realesrgan/realesrgan/models/realesrgan_model.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/genai-video-super-resolution/HEAD/realesrgan/src/realesrgan/realesrgan/models/realesrgan_model.py -------------------------------------------------------------------------------- /realesrgan/src/realesrgan/realesrgan/models/realesrnet_model.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/genai-video-super-resolution/HEAD/realesrgan/src/realesrgan/realesrgan/models/realesrnet_model.py -------------------------------------------------------------------------------- /realesrgan/src/realesrgan/realesrgan/train.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/genai-video-super-resolution/HEAD/realesrgan/src/realesrgan/realesrgan/train.py -------------------------------------------------------------------------------- /realesrgan/src/realesrgan/realesrgan/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/genai-video-super-resolution/HEAD/realesrgan/src/realesrgan/realesrgan/utils.py -------------------------------------------------------------------------------- /realesrgan/src/realesrgan/realesrgan/version.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/genai-video-super-resolution/HEAD/realesrgan/src/realesrgan/realesrgan/version.py -------------------------------------------------------------------------------- /realesrgan/test/SD/frames/0001.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/genai-video-super-resolution/HEAD/realesrgan/test/SD/frames/0001.png -------------------------------------------------------------------------------- /realesrgan/test/payload.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/genai-video-super-resolution/HEAD/realesrgan/test/payload.json -------------------------------------------------------------------------------- /realesrgan/test/test.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/genai-video-super-resolution/HEAD/realesrgan/test/test.sh -------------------------------------------------------------------------------- /swinir2-tensorrt/Dockerfile.swinir2-tensorrt.gpu: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/genai-video-super-resolution/HEAD/swinir2-tensorrt/Dockerfile.swinir2-tensorrt.gpu -------------------------------------------------------------------------------- /swinir2-tensorrt/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/genai-video-super-resolution/HEAD/swinir2-tensorrt/README.md -------------------------------------------------------------------------------- /swinir2-tensorrt/build_and_push_docker.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/genai-video-super-resolution/HEAD/swinir2-tensorrt/build_and_push_docker.sh -------------------------------------------------------------------------------- /swinir2-tensorrt/onnx/requirements.txt: -------------------------------------------------------------------------------- 1 | opencv-python 2 | torch 3 | requests 4 | timm 5 | onnx 6 | -------------------------------------------------------------------------------- /swinir2-tensorrt/onnx/testsets/test.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/genai-video-super-resolution/HEAD/swinir2-tensorrt/onnx/testsets/test.png -------------------------------------------------------------------------------- /swinir2-tensorrt/onnx/torch2onnx.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/genai-video-super-resolution/HEAD/swinir2-tensorrt/onnx/torch2onnx.py -------------------------------------------------------------------------------- /swinir2-tensorrt/onnx/utils/plots.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/genai-video-super-resolution/HEAD/swinir2-tensorrt/onnx/utils/plots.py -------------------------------------------------------------------------------- /swinir2-tensorrt/onnx/utils/util_calculate_psnr_ssim.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/genai-video-super-resolution/HEAD/swinir2-tensorrt/onnx/utils/util_calculate_psnr_ssim.py -------------------------------------------------------------------------------- /swinir2-tensorrt/requirements.txt: -------------------------------------------------------------------------------- 1 | opencv-python 2 | torch 3 | requests 4 | timm 5 | tensorrt==8.6.1 6 | pycuda==2022.2.2 7 | -------------------------------------------------------------------------------- /swinir2-tensorrt/src/inference.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/genai-video-super-resolution/HEAD/swinir2-tensorrt/src/inference.py -------------------------------------------------------------------------------- /swinir2-tensorrt/tensorrt/onnx2trt.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/genai-video-super-resolution/HEAD/swinir2-tensorrt/tensorrt/onnx2trt.sh -------------------------------------------------------------------------------- /swinir2-tensorrt/test/SD/frames/0001.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/genai-video-super-resolution/HEAD/swinir2-tensorrt/test/SD/frames/0001.png -------------------------------------------------------------------------------- /swinir2-tensorrt/test/payload.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/genai-video-super-resolution/HEAD/swinir2-tensorrt/test/payload.json -------------------------------------------------------------------------------- /swinir2-tensorrt/test/test.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/genai-video-super-resolution/HEAD/swinir2-tensorrt/test/test.sh -------------------------------------------------------------------------------- /swinir2/Dockerfile.swinir2.gpu: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/genai-video-super-resolution/HEAD/swinir2/Dockerfile.swinir2.gpu -------------------------------------------------------------------------------- /swinir2/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/genai-video-super-resolution/HEAD/swinir2/README.md -------------------------------------------------------------------------------- /swinir2/build_and_push_docker.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/genai-video-super-resolution/HEAD/swinir2/build_and_push_docker.sh -------------------------------------------------------------------------------- /swinir2/requirements.txt: -------------------------------------------------------------------------------- 1 | opencv-python 2 | torch 3 | requests 4 | timm 5 | -------------------------------------------------------------------------------- /swinir2/src/inference.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/genai-video-super-resolution/HEAD/swinir2/src/inference.py -------------------------------------------------------------------------------- /swinir2/src/swinir/load_model.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/genai-video-super-resolution/HEAD/swinir2/src/swinir/load_model.py -------------------------------------------------------------------------------- /swinir2/src/swinir/network_swin2sr.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/genai-video-super-resolution/HEAD/swinir2/src/swinir/network_swin2sr.py -------------------------------------------------------------------------------- /swinir2/test/SD/frames/0001.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/genai-video-super-resolution/HEAD/swinir2/test/SD/frames/0001.png -------------------------------------------------------------------------------- /swinir2/test/payload.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/genai-video-super-resolution/HEAD/swinir2/test/payload.json -------------------------------------------------------------------------------- /swinir2/test/test.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/genai-video-super-resolution/HEAD/swinir2/test/test.sh -------------------------------------------------------------------------------- /ui/Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/genai-video-super-resolution/HEAD/ui/Dockerfile -------------------------------------------------------------------------------- /ui/app.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/genai-video-super-resolution/HEAD/ui/app.py -------------------------------------------------------------------------------- /ui/requirements.txt: -------------------------------------------------------------------------------- 1 | gradio==3.50.2 2 | boto3 3 | -------------------------------------------------------------------------------- /ui/videos/anime/bbb/bbb-10s.mp4: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/genai-video-super-resolution/HEAD/ui/videos/anime/bbb/bbb-10s.mp4 -------------------------------------------------------------------------------- /ui/videos/anime/bbb/bbb-sr-10s.mp4: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/genai-video-super-resolution/HEAD/ui/videos/anime/bbb/bbb-sr-10s.mp4 --------------------------------------------------------------------------------