MLX Image Models
Project description
MLX Image Models
Introduction
This repository contains implementations for image models in MLX with functions to load pretrained weights from PyTorch.
Example training code is provided in mimm/scripts
.
Installation
pip install mimm
Usage
from mimm import get_model, list_models
# List available models
print(list_models())
# Load a model and convert weights from torchvision
model = get_model('resnet50', pretrained=True)
Models
Classification
- AlexNet
- VGG + BatchNorm variants
- Resnet
- Wide Resnet
- MobileNetV3
- ViT
- Swin Transformer
- Swin v2
Acknowledgements
This repository is based on the following repositories:
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
mimm-0.0.2.tar.gz
(33.1 kB
view details)
Built Distribution
mimm-0.0.2-py3-none-any.whl
(24.3 kB
view details)
File details
Details for the file mimm-0.0.2.tar.gz
.
File metadata
- Download URL: mimm-0.0.2.tar.gz
- Upload date:
- Size: 33.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.0.0 CPython/3.12.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ad3bd236146ce5f57e9d7499f0de4398806b18b8055b0cda8b3303909e8ad10c |
|
MD5 | 0d1df029e799dc01551e963569b4e011 |
|
BLAKE2b-256 | 6cfecce66df620ff793bc5b95fceeb8ca8b77bbca0cf7a3c5cb76ffbed7d1b6d |
File details
Details for the file mimm-0.0.2-py3-none-any.whl
.
File metadata
- Download URL: mimm-0.0.2-py3-none-any.whl
- Upload date:
- Size: 24.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.0.0 CPython/3.12.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a61db46ee8b51d51b56fee69d4730a7fc10f367bc1c4e434b0ad57bea3fe9a1f |
|
MD5 | 974fb4d24797b46822301a3cea014750 |
|
BLAKE2b-256 | 490be83c805062c945861319b76c20f559f4369a2110b97e8b6af26cf37b06e9 |