How suryavamshikusam/resolv works
Resolv is a client-side 3× super-resolution studio and an accompanying model-training project. In the main user workflow, someone supplies an image, chooses a bicubic, SRCNN, or SRGAN result, and inspects side-by-side outputs and intermediate activations in the browser. Internally, separate training paths produce the two learned models, which are exported for browser inference. The README documents the interactive browser capabilities; unsampled index.html implementation details are not inferred beyond that documentation.
Main entry points: upscale.py Image inference · train.py SRCNN training · train_gan.py SRGAN training · data Training and Set5 data
Components 14
Browser studio
- Interactive studio
index.html - ONNX Runtime Web
Inference models
- Browser model files
models - Image inference
upscale.py - SRCNN and SRGAN
model.py - Trained weights
checkpoints
Training pipelines
- SRCNN training
train.py - SRGAN training
train_gan.py - Browser model export
export_onnx.py
Data and evaluation
- Training and Set5 data
data - Dataset downloads
download_data.py - Image and metric helpers
utils.py - Set5 comparison
benchmark.py
Other components
- Image user
Connections 20
- Image user → Interactive studio: uploads image
README.md - Interactive studio → ONNX Runtime Web: runs inference
README.md - ONNX Runtime Web → Browser model files: loads models
README.md - Interactive studio → Image user: shows comparisons
README.md - Image inference → Trained weights: loads weights
upscale.py - Image inference → SRCNN and SRGAN: constructs model
upscale.py - Image inference → Image and metric helpers: uses helpers
upscale.py - SRCNN training → SRCNN and SRGAN: trains SRCNN
train.py - SRGAN training → SRCNN and SRGAN: trains SRGAN
train_gan.py - SRCNN training → Image and metric helpers: uses helpers
train.py - SRGAN training → Image and metric helpers: uses helpers
train_gan.py - SRCNN training → Training and Set5 data: reads training data
- SRGAN training → Training and Set5 data: reads training data
- SRCNN training → Trained weights: saves weights
- SRGAN training → Trained weights: saves weights
- Browser model export → Image inference: loads checkpoints
export_onnx.py - Browser model export → Browser model files: exports models
export_onnx.py - Dataset downloads → Training and Set5 data: downloads datasets
download_data.py - Set5 comparison → Image inference: compares outputs
- Set5 comparison → Training and Set5 data: uses Set5