Instructions to use facebook/vit-mae-huge with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use facebook/vit-mae-huge with Transformers:
# Load model directly from transformers import AutoImageProcessor, AutoModelForPreTraining processor = AutoImageProcessor.from_pretrained("facebook/vit-mae-huge") model = AutoModelForPreTraining.from_pretrained("facebook/vit-mae-huge", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Remove feature_extractor_type
Browse files- preprocessor_config.json +0 -1
preprocessor_config.json
CHANGED
|
@@ -2,7 +2,6 @@
|
|
| 2 |
"_processor_class": null,
|
| 3 |
"do_normalize": true,
|
| 4 |
"do_resize": true,
|
| 5 |
-
"feature_extractor_type": "ViTMAEFeatureExtractor",
|
| 6 |
"image_mean": [
|
| 7 |
0.485,
|
| 8 |
0.456,
|
|
|
|
| 2 |
"_processor_class": null,
|
| 3 |
"do_normalize": true,
|
| 4 |
"do_resize": true,
|
|
|
|
| 5 |
"image_mean": [
|
| 6 |
0.485,
|
| 7 |
0.456,
|