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