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.4.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.4-py3-none-any.whl (43.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: jax_image_models-0.3.4.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.4.tar.gz
Algorithm Hash digest
SHA256 9b2851208e03d0cfbfb03c4d029569941546cec16761064f2c531e1699818597
MD5 30334e1e22673efe818239499984991a
BLAKE2b-256 1c7e0af8aad905f229b22a1f75a86266deedc7b6c056852f4ed5c878caeb6b85

See more details on using hashes here.

File details

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

File metadata

  • Download URL: jax_image_models-0.3.4-py3-none-any.whl
  • Upload date:
  • Size: 43.9 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.4-py3-none-any.whl
Algorithm Hash digest
SHA256 489a85323795220cbc7c0eec6f56b7ecbd90d8c93cb60626f0ae59945de11277
MD5 1c36ece50fb4a3fd40e36f82ce55cdf0
BLAKE2b-256 ca33fa0f655de0e7c924cecf1cee03bb61bb8f691b8edbac53b1a5a945d0d75a

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