Spaces:
Running
Running
riccardomusmeci
commited on
Update README.md
Browse files
README.md
CHANGED
@@ -34,7 +34,7 @@ model = create_model("resnet18") # pretrained weights loaded from HF
|
|
34 |
model = create_model("resnet18", weights="hf://repo_id/filename")
|
35 |
|
36 |
# loading weights from local file
|
37 |
-
model = create_model("resnet18", weights="path/to/resnet18/model.
|
38 |
```
|
39 |
|
40 |
## ImageNet-1K Results
|
@@ -42,6 +42,3 @@ model = create_model("resnet18", weights="path/to/resnet18/model.npz")
|
|
42 |
Go to https://github.com/riccardomusmeci/mlx-image/blob/main/results/results-imagenet-1k.csv to check every model converted and its performance on ImageNet-1K with different settings.
|
43 |
|
44 |
> **TL;DR** performance is comparable to the original models from PyTorch implementations.
|
45 |
-
|
46 |
-
> [!WARNING]
|
47 |
-
> More models will be uploaded aligned with MLX improvement by the Apple team.
|
|
|
34 |
model = create_model("resnet18", weights="hf://repo_id/filename")
|
35 |
|
36 |
# loading weights from local file
|
37 |
+
model = create_model("resnet18", weights="path/to/resnet18/model.safetensors")
|
38 |
```
|
39 |
|
40 |
## ImageNet-1K Results
|
|
|
42 |
Go to https://github.com/riccardomusmeci/mlx-image/blob/main/results/results-imagenet-1k.csv to check every model converted and its performance on ImageNet-1K with different settings.
|
43 |
|
44 |
> **TL;DR** performance is comparable to the original models from PyTorch implementations.
|
|
|
|
|
|