# FilAdh models

Four TorchScript weights are required for inference:

| File | Purpose |
| --- | --- |
| `fa_enhancement_jdll.pt` | Focal adhesion enhancement |
| `fa_segmentation_jdll.pt` | Focal adhesion segmentation |
| `sf_mask_tangent_jdll.pt` | Actin mask and tangent prediction |
| `filament_classifier_jdll.pt` | Filament classification |

The model bytes are distributed as `FilAdh-models-4.2.0.zip` in [GitHub Releases](https://github.com/GolpedeRemo37/FilAdh/releases) once the assets are attached. Extract the archive into the Fiji application directory, preserving `models/FilAdhExact/`. Update Site installations receive these resources automatically after publication.

`SHA256SUMS.txt` verifies the four original weight files; `MODEL_MANIFEST.json` records their export metadata. That original manifest describes the model export, including its historical Java target; FilAdh 4.2.0 itself requires Java 21–25. Building the Java sources does not require the weights.

With GitHub CLI, after the release exists:

```sh
gh release download v4.2.0 --repo GolpedeRemo37/FilAdh --pattern "FilAdh-models-4.2.0.zip*"
```

## License and attribution

The four model weights are licensed under **Creative Commons Attribution 4.0 International (CC-BY-4.0)** by the FilAdh authors. See [LICENSE.txt](LICENSE.txt).

Suggested attribution: **FilAdh model weights — FilAdh authors, https://github.com/GolpedeRemo37/FilAdh, licensed under CC-BY-4.0 (https://creativecommons.org/licenses/by/4.0/).** Indicate any changes to the weights. This attribution identifies the software project; it does not replace citation of the associated research publication when available.

The Java plugin is licensed separately under GPL-3.0-or-later. Model export metadata and checksums do not change the declared weight license.
