Jadzix commited on
Commit
90f607b
·
verified ·
1 Parent(s): 5f68c96

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +59 -3
README.md CHANGED
@@ -1,3 +1,59 @@
1
- ---
2
- license: mit
3
- ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: mit
3
+ language:
4
+ - en
5
+ tags:
6
+ - materials_engineering
7
+ - materials
8
+ - steel
9
+ ---
10
+ # UHCS Microstructure CNN Classifier
11
+
12
+ A CNN model for classifying ultra-high carbon steel (UHCS) microstructures from microscopy images.
13
+
14
+ ## Model Description
15
+
16
+ Trained on the UHCS Microstructure dataset (Kaggle). Classifies grayscale microscopy images into 4 classes:
17
+ - spheroidite
18
+ - network
19
+ - pearlite
20
+ - martensite
21
+
22
+ ## Architecture
23
+
24
+ - 3 convolutional blocks (16/32/64 filters)
25
+ - MaxPooling after each block
26
+ - Fully connected layers (16384 -> 256 -> 4)
27
+ - Dropout (p=0.5)
28
+ - Input size: 128x128 grayscale
29
+
30
+ ## Performance
31
+
32
+ | Model | Test Accuracy |
33
+ |---|---|
34
+ | Logistic Regression (baseline) | 51.3% |
35
+ | **CNN** | **84.7%** |
36
+
37
+ ## Usage
38
+
39
+ Model was trained with PyTorch. To load:
40
+ ```python
41
+ import torch
42
+ model = MicrostructureCNN()
43
+ model.load_state_dict(torch.load("best_model.pth"))
44
+ model.eval()
45
+ ```
46
+
47
+ ## Dataset
48
+
49
+ [UHCS Microstructure dataset on Kaggle](https://www.kaggle.com/datasets/sagarupsc/uhcs-microstructure-01)
50
+
51
+ ## Full Project
52
+
53
+ Full code and notebook available on [GitHub](https://github.com/xJadzix/microstructure-classification).
54
+
55
+ ---
56
+ license: mit
57
+ language:
58
+ - en
59
+ ---