Update README.md
Browse files
README.md
CHANGED
|
@@ -17,23 +17,13 @@ Paper: [arXiv:2606.22285](https://arxiv.org/abs/2606.22285) 路 Code: <https://gi
|
|
| 17 |
|
| 18 |
## Weights
|
| 19 |
|
| 20 |
-
One folder per training protocol of the paper. Each folder contains the weights
|
| 21 |
-
state_dict exported with `training/export_weights.py`) and the training config (`diffnet.yaml`).
|
| 22 |
|
| 23 |
| Folder | Protocol | Inference input size | Status |
|
| 24 |
|---|---|---|---|
|
| 25 |
| `doc_protocol/` | Doc Protocol: trained on the DocTamper training set (512x512); tested on the DocTamper test sets and on T-SROIE, OSTF, Tampered-IC13, RealTextManipulation | 512 | coming soon |
|
| 26 |
-
| `tdoc_protocol/` | Syn2Real-TDoc protocol: trained on TDoc-2.8M (1024x1024) from the `doc_protocol/` weights; tested
|
| 27 |
|
| 28 |
-
## Download
|
| 29 |
-
|
| 30 |
-
```python
|
| 31 |
-
from huggingface_hub import hf_hub_download
|
| 32 |
-
|
| 33 |
-
repo_id = "MohamedDhouib1/DiffNet"
|
| 34 |
-
weights = hf_hub_download(repo_id, "doc_protocol/diffnet_doc_protocol.safetensors")
|
| 35 |
-
config = hf_hub_download(repo_id, "doc_protocol/diffnet.yaml")
|
| 36 |
-
```
|
| 37 |
|
| 38 |
## Inference
|
| 39 |
|
|
|
|
| 17 |
|
| 18 |
## Weights
|
| 19 |
|
| 20 |
+
One folder per training protocol of the paper. Each folder contains the weights and the training config.
|
|
|
|
| 21 |
|
| 22 |
| Folder | Protocol | Inference input size | Status |
|
| 23 |
|---|---|---|---|
|
| 24 |
| `doc_protocol/` | Doc Protocol: trained on the DocTamper training set (512x512); tested on the DocTamper test sets and on T-SROIE, OSTF, Tampered-IC13, RealTextManipulation | 512 | coming soon |
|
| 25 |
+
| `tdoc_protocol/` | Syn2Real-TDoc protocol: trained on TDoc-2.8M (1024x1024) from the `doc_protocol/` weights; tested on RTM, FindItAgain, FindIt | 1024 | coming soon |
|
| 26 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 27 |
|
| 28 |
## Inference
|
| 29 |
|