Downloads ยท 30 days
0
Gokuleshwaran/Machine-Learning-CSGY-6923
Machine-Learning-CSGY-6923 is a machine learning model from Gokuleshwaran. Use it for the machine learning task on the model card, and read the license before you ship it in a product. The card lists the license as mit.
๐ Super Resolution Model Comparison is a web application built using Streamlit that allows users to upload a low-resolution image and compare its enhancement using various super-resolution models (SRCNN, VDSR, and EDโฆ
Downloads ยท 30 days
0
Access
Public
Updated Dec 3, 2024
Repo size
7.6 MB
Likes
0
Public
Click a slice to open those files.
.pth7.6 MB ยท 86%
From the Hugging Face model README
๐ Super Resolution Model Comparison is a web application built using Streamlit that allows users to upload a low-resolution image and compare its enhancement using various super-resolution models (SRCNN, VDSR, and EDSR). The application provides image quality metrics (PSNR and SSIM) and processing time for each model to assess their performance.
Clone the Repository
git clone <repository-url>
cd <repository-folder>
Install Dependencies
pip install -r requirements.txt
Download Pre-trained Weights
checkpoints/ directory:
srcnn_best.pth for SRCNNvdsr_best.pth for VDSRedsr_best.pth for EDSRRun the Application
streamlit run app.py
http://localhost:8501)..
โโโ app.py # Main Streamlit application script
โโโ models/ # Directory for model definitions
โ โโโ srcnn.py # SRCNN model
โ โโโ vdsr.py # VDSR model
โ โโโ edsr.py # EDSR model
โโโ checkpoints/ # Directory for storing pre-trained weights
โ โโโ srcnn_best.pth
โ โโโ vdsr_best.pth
โ โโโ edsr_best.pth
โโโ requirements.txt # Python dependencies
โโโ README.md # Documentation
Install the required Python libraries:
torch: PyTorch for deep learning.torchvision: Image transformations and utilities.streamlit: Interactive web interface.pillow: Image processing library.numpy: Numerical operations.scikit-image: Image quality metrics (PSNR, SSIM).models/ directory.load_model() function in app.py to include the new model.Place updated weights in the checkpoints/ directory with the naming convention <model_name>_best.pth.
This project is open-source and available under the MIT License.
For queries or contributions, reach out via GitHub or email.
Happy enhancing! ๐