Image Classification
Transformers
PyTorch
TensorBoard
English
van
Generated from Trainer
Eval Results (legacy)
Instructions to use DunnBC22/van-base-Brain_Tumors_Image_Classification with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use DunnBC22/van-base-Brain_Tumors_Image_Classification with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="DunnBC22/van-base-Brain_Tumors_Image_Classification") pipe("https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/hub/parrots.png")# Load model directly from transformers import AutoModelForImageClassification model = AutoModelForImageClassification.from_pretrained("DunnBC22/van-base-Brain_Tumors_Image_Classification", dtype="auto") - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -2,8 +2,6 @@
|
|
| 2 |
license: apache-2.0
|
| 3 |
tags:
|
| 4 |
- generated_from_trainer
|
| 5 |
-
datasets:
|
| 6 |
-
- imagefolder
|
| 7 |
metrics:
|
| 8 |
- accuracy
|
| 9 |
- f1
|
|
@@ -100,7 +98,7 @@ The following hyperparameters were used during training:
|
|
| 100 |
|
| 101 |
### Training results
|
| 102 |
|
| 103 |
-
| Training Loss | Epoch | Step | Validation Loss | Accuracy | Weighted
|
| 104 |
|:-------------:|:-----:|:----:|:---------------:|:--------:|:-----------:|:--------:|:--------:|:---------------:|:------------:|:------------:|:------------------:|:---------------:|:---------------:|
|
| 105 |
| 1.3357 | 1.0 | 180 | 1.5273 | 0.7183 | 0.6631 | 0.7183 | 0.6695 | 0.7183 | 0.7183 | 0.7058 | 0.8219 | 0.7183 | 0.8420 |
|
| 106 |
| 1.3357 | 2.0 | 360 | 1.9359 | 0.7792 | 0.7314 | 0.7792 | 0.7411 | 0.7792 | 0.7792 | 0.7764 | 0.8467 | 0.7792 | 0.8636 |
|
|
|
|
| 2 |
license: apache-2.0
|
| 3 |
tags:
|
| 4 |
- generated_from_trainer
|
|
|
|
|
|
|
| 5 |
metrics:
|
| 6 |
- accuracy
|
| 7 |
- f1
|
|
|
|
| 98 |
|
| 99 |
### Training results
|
| 100 |
|
| 101 |
+
| Training Loss | Epoch | Step | Validation Loss | Accuracy | Weighted F1 | Micro F1 | Macro F1 | Weighted Recall | Micro Recall | Macro Recall | Weighted Precision | Micro Precision | Macro Precision |
|
| 102 |
|:-------------:|:-----:|:----:|:---------------:|:--------:|:-----------:|:--------:|:--------:|:---------------:|:------------:|:------------:|:------------------:|:---------------:|:---------------:|
|
| 103 |
| 1.3357 | 1.0 | 180 | 1.5273 | 0.7183 | 0.6631 | 0.7183 | 0.6695 | 0.7183 | 0.7183 | 0.7058 | 0.8219 | 0.7183 | 0.8420 |
|
| 104 |
| 1.3357 | 2.0 | 360 | 1.9359 | 0.7792 | 0.7314 | 0.7792 | 0.7411 | 0.7792 | 0.7792 | 0.7764 | 0.8467 | 0.7792 | 0.8636 |
|