Skip to main content

Super Resolution models with Jax/Flax

Project description

FlaxSR

Super Resolution models with Jax/Flax

HOW TO USE

Install

pip install flaxsr

Usage

from FlaxSR.models import VDSR
import jax
import jax.numpy as jnp

inputs = jnp.ones((16, 256, 256, 3))
key = jax.random.PRNGKey(42)
model = VDSR(n_filters=64, n_blocks=20, scale=4)
params = model.init(key, inputs)
outputs = model.apply(params, inputs)
print(outputs.shape)

Models implemented

  • SRCNN
  • FSRCNN
  • ESPCN
  • VDSR
  • EDSR, MDSR,
  • NCNet
  • SRResNet(SRGAN will be implemented in future)
  • NAFSSR

Feats will be added in future

  • More models
  • Pre-trained parameters
  • Training states(includes Generative-sr models)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

flaxsr-0.0.2-py3-none-any.whl (14.5 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page