riccardomusmeci commited on
Commit
0f62aee
·
verified ·
1 Parent(s): 56dc4d0

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +26 -1
README.md CHANGED
@@ -7,4 +7,29 @@ sdk: static
7
  pinned: false
8
  ---
9
 
10
- Edit this `README.md` markdown file to author your organization card.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
7
  pinned: false
8
  ---
9
 
10
+ # **MLX Vision**
11
+
12
+ A community org for model weights compatible with (mlx-im)[https://github.com/riccardomusmeci/mlx-im/tree/main] powered by MLX.
13
+
14
+ These are pre-converted weights and ready to be used in the example scripts.
15
+
16
+
17
+ ## **How to install**
18
+ ```
19
+ git clone https://github.com/riccardomusmeci/mlx-im
20
+ cd mlx-im
21
+ pip install .
22
+ ```
23
+
24
+ ## **Models**
25
+
26
+ To create a model with weights:
27
+ ```python
28
+ from mlxim.model import create_model
29
+
30
+ # loading weights from mlx-vision
31
+ model = create_model("resnet18")
32
+
33
+ # loading weights from local file
34
+ model = create_model("resnet18", weights="path/to/weights.npz")
35
+ ```