nehulagrawal commited on
Commit
015852f
1 Parent(s): e590346

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +65 -18
README.md CHANGED
@@ -25,13 +25,13 @@ model-index:
25
  value: 0.835
26
  name: Top1_acc
27
  ---
28
- #Welcome to the repository of our state-of-the-art image classification model, uniquely fine-tuned on the robust architecture of YOLOv8s, tailored to distinguish between defective and good tires with unprecedented accuracy.
29
 
30
  # Model Details
31
 
32
  ## Model Description
33
 
34
- Our model leverages the cutting-edge capabilities of YOLOv8s, renowned for its speed and precision in object detection, which has been meticulously fine-tuned for the specific domain of tire quality assessment. This model emerges as an indispensable tool for automating quality control in tire manufacturing, ensuring that every tire meets the highest standards of safety and performance.
35
 
36
  - **Developed by:** FODUU AI
37
  - **Model type:** Image Classification
@@ -46,23 +46,40 @@ Our model leverages the cutting-edge capabilities of YOLOv8s, renowned for its s
46
 
47
 
48
  ## Key Features:
49
- - High Precision Classification: Classifies tires with a high degree of accuracy, reducing the margin of error significantly compared to traditional methods.
50
  - Rapid Assessment: Optimized for quick image processing, allowing for real-time quality control on the production line.
51
- - Robust Training: Trained on a diverse dataset of tire images, capturing a wide range of defects to ensure reliability in various operational environments.
52
  - Easy Integration: Designed to seamlessly fit into existing manufacturing systems, facilitating a smooth transition from manual to automated quality assessment.
53
 
54
- ## How to Use This Model
55
- This model is hosted on Hugging Face, making it incredibly easy to integrate and deploy. You can directly use our pre-trained model for classifying your tire images by following the instructions in our usage documentation.
56
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
57
 
 
 
58
 
59
- ## Potential Applications
60
- - Manufacturing Quality Control: Streamline the process of identifying defective tires, ensuring that only the best-quality products reach the market.
61
- - Safety Compliance: Assist in meeting rigorous safety standards by detecting flaws that could compromise tire integrity.
62
- - Automotive Service Centers: Provide quick and reliable tire checks, enhancing customer service and safety.
63
- - Research and Development: Aid in the analysis of tire wear and degradation, contributing to the development of longer-lasting tire materials.
64
 
65
- ## Getting Started
 
 
 
 
66
 
67
  ```bash
68
  pip install ultralyticsplus==0.0.28 ultralytics==8.0.43
@@ -70,7 +87,6 @@ pip install ultralyticsplus==0.0.28 ultralytics==8.0.43
70
 
71
  ```python
72
  from ultralyticsplus import YOLO, render_result
73
- import cv2
74
 
75
  # load model
76
  model = YOLO('foduucom/Tyre-Quality-Classification')
@@ -82,13 +98,44 @@ model.overrides['agnostic_nms'] = False # NMS class-agnostic
82
  model.overrides['max_det'] = 1000 # maximum number of detections per image
83
 
84
  # set image
85
- image = '/path/to/your/document/images'
86
 
87
  # perform inference
88
  results = model.predict(image)
89
 
90
  # observe results
