Instructions to use feisarx86/DeepWeeds with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use feisarx86/DeepWeeds with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="feisarx86/DeepWeeds") pipe("https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/hub/parrots.png")# pip install -U transformers accelerate # Load model directly from transformers import AutoImageProcessor, AutoModelForImageClassification processor = AutoImageProcessor.from_pretrained("feisarx86/DeepWeeds") model = AutoModelForImageClassification.from_pretrained("feisarx86/DeepWeeds", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Update Readme
Browse files
README.md
CHANGED
|
@@ -2,40 +2,22 @@
|
|
| 2 |
license: apache-2.0
|
| 3 |
base_model: google/vit-base-patch16-224-in21k
|
| 4 |
tags:
|
| 5 |
-
- image-classification
|
| 6 |
-
- vision
|
| 7 |
- generated_from_trainer
|
| 8 |
datasets:
|
| 9 |
- imagefolder
|
| 10 |
-
metrics:
|
| 11 |
-
- accuracy
|
| 12 |
model-index:
|
| 13 |
-
- name:
|
| 14 |
-
results:
|
| 15 |
-
- task:
|
| 16 |
-
name: Image Classification
|
| 17 |
-
type: image-classification
|
| 18 |
-
dataset:
|
| 19 |
-
name: imagefolder
|
| 20 |
-
type: imagefolder
|
| 21 |
-
config: default
|
| 22 |
-
split: train
|
| 23 |
-
args: default
|
| 24 |
-
metrics:
|
| 25 |
-
- name: Accuracy
|
| 26 |
-
type: accuracy
|
| 27 |
-
value: 1.0
|
| 28 |
---
|
| 29 |
|
| 30 |
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
| 31 |
should probably proofread and complete it, then remove this comment. -->
|
| 32 |
|
| 33 |
-
#
|
|
|
|
|
|
|
| 34 |
|
| 35 |
This model is a fine-tuned version of [google/vit-base-patch16-224-in21k](https://huggingface.co/google/vit-base-patch16-224-in21k) on the imagefolder dataset.
|
| 36 |
-
It achieves the following results on the evaluation set:
|
| 37 |
-
- Loss: 0.0596
|
| 38 |
-
- Accuracy: 1.0
|
| 39 |
|
| 40 |
## Model description
|
| 41 |
|
|
|
|
| 2 |
license: apache-2.0
|
| 3 |
base_model: google/vit-base-patch16-224-in21k
|
| 4 |
tags:
|
|
|
|
|
|
|
| 5 |
- generated_from_trainer
|
| 6 |
datasets:
|
| 7 |
- imagefolder
|
|
|
|
|
|
|
| 8 |
model-index:
|
| 9 |
+
- name: DeepWeeds
|
| 10 |
+
results: []
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 11 |
---
|
| 12 |
|
| 13 |
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
| 14 |
should probably proofread and complete it, then remove this comment. -->
|
| 15 |
|
| 16 |
+
# DeepWeeds
|
| 17 |
+
|
| 18 |
+
This model is ported from tensorflow to pytorch [Maythaporn/CNN-Model-for-Thai-Cannabis-Plant-Classification](https://github.com/Maythaporn/CNN-Model-for-Thai-Cannabis-Plant-Classification) on the imagefolder dataset.
|
| 19 |
|
| 20 |
This model is a fine-tuned version of [google/vit-base-patch16-224-in21k](https://huggingface.co/google/vit-base-patch16-224-in21k) on the imagefolder dataset.
|
|
|
|
|
|
|
|
|
|
| 21 |
|
| 22 |
## Model description
|
| 23 |
|