Update README.md
Browse files
README.md
CHANGED
|
@@ -67,14 +67,16 @@ A higher emphasis is given to **L1 loss**, ensuring that overall brightness and
|
|
| 67 |
| **Perceptual Loss (VGG)** | Feature loss from `conv5_block4` of pretrained VGG-19 | **10** | Captures high-level texture and semantic alignment |
|
| 68 |
| **Adversarial Loss** | Binary cross-entropy loss from PatchGAN discriminator | **1** | Encourages realistic IR texture generation |
|
| 69 |
| **Edge Loss** | Sobel/gradient difference between real & generated images | **5** | Enhances sharpness and edge clarity |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 70 |
The **total generator loss** is computed as:
|
| 71 |
\[
|
| 72 |
L_{G} = \lambda_{L1}\,L_{L1} + \lambda_{\text{perc}}\,L_{\text{perc}} + \lambda_{\text{adv}}\,L_{\text{adv}} + \lambda_{\text{edge}}\,L_{\text{edge}}
|
| 73 |
\]
|
| 74 |
|
| 75 |
|
| 76 |
-
---
|
| 77 |
-
|
| 78 |
## Evaluation Metrics
|
| 79 |
|
| 80 |
| Metric | Definition | Result |
|
|
|
|
| 67 |
| **Perceptual Loss (VGG)** | Feature loss from `conv5_block4` of pretrained VGG-19 | **10** | Captures high-level texture and semantic alignment |
|
| 68 |
| **Adversarial Loss** | Binary cross-entropy loss from PatchGAN discriminator | **1** | Encourages realistic IR texture generation |
|
| 69 |
| **Edge Loss** | Sobel/gradient difference between real & generated images | **5** | Enhances sharpness and edge clarity |
|
| 70 |
+
|
| 71 |
+
|
| 72 |
+
---
|
| 73 |
+
|
| 74 |
The **total generator loss** is computed as:
|
| 75 |
\[
|
| 76 |
L_{G} = \lambda_{L1}\,L_{L1} + \lambda_{\text{perc}}\,L_{\text{perc}} + \lambda_{\text{adv}}\,L_{\text{adv}} + \lambda_{\text{edge}}\,L_{\text{edge}}
|
| 77 |
\]
|
| 78 |
|
| 79 |
|
|
|
|
|
|
|
| 80 |
## Evaluation Metrics
|
| 81 |
|
| 82 |
| Metric | Definition | Result |
|