91
- print(results[0].boxes)
92
- render = render_result(model=model, image=image, result=results[0])
93
- render.show()
94
- ```
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
25
  value: 0.835
26
  name: Top1_acc
27
  ---
28
+ #Welcome to the repository of our state-of-the-art image classification model, uniquely fine-tuned on the robust architecture of YOLOv8s, tailored to distinguish between defective and good tyres with unprecedented accuracy.
29
 
30
  # Model Details
31
 
32
  ## Model Description
33
 
34
+ Our model leverages the cutting-edge capabilities of YOLOv8s, renowned for its speed and precision in object detection, which has been meticulously fine-tuned for the specific domain of tyre quality assessment. This model emerges as an indispensable tool for automating quality control in tyre manufacturing, ensuring that every tyre meets the highest standards of safety and performance.
35
 
36
  - **Developed by:** FODUU AI
37
  - **Model type:** Image Classification
 
46
 
47
 
48
  ## Key Features:
49
+ - High Precision Classification: Classifies tyres with a high degree of accuracy, reducing the margin of error significantly compared to traditional methods.
50
  - Rapid Assessment: Optimized for quick image processing, allowing for real-time quality control on the production line.
51
+ - Robust Training: Trained on a diverse dataset of tyre images, capturing a wide range of defects to ensure reliability in various operational environments.
52
  - Easy Integration: Designed to seamlessly fit into existing manufacturing systems, facilitating a smooth transition from manual to automated quality assessment.
53
 
 
 
54
 
55
+ # Model Training Details
56
+
57
+ ## Dataset Description
58
+ Our model was trained on a comprehensive and proprietary dataset consisting of several images, each meticulously labeled as 'defective' or 'good'. The dataset encompasses a variety of tyre types and conditions to ensure broad applicability and robustness. It includes:
59
+
60
+ Images of good tyres: High-quality images captured under various lighting and background conditions to simulate real-world scenarios.
61
+ Images of defective tyres: A diverse range of defects such as tread wear, sidewall bulges, and punctures, among others, were included to train the model effectively.
62
+
63
+ ## Preprocessing Steps
64
+ Prior to training, we applied several preprocessing steps to standardize the dataset and enhance model performance:
65
+
66
+
67
+ Augmentation: To increase the robustness of our model, we applied random rotations, flips, and color adjustments to simulate a variety of conditions.
68
+ Normalization: Pixel values were normalized to aid in the model's faster convergence during training.
69
 
70
+ ## Training Procedure
71
+ The model was trained using the following procedure:
72
 
73
+ Base Model: We used the YOLOv8s-cls pre-trained on the COCO dataset as our starting point.
74
+ Fine-Tuning: The model was then fine-tuned on our specific tyre image dataset, indicating optimal learning.
75
+ Batch Size: A particular batch size was employed to make the best use of our GPU memory resources.
76
+ Optimizer: SGD optimizer was used for its fast convergence properties.
 
77
 
78
+
79
+ ## How to Use This Model
80
+ This model is hosted on Hugging Face, making it incredibly easy to integrate and deploy. You can directly use our pre-trained model for classifying your tyre images by following the instructions in our usage documentation.
81
+
82
+ ### Getting Started
83
 
84
  ```bash
85
  pip install ultralyticsplus==0.0.28 ultralytics==8.0.43
 
87
 
88
  ```python
89
  from ultralyticsplus import YOLO, render_result
 
90
 
91
  # load model
92
  model = YOLO('foduucom/Tyre-Quality-Classification')
 
98
  model.overrides['max_det'] = 1000 # maximum number of detections per image
99
 
100
  # set image
101
+ image = '/path/to/your/document/image'
102
 
103
  # perform inference
104
  results = model.predict(image)
105
 
106
  # observe results
107
+ top_class_index = results[0].probs.top1
108
+ Class = model.names[top_class_index]
109
+ print(Class)
110
+
111
+ ```
112
+
113
+
114
+
115
+ ## Performance Metrics
116
+ Our model achieved the following performance metrix on the test set:
117
+
118
+ - Accuracy: 83.5%
119
+ This metrix demonstrate the model's reliability in correctly classifying tyres as defective or good.
120
+ Hardware and Software
121
+ Training Environment: The model was trained on a machine with an NVIDIA RTX 3060 GPU, 32GB RAM, and an AMD Ryzen 5 processor.
122
+
123
+
124
+ ### Support and Contributions
125
+ We are committed to the continuous improvement of our model and welcome contributions from the community. If you encounter any issues or would like to contribute, please refer to our contribution guidelines.
126
+
127
+ ### Stay Updated
128
+ Don't forget to ⭐ this repository if you find this model useful! Follow this repo to stay updated with the latest enhancements and releases.
129
+
130
+ Start harnessing the power of AI for tyre defect detection today – Download and integrate our fine-tuned YOLOv8s model now!
131
+
132
+
133
+ ```bibtex
134
+ @ModelCard{
135
+ author = {Nehul Agrawal, Rishabh Karnawat and
136
+ Rahul parihar},
137
+ title = {Fine-Tuned YOLOv8s for Tyre Defect Detection},
138
+ year = {2023}
139
+ }
140
+ ```
141
+