gphua1 commited on
Commit
9acad1d
·
verified ·
1 Parent(s): dcc3063

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +79 -0
README.md ADDED
@@ -0,0 +1,79 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ tags:
3
+ - image-classification
4
+ - defect-detection
5
+ - quality-control
6
+ - pytorch
7
+ - vision
8
+ library_name: pytorch
9
+ pipeline_tag: image-classification
10
+ ---
11
+
12
+ # RKLB Component Defect Detection Model
13
+
14
+ ## Model Description
15
+
16
+ This model is designed for automated quality control in manufacturing, specifically for detecting defects in components.
17
+
18
+ - **Task**: Binary Image Classification (Normal vs Defective)
19
+ - **Architecture**: efficient_vit
20
+ - **Input Size**: 224x224 RGB images
21
+ - **Classes**: Normal, Defective
22
+ - **Accuracy**: 97.5%
23
+
24
+ ## Usage
25
+
26
+ ### With the RKLB Defect Detection Space
27
+
28
+ The easiest way to use this model is through the [RKLB Materials Space](https://huggingface.co/spaces/gphua1/rklb_materials).
29
+
30
+ ### Programmatic Usage
31
+
32
+ ```python
33
+ from huggingface_hub import hf_hub_download
34
+ import torch
35
+
36
+ # Download model
37
+ model_path = hf_hub_download(
38
+ repo_id="gphua1/rklb-defect-model",
39
+ filename="best_model.pth"
40
+ )
41
+
42
+ # Load model
43
+ checkpoint = torch.load(model_path, map_location='cpu')
44
+ # ... initialize your model architecture and load weights
45
+ ```
46
+
47
+ ## Training Details
48
+
49
+ - Framework: PyTorch
50
+ - Model Type: Vision Transformer (ViT) variant
51
+ - Training Data: Manufacturing component images
52
+ - Task: Binary classification for quality control
53
+
54
+ ## Intended Use
55
+
56
+ This model is intended for:
57
+ - Automated quality inspection in manufacturing
58
+ - Component defect detection
59
+ - Production line quality control
60
+ - Training data augmentation for quality systems
61
+
62
+ ## Limitations
63
+
64
+ - Designed for specific component types
65
+ - Best performance on similar lighting conditions as training data
66
+ - Binary classification only (normal/defective)
67
+
68
+ ## Citation
69
+
70
+ If you use this model, please cite:
71
+ ```
72
+ @misc{rklb-defect-model,
73
+ author = {Gary Phua},
74
+ title = {RKLB Component Defect Detection Model},
75
+ year = {2024},
76
+ publisher = {HuggingFace},
77
+ url = {https://huggingface.co/gphua1/rklb-defect-model}
78
+ }
79
+ ```