espejelomar
commited on
Commit
·
59a9ffc
1
Parent(s):
c5d29d5
Update README.md
Browse files
README.md
CHANGED
@@ -30,6 +30,18 @@ learn = cnn_learner(dls, resnet34, metrics=error_rate)
|
|
30 |
learn.fine_tune(2)
|
31 |
```
|
32 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
33 |
|
34 |
## Training data
|
35 |
|
|
|
30 |
learn.fine_tune(2)
|
31 |
```
|
32 |
|
33 |
+
## How to use
|
34 |
+
|
35 |
+
Download the model this way:
|
36 |
+
```python
|
37 |
+
from huggingface_hub import hf_hub_download
|
38 |
+
from fastai.learner import load_learner
|
39 |
+
|
40 |
+
model = load_learner(
|
41 |
+
hf_hub_download('espejelomar/fastai-pet-breeds-classification', filename="model.pkl")
|
42 |
+
)
|
43 |
+
```
|
44 |
+
|
45 |
|
46 |
## Training data
|
47 |
|