Image Classification
Transformers
Safetensors
swinv2
LADI
Aerial Imagery
Disaster Response
Emergency Management
Instructions to use MITLL/LADI-v2-classifier-large with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use MITLL/LADI-v2-classifier-large with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="MITLL/LADI-v2-classifier-large") pipe("https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/hub/parrots.png")# Load model directly from transformers import AutoImageProcessor, AutoModelForImageClassification processor = AutoImageProcessor.from_pretrained("MITLL/LADI-v2-classifier-large") model = AutoModelForImageClassification.from_pretrained("MITLL/LADI-v2-classifier-large") - Notebooks
- Google Colab
- Kaggle
Upload Swinv2ForImageClassification
Browse files- config.json +1 -1
- model.safetensors +1 -1
config.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
| 1 |
{
|
| 2 |
-
"_name_or_path": "
|
| 3 |
"architectures": [
|
| 4 |
"Swinv2ForImageClassification"
|
| 5 |
],
|
|
|
|
| 1 |
{
|
| 2 |
+
"_name_or_path": "/home/gridsan/groups/CAP_shared/finetuned_models/model_xm0tHYlu/run_20240506-120742_vQna4gJ/epoch_011",
|
| 3 |
"architectures": [
|
| 4 |
"Swinv2ForImageClassification"
|
| 5 |
],
|
model.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 780947768
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b87ae57b12ea6c8a4ce9edce92b0ff0b055a26512a018cf264c7c56e8c109595
|
| 3 |
size 780947768
|