Skip to main content

Jax Image Modeling of Models

Project description

Jax Image Modeling of Models (jimm)

Docs are at: https://pythoncrazy.github.io/jimm

  • This aims to be the jax counterpart to timm, with the exception that for image-text models (CLIP, SigLIP, etc), we support the text model entirely.
  • Made with flax nnx, supports weight loading from pytorch_model.bin and safetensors (as well as both methods from huggingface).

Models Supported:

  • Vision Transformers
    • Both with a classification linear layer, or not
    • Using a CLS Token for pooling, or using Multihead Attention Pooling
    • Can load any standard variant of Vision Transformers of any size/resolution(e.g. "google/vit-base-patch16-224" or "google/vit-large-patch16-384")
  • CLIP
    • Can load from any checkpoints of the clip model on github (such as "openai/clip-vit-base-patch32" or "geolocal/StreetCLIP")
  • SigLIP
    • Can load any non-naflex version of the SigLIP model, from both siglipv1 and siglipv2 (eg "google/siglip-base-patch16-256" or "google/siglip2-large-patch16-512" from huggingface or locally)

Installation

Using pixi.sh:

pixi add jimm@https://github.com/pythoncrazy/jimm.git --pypi

Using uv

uv add --dev git+https://github.com/pythoncrazy/jimm.git or if you prefer to not add as a direct dependency: uv pip install git+https://github.com/pythoncrazy/jimm.git

Using pip/conda

pip install git+https://github.com/pythoncrazy/jimm.git

Project details


Download files

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

Source Distribution

jax_image_models-0.3.3.tar.gz (7.7 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

jax_image_models-0.3.3-py3-none-any.whl (43.8 kB view details)

Uploaded Python 3

File details

Details for the file jax_image_models-0.3.3.tar.gz.

File metadata

  • Download URL: jax_image_models-0.3.3.tar.gz
  • Upload date:
  • Size: 7.7 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.14 {"installer":{"name":"uv","version":"0.11.14","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for jax_image_models-0.3.3.tar.gz
Algorithm Hash digest
SHA256 c7d40a336c3ca7339d2331bcdb740e20259576217adfeff66efa1e10dc0690bb
MD5 f57b2c004637c41525df48aba51d8fd4
BLAKE2b-256 6b6886bb48ff4516008a6046aa5e9286f445b06a064b25e9d9b1d93db8a5e359

See more details on using hashes here.

File details

Details for the file jax_image_models-0.3.3-py3-none-any.whl.

File metadata

  • Download URL: jax_image_models-0.3.3-py3-none-any.whl
  • Upload date:
  • Size: 43.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.14 {"installer":{"name":"uv","version":"0.11.14","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for jax_image_models-0.3.3-py3-none-any.whl
Algorithm Hash digest
SHA256 0ccde43e74af58ccde40f336da2bbd5f619e8f8e91798ac8691467f5477aba0c
MD5 e49752c5f4eca32341f293a4881c79eb
BLAKE2b-256 e4bdccbe1de2cf161514f7443ab42448867142895297320d47669bc6ec608466

See more details on using hashes here.

Supported by

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