Instructions to use facebook/PE-Core-B16-224 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PerceptionEncoder
How to use facebook/PE-Core-B16-224 with PerceptionEncoder:
# Use PE-Core models as CLIP models import core.vision_encoder.pe as pe model = pe.CLIP.from_config("facebook/PE-Core-B16-224", pretrained=True)# Use any PE model as a vision encoder import core.vision_encoder.pe as pe model = pe.VisionTransformer.from_config("facebook/PE-Core-B16-224", pretrained=True) - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -46,7 +46,7 @@ PE core performs particularly well on the _hard_ benchmarks such as ObjectNet an
|
|
| 46 |
|
| 47 |
# How to use
|
| 48 |
|
| 49 |
-
##
|
| 50 |
We provide the pretraining code in https://github.com/facebookresearch/perception_models
|
| 51 |
```shell
|
| 52 |
git clone https://github.com/facebookresearch/perception_models.git
|
|
|
|
| 46 |
|
| 47 |
# How to use
|
| 48 |
|
| 49 |
+
## Model loading code
|
| 50 |
We provide the pretraining code in https://github.com/facebookresearch/perception_models
|
| 51 |
```shell
|
| 52 |
git clone https://github.com/facebookresearch/perception_models.git
|