Image Super Resolution Docker Image. Upscale low-res images with Deep Learning.
296
This Docker image provides a complete solution for enhancing image resolution using state-of-the-art EDSR (Enhanced Deep Super Resolution) models with channel attention mechanism. The container packages all necessary components into a lightweight environment, making it seamless to upscale images up to 8x their original resolution.
Start by pulling the image from Docker Hub:
docker pull dixisouls/super_resolution:latest
Run the container to enhance the resolution of your input image:
docker run -v /path/to/input:/input dixisouls/super_resolution:latest /input/image.jpg
-v /path/to/input:/input: Mounts your local directory (containing the image) into the container. Replace /path/to/input with the absolute path to your folder containing the input image.dixisouls/super_resolution:latest: The Docker image pulled from Docker Hub./input/image.jpg: Path to the input image inside the container.output.png in the same directory as the input image.If your input image is located in /home/user/images and is named low_res.jpg, you can run:
docker run -v /home/user/images:/input dixisouls/super_resolution:latest /input/low_res.jpg
The high-resolution output will be saved as output.png in the /home/user/images directory.
This project includes all necessary components for performing image super resolution:
project/
├── Dockerfile # Docker configuration for environment setup
├── models/ # Directory containing model architectures
│ ├── edsr.py # Basic EDSR implementation
│ ├── edsr_deep.py # Deep EDSR variant
│ └── edsr_channel_attention.py # EDSR with attention mechanism
├── utils/ # Utility functions
│ ├── data_utils.py # Data processing utilities
│ ├── infer_utils.py # Inference helper functions
│ └── utils.py # General utilities
├── trained_models/ # Pre-trained model weights directory
│ └── best.pth # Best model checkpoint
├── config.py # Training configuration
├── infer_config.py # Inference configuration
├── inference.py # Main script for super resolution
└── README.md # Project documentation
You can find the source code for this project on GitHub: Super Resolution GitHub Repository
Content type
Image
Digest
sha256:149ccdc25…
Size
3.7 GB
Last updated
almost 2 years ago
docker pull dixisouls/super_resolution