Update README.md
Browse files
README.md
CHANGED
@@ -6,3 +6,15 @@ library_name: timm
|
|
6 |
license: apache-2.0
|
7 |
---
|
8 |
# Model card for zoobot-encoder-resnet50
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
6 |
license: apache-2.0
|
7 |
---
|
8 |
# Model card for zoobot-encoder-resnet50
|
9 |
+
|
10 |
+
|
11 |
+
Please see the [Zoobot docs](https://zoobot.readthedocs.io/en/latest/pretrained_models.html) for loading and finetuning instructions.
|
12 |
+
|
13 |
+
But minimally, you can use this like any timm encoder:
|
14 |
+
|
15 |
+
```python
|
16 |
+
import timm
|
17 |
+
|
18 |
+
encoder = timm.create_model('hf_hub:mwalmsley/zoobot-encoder-some-name', pretrained=True, num_classes=0)
|
19 |
+
```
|
20 |
+
|