Object Detection
Transformers
Safetensors
rt_detr
pill-detection
medical
rt-detr
computer-vision
counting
healthcare
Eval Results (legacy)
Instructions to use SARANGx/rtdetr-pill-detector with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use SARANGx/rtdetr-pill-detector with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("object-detection", model="SARANGx/rtdetr-pill-detector")# Load model directly from transformers import AutoImageProcessor, AutoModelForObjectDetection processor = AutoImageProcessor.from_pretrained("SARANGx/rtdetr-pill-detector") model = AutoModelForObjectDetection.from_pretrained("SARANGx/rtdetr-pill-detector", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Training complete - RT-DETR R18 pill detector, 20 epochs
Browse files- README.md +24 -24
- model.safetensors +1 -1
- training_args.bin +2 -2
README.md
CHANGED
|
@@ -16,7 +16,7 @@ should probably proofread and complete it, then remove this comment. -->
|
|
| 16 |
|
| 17 |
This model is a fine-tuned version of [PekingU/rtdetr_r18vd_coco_o365](https://huggingface.co/PekingU/rtdetr_r18vd_coco_o365) on an unknown dataset.
|
| 18 |
It achieves the following results on the evaluation set:
|
| 19 |
-
- Loss:
|
| 20 |
|
| 21 |
## Model description
|
| 22 |
|
|
@@ -36,38 +36,38 @@ More information needed
|
|
| 36 |
|
| 37 |
The following hyperparameters were used during training:
|
| 38 |
- learning_rate: 5e-05
|
| 39 |
-
- train_batch_size:
|
| 40 |
-
- eval_batch_size:
|
| 41 |
- seed: 42
|
| 42 |
- optimizer: Use OptimizerNames.ADAMW_TORCH_FUSED with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
|
| 43 |
- lr_scheduler_type: cosine
|
| 44 |
-
- lr_scheduler_warmup_steps:
|
| 45 |
- num_epochs: 20
|
| 46 |
|
| 47 |
### Training results
|
| 48 |
|
| 49 |
| Training Loss | Epoch | Step | Validation Loss |
|
| 50 |
|:-------------:|:-----:|:----:|:---------------:|
|
| 51 |
-
|
|
| 52 |
-
|
|
| 53 |
-
|
|
| 54 |
-
|
|
| 55 |
-
| 8.
|
| 56 |
-
|
|
| 57 |
-
|
|
| 58 |
-
|
|
| 59 |
-
| 6.
|
| 60 |
-
| 6.
|
| 61 |
-
| 5.
|
| 62 |
-
| 5.
|
| 63 |
-
|
|
| 64 |
-
|
|
| 65 |
-
| 5.
|
| 66 |
-
| 5.
|
| 67 |
-
| 5.
|
| 68 |
-
|
|
| 69 |
-
| 5.
|
| 70 |
-
| 5.
|
| 71 |
|
| 72 |
|
| 73 |
### Framework versions
|
|
|
|
| 16 |
|
| 17 |
This model is a fine-tuned version of [PekingU/rtdetr_r18vd_coco_o365](https://huggingface.co/PekingU/rtdetr_r18vd_coco_o365) on an unknown dataset.
|
| 18 |
It achieves the following results on the evaluation set:
|
| 19 |
+
- Loss: 3.5814
|
| 20 |
|
| 21 |
## Model description
|
| 22 |
|
|
|
|
| 36 |
|
| 37 |
The following hyperparameters were used during training:
|
| 38 |
- learning_rate: 5e-05
|
| 39 |
+
- train_batch_size: 8
|
| 40 |
+
- eval_batch_size: 8
|
| 41 |
- seed: 42
|
| 42 |
- optimizer: Use OptimizerNames.ADAMW_TORCH_FUSED with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
|
| 43 |
- lr_scheduler_type: cosine
|
| 44 |
+
- lr_scheduler_warmup_steps: 50
|
| 45 |
- num_epochs: 20
|
| 46 |
|
| 47 |
### Training results
|
| 48 |
|
| 49 |
| Training Loss | Epoch | Step | Validation Loss |
|
| 50 |
|:-------------:|:-----:|:----:|:---------------:|
|
| 51 |
+
| 36.6133 | 1.0 | 40 | 25.6964 |
|
| 52 |
+
| 16.9363 | 2.0 | 80 | 10.3644 |
|
| 53 |
+
| 13.2576 | 3.0 | 120 | 7.4604 |
|
| 54 |
+
| 11.2193 | 4.0 | 160 | 6.0646 |
|
| 55 |
+
| 8.5718 | 5.0 | 200 | 5.2125 |
|
| 56 |
+
| 8.3696 | 6.0 | 240 | 4.8302 |
|
| 57 |
+
| 7.5242 | 7.0 | 280 | 4.4670 |
|
| 58 |
+
| 7.0528 | 8.0 | 320 | 4.0657 |
|
| 59 |
+
| 6.3887 | 9.0 | 360 | 3.8813 |
|
| 60 |
+
| 6.3234 | 10.0 | 400 | 3.7910 |
|
| 61 |
+
| 5.9830 | 11.0 | 440 | 3.6750 |
|
| 62 |
+
| 5.8632 | 12.0 | 480 | 3.5891 |
|
| 63 |
+
| 6.7105 | 13.0 | 520 | 3.7327 |
|
| 64 |
+
| 5.4882 | 14.0 | 560 | 3.5292 |
|
| 65 |
+
| 5.5451 | 15.0 | 600 | 3.5306 |
|
| 66 |
+
| 5.3121 | 16.0 | 640 | 3.5427 |
|
| 67 |
+
| 5.2448 | 17.0 | 680 | 3.5641 |
|
| 68 |
+
| 5.3653 | 18.0 | 720 | 3.6307 |
|
| 69 |
+
| 5.3143 | 19.0 | 760 | 3.5280 |
|
| 70 |
+
| 5.7803 | 20.0 | 800 | 3.5814 |
|
| 71 |
|
| 72 |
|
| 73 |
### Framework versions
|
model.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 80539488
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:04066119b4e46eaae24d574aef40792b4d242bc4ed8904c5831a006cfeb80515
|
| 3 |
size 80539488
|
training_args.bin
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:2df32deb97154fb09b69fe5229692409299f9b7946b277c08936b8c62ba936a0
|
| 3 |
+
size 5329
|