Instructions to use intelli-zen/detr_cppe5_object_detection with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use intelli-zen/detr_cppe5_object_detection with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("object-detection", model="intelli-zen/detr_cppe5_object_detection")# Load model directly from transformers import AutoImageProcessor, AutoModelForObjectDetection processor = AutoImageProcessor.from_pretrained("intelli-zen/detr_cppe5_object_detection") model = AutoModelForObjectDetection.from_pretrained("intelli-zen/detr_cppe5_object_detection", device_map="auto") - Notebooks
- Google Colab
- Kaggle
| license: apache-2.0 | |
| base_model: qgyd2021/detr_cppe5_object_detection | |
| tags: | |
| - generated_from_trainer | |
| datasets: | |
| - cppe5 | |
| model-index: | |
| - name: detr_cppe5_object_detection | |
| results: [] | |
| <!-- This model card has been generated automatically according to the information the Trainer had access to. You | |
| should probably proofread and complete it, then remove this comment. --> | |
| # detr_cppe5_object_detection | |
| This model is a fine-tuned version of [qgyd2021/detr_cppe5_object_detection](https://huggingface.co/qgyd2021/detr_cppe5_object_detection) on the cppe5 dataset. | |
| It achieves the following results on the evaluation set: | |
| - Loss: 1.0644 | |
| ## Model description | |
| More information needed | |
| ## Intended uses & limitations | |
| More information needed | |
| ## Training and evaluation data | |
| More information needed | |
| ## Training procedure | |
| ### Training hyperparameters | |
| The following hyperparameters were used during training: | |
| - learning_rate: 1e-05 | |
| - train_batch_size: 8 | |
| - eval_batch_size: 8 | |
| - seed: 42 | |
| - distributed_type: multi-GPU | |
| - num_devices: 2 | |
| - total_train_batch_size: 16 | |
| - total_eval_batch_size: 16 | |
| - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08 | |
| - lr_scheduler_type: linear | |
| - num_epochs: 200 | |
| ### Training results | |
| | Training Loss | Epoch | Step | Validation Loss | | |
| |:-------------:|:-----:|:----:|:---------------:| | |
| | 0.8107 | 3.17 | 200 | 1.0516 | | |
| | 0.8031 | 6.35 | 400 | 1.1292 | | |
| | 0.7474 | 9.52 | 600 | 1.1179 | | |
| | 0.7315 | 12.7 | 800 | 1.0198 | | |
| | 0.7605 | 15.87 | 1000 | 1.0427 | | |
| | 0.7611 | 19.05 | 1200 | 1.0867 | | |
| | 0.7377 | 22.22 | 1400 | 1.1264 | | |
| | 0.7303 | 25.4 | 1600 | 1.1137 | | |
| | 0.6692 | 28.57 | 1800 | 1.0644 | | |
| ### Framework versions | |
| - Transformers 4.33.0 | |
| - Pytorch 2.0.0 | |
| - Datasets 2.1.0 | |
| - Tokenizers 0.13.3 | |