coding commited on
Update README.md
Browse files
README.md
CHANGED
|
@@ -1,3 +1,55 @@
|
|
| 1 |
-
---
|
| 2 |
-
license:
|
| 3 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: mit
|
| 3 |
+
tags:
|
| 4 |
+
- pytorch
|
| 5 |
+
- mechanistic-interpretability
|
| 6 |
+
- gravitational-lensing
|
| 7 |
+
- physics-informed
|
| 8 |
+
- equivariant
|
| 9 |
+
- computer-vision
|
| 10 |
+
- d4-symmetry
|
| 11 |
+
---
|
| 12 |
+
|
| 13 |
+
# D4LensPINN Weights
|
| 14 |
+
|
| 15 |
+
This repository contains the trained checkpoints for the D4LensPINN
|
| 16 |
+
gravitational lens classification model and its ResNet-18 baseline.
|
| 17 |
+
|
| 18 |
+
## Checkpoints
|
| 19 |
+
|
| 20 |
+
- `d4phase2best.pth`: Best D4LensPINN checkpoint.
|
| 21 |
+
- `resnet18baseline_best.pth`: ResNet-18 baseline checkpoint.
|
| 22 |
+
|
| 23 |
+
## Intended Use
|
| 24 |
+
|
| 25 |
+
These weights are provided for reproducibility and research use in
|
| 26 |
+
mechanistic interpretability experiments on hybrid physics-ML
|
| 27 |
+
architectures.
|
| 28 |
+
|
| 29 |
+
## Notes
|
| 30 |
+
|
| 31 |
+
- Inputs are 150×150 grayscale images.
|
| 32 |
+
- D4LensPINN expects the full physics pipeline described in the paper.
|
| 33 |
+
- The checkpoint files are not meant to be used as standalone generic
|
| 34 |
+
image classifiers without the corresponding model code.
|
| 35 |
+
|
| 36 |
+
## Loading
|
| 37 |
+
|
| 38 |
+
Example:
|
| 39 |
+
|
| 40 |
+
```python
|
| 41 |
+
import torch
|
| 42 |
+
|
| 43 |
+
ckpt = torch.load("d4phase2best.pth", map_location="cpu")
|
| 44 |
+
```
|
| 45 |
+
|
| 46 |
+
The exact model class definitions must match the training code used to
|
| 47 |
+
create the checkpoints.
|
| 48 |
+
|
| 49 |
+
## Reproducibility
|
| 50 |
+
|
| 51 |
+
If you use these weights, please cite the associated paper.
|
| 52 |
+
|
| 53 |
+
## License
|
| 54 |
+
|
| 55 |
+
Apache-2.0 License.
|