eigenvivek commited on
Commit
daebc0c
·
0 Parent(s):

Upload final models

Browse files
Files changed (45) hide show
  1. .gitattributes +35 -0
  2. README.md +45 -0
  3. deepfluoro/de_novo/subject01.pth +3 -0
  4. deepfluoro/de_novo/subject02.pth +3 -0
  5. deepfluoro/de_novo/subject03.pth +3 -0
  6. deepfluoro/de_novo/subject04.pth +3 -0
  7. deepfluoro/de_novo/subject05.pth +3 -0
  8. deepfluoro/de_novo/subject06.pth +3 -0
  9. deepfluoro/finetuned/subject01.pth +3 -0
  10. deepfluoro/finetuned/subject02.pth +3 -0
  11. deepfluoro/finetuned/subject03.pth +3 -0
  12. deepfluoro/finetuned/subject04.pth +3 -0
  13. deepfluoro/finetuned/subject05.pth +3 -0
  14. deepfluoro/finetuned/subject06.pth +3 -0
  15. femur/de_novo/subject01.pth +3 -0
  16. femur/de_novo/subject02.pth +3 -0
  17. femur/de_novo/subject03.pth +3 -0
  18. femur/de_novo/subject04.pth +3 -0
  19. femur/de_novo/subject05.pth +3 -0
  20. femur/finetuned/subject01.pth +3 -0
  21. femur/finetuned/subject02.pth +3 -0
  22. femur/finetuned/subject03.pth +3 -0
  23. femur/finetuned/subject04.pth +3 -0
  24. femur/finetuned/subject05.pth +3 -0
  25. ljubljana/de_novo/subject01.pth +3 -0
  26. ljubljana/de_novo/subject02.pth +3 -0
  27. ljubljana/de_novo/subject03.pth +3 -0
  28. ljubljana/de_novo/subject04.pth +3 -0
  29. ljubljana/de_novo/subject05.pth +3 -0
  30. ljubljana/de_novo/subject06.pth +3 -0
  31. ljubljana/de_novo/subject07.pth +3 -0
  32. ljubljana/de_novo/subject08.pth +3 -0
  33. ljubljana/de_novo/subject09.pth +3 -0
  34. ljubljana/de_novo/subject10.pth +3 -0
  35. ljubljana/finetuned/subject01.pth +3 -0
  36. ljubljana/finetuned/subject02.pth +3 -0
  37. ljubljana/finetuned/subject03.pth +3 -0
  38. ljubljana/finetuned/subject04.pth +3 -0
  39. ljubljana/finetuned/subject05.pth +3 -0
  40. ljubljana/finetuned/subject06.pth +3 -0
  41. ljubljana/finetuned/subject07.pth +3 -0
  42. ljubljana/finetuned/subject08.pth +3 -0
  43. ljubljana/finetuned/subject09.pth +3 -0
  44. ljubljana/finetuned/subject10.pth +3 -0
  45. wbct/model.pth +3 -0
.gitattributes ADDED
@@ -0,0 +1,35 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ *.7z filter=lfs diff=lfs merge=lfs -text
2
+ *.arrow filter=lfs diff=lfs merge=lfs -text
3
+ *.bin filter=lfs diff=lfs merge=lfs -text
4
+ *.bz2 filter=lfs diff=lfs merge=lfs -text
5
+ *.ckpt filter=lfs diff=lfs merge=lfs -text
6
+ *.ftz filter=lfs diff=lfs merge=lfs -text
7
+ *.gz filter=lfs diff=lfs merge=lfs -text
8
+ *.h5 filter=lfs diff=lfs merge=lfs -text
9
+ *.joblib filter=lfs diff=lfs merge=lfs -text
10
+ *.lfs.* filter=lfs diff=lfs merge=lfs -text
11
+ *.mlmodel filter=lfs diff=lfs merge=lfs -text
12
+ *.model filter=lfs diff=lfs merge=lfs -text
13
+ *.msgpack filter=lfs diff=lfs merge=lfs -text
14
+ *.npy filter=lfs diff=lfs merge=lfs -text
15
+ *.npz filter=lfs diff=lfs merge=lfs -text
16
+ *.onnx filter=lfs diff=lfs merge=lfs -text
17
+ *.ot filter=lfs diff=lfs merge=lfs -text
18
+ *.parquet filter=lfs diff=lfs merge=lfs -text
19
+ *.pb filter=lfs diff=lfs merge=lfs -text
20
+ *.pickle filter=lfs diff=lfs merge=lfs -text
21
+ *.pkl filter=lfs diff=lfs merge=lfs -text
22
+ *.pt filter=lfs diff=lfs merge=lfs -text
23
+ *.pth filter=lfs diff=lfs merge=lfs -text
24
+ *.rar filter=lfs diff=lfs merge=lfs -text
25
+ *.safetensors filter=lfs diff=lfs merge=lfs -text
26
+ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
27
+ *.tar.* filter=lfs diff=lfs merge=lfs -text
28
+ *.tar filter=lfs diff=lfs merge=lfs -text
29
+ *.tflite filter=lfs diff=lfs merge=lfs -text
30
+ *.tgz filter=lfs diff=lfs merge=lfs -text
31
+ *.wasm filter=lfs diff=lfs merge=lfs -text
32
+ *.xz filter=lfs diff=lfs merge=lfs -text
33
+ *.zip filter=lfs diff=lfs merge=lfs -text
34
+ *.zst filter=lfs diff=lfs merge=lfs -text
35
+ *tfevents* filter=lfs diff=lfs merge=lfs -text
README.md ADDED
@@ -0,0 +1,45 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: mit
3
+ library_name: pytorch
4
+ pipeline_tag: image-to-image
5
+ tags:
6
+ - medical-imaging
7
+ - registration
8
+ - 3d-registration
9
+ - x-ray
10
+ - ct
11
+ - mri
12
+ ---
13
+
14
+ # `xvr`: X-ray to Volume Registration
15
+
16
+ [![Paper shield](https://img.shields.io/badge/arXiv-2503.16309-red.svg)](https://arxiv.org/abs/2503.16309)
17
+ [![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](LICENSE)
18
+ <a href="https://colab.research.google.com/drive/1K9lBPxcLh55mr8o50Y7aHkjzjEWKPCrM?usp=sharing"><img alt="Colab" src="https://colab.research.google.com/assets/colab-badge.svg"></a>
19
+ <a href="https://huggingface.co/eigenvivek/xvr/tree/main" target="_blank"><img alt="Hugging Face" src="https://img.shields.io/badge/%F0%9F%A4%97%20Hugging%20Face-Models-ffc107?color=ffc107&logoColor=white"/></a>
20
+ <a href="https://huggingface.co/datasets/eigenvivek/xvr-data/tree/main" target="_blank"><img alt="Hugging Face" src="https://img.shields.io/badge/%F0%9F%A4%97%20Hugging%20Face-Data-ffc107?color=ffc107&logoColor=white"/></a>
21
+ [![uv](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/uv/main/assets/badge/v0.json)](https://github.com/astral-sh/uv)
22
+
23
+ **`xvr` is a PyTorch package for training, fine-tuning, and performing 2D/3D X-ray to CT/MR registration using pose regression models.** It provides a streamlined CLI and API for training patient-specific registration models efficiently. Key features include significantly faster training than comparable methods, submillimeter registration accuracy, and human-interpretable pose parameters.
24
+
25
+
26
+ <p align="center">
27
+ <img width="410" alt="image" src="https://github.com/user-attachments/assets/8a01c184-f6f1-420e-82b9-1cbe733adf7f" />
28
+ </p>
29
+
30
+ ## Key Features
31
+
32
+ - 🚀 Single CLI/API for training and registration.
33
+ - ⚡️ Significantly faster training than existing methods.
34
+ - 📐 Submillimeter registration accuracy.
35
+ - 🩺 Human-interpretable pose parameters.
36
+ - 🐍 Pure Python/PyTorch implementation.
37
+ - 🖥️ Cross-platform support (macOS, Linux, Windows).
38
+
39
+ `xvr` leverages [`DiffDRR`](https://github.com/eigenvivek/DiffDRR), the differentiable X-ray renderer.
40
+
41
+ ## Installation and Usage
42
+
43
+ This repository contains pretrained pose regression models to be run on public benchmarks datasets (reformatted into DICOM/NIfTI format) available [here](https://huggingface.co/datasets/eigenvivek/xvr-data/tree/main).
44
+
45
+ It also contains a foundation pose regression model (`wbct/model.pth`) intended to be quickly finetuned on new scans. Please refer to the [GitHub repository](https://github.com/eigenvivek/xvr) for detailed installation instructions, usage examples, and documentation on training, finetuning, and registration.
deepfluoro/de_novo/subject01.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:72a72e41a6f6fae52ef11b018409415ba7eb60e51b3e412baf79aad245b9f871
3
+ size 85184931
deepfluoro/de_novo/subject02.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c6717e1124a3fabaf04f2d6d6be0c11a213c568793242ba6ad3aa7a11fcb597a
3
+ size 85184931
deepfluoro/de_novo/subject03.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3aea815f91f24b25bbfeecfeb3c2388224cad3d19c1819b9448571d4c15dbf96
3
+ size 85184931
deepfluoro/de_novo/subject04.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:09e345b512fafebb9a5d17af0359cfc96bd5e03e105b05aab5eb77bd1b085076
3
+ size 85184931
deepfluoro/de_novo/subject05.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3c8647eb78ef0781f8755354f36c5bf4201a9dcc7ae5c62e4da4508b52d271da
3
+ size 85184931
deepfluoro/de_novo/subject06.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2831eb74fab3b765423afd206c61533c4bfe122ea924ca25adace2ad8dab2e86
3
+ size 85184931
deepfluoro/finetuned/subject01.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b23862fe499a1b7b8320011e53ab0298ae0fd7aaa0fef285c541412b9b9e368e
3
+ size 85184995
deepfluoro/finetuned/subject02.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:607290d410f259cca91f6f5e36a93975bfa67ea79cd6a08a359c2c53acafae8d
3
+ size 85184995
deepfluoro/finetuned/subject03.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8db72833ed05ac7415df208134ed3f02687e8318c7520d63fe75ff2fab71cc07
3
+ size 85184995
deepfluoro/finetuned/subject04.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:899bc2c7f0d94310afa3876a014c864f466f60ed1ff3a765adb17594bb3b6b02
3
+ size 85184995
deepfluoro/finetuned/subject05.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:71544f1cde8855e13b1d84a51edf43737471b08d2c7d7a5244711e7c20173c19
3
+ size 85184995
deepfluoro/finetuned/subject06.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:882d1ece89e12a563d0725c4c5cf7b319874b9dcd771ec37cab3abec53aab81d
3
+ size 85184995
femur/de_novo/subject01.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5d4fa3579a99255fc970894919a2e0964b395fe253bfa710fd5e823008dd0526
3
+ size 85184931
femur/de_novo/subject02.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6f42af4624af9e64a448da26216f61f9c4daa8b2ef0cb9b23929840eb2f1eb9c
3
+ size 85184931
femur/de_novo/subject03.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:311a69bac6c18b70941f692cd0607fd15a6d69ff92ad545f243672197bbbb3ec
3
+ size 85184931
femur/de_novo/subject04.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b2f778a4f5123a64db7c989cf65bdb47c77a6a9149f0d53feca21b4ef3d87f13
3
+ size 85184931
femur/de_novo/subject05.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:86007fd87f724e22edf28c6c3dc1bbabbd45f06654de378097277d7dfd18cee9
3
+ size 85184931
femur/finetuned/subject01.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:108088d9564e30cfa023fb233d7ef1b41deddd3785abce7b9dcee36599bf4d2b
3
+ size 85184995
femur/finetuned/subject02.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:73e42c06f7ad818c402b58d277274d33db8455e295f8613be68e215ca0c04b1a
3
+ size 85184995
femur/finetuned/subject03.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ce7d9496e4c045add3abb7cb76502486f1ff37ec65746510c9ab623c9bfe6348
3
+ size 85184995
femur/finetuned/subject04.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f0b2d69c6c039c120ae0ec8b9660d0494aae59fc7f8701d4e0b9e6ec9109caca
3
+ size 85184995
femur/finetuned/subject05.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:384d220f399480aebcb70582d637effb7354d34bc82eea9fd69ced5f109feece
3
+ size 85184995
ljubljana/de_novo/subject01.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a56a56fc0930b6071d834d26052fc94d9e2686bec1d9c0d60f6a9671dbe368a0
3
+ size 85184867
ljubljana/de_novo/subject02.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:18a3bf7c9ab75eee0edd1957c20ee8a2468abaa6d30ab9ef370c960de3b8ffa1
3
+ size 85184867
ljubljana/de_novo/subject03.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2094cee6696bf50616fd1929164677ed2feb652b15d4723447f44c7ceed9b574
3
+ size 85184867
ljubljana/de_novo/subject04.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f181c77bbd36d6311cfa1786cc645e04bdb806aa5b2d0d3a3f2c1c3f832f92c8
3
+ size 85184867
ljubljana/de_novo/subject05.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d75fa8a827cbe977cbae3c878878a10d3360ffddbb9dd7e64372694d5a82f95a
3
+ size 85184867
ljubljana/de_novo/subject06.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4e5337d14b706c33212c473bdf3627294e1e429da600f87ea9ff9d840000e633
3
+ size 85184867
ljubljana/de_novo/subject07.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b3b664752693b137e5b90ea14a656081e43a59e1d06bc0abb94085eac586a24b
3
+ size 85184867
ljubljana/de_novo/subject08.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a15b30baf02e69f58f5cd363e0dfd96029abcd12fb73d777e8d1cdc0e712d0b3
3
+ size 85184867
ljubljana/de_novo/subject09.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4d3bbfde3e74c103d04d7bcd2c89b22db46ee8c74ef49f45c92c60b4da2f801b
3
+ size 85184867
ljubljana/de_novo/subject10.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:cced3ee4563113ddfa8c7cd3123204a472f43601482755e714a155967afd3056
3
+ size 85184867
ljubljana/finetuned/subject01.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a351b600b86237ce6e4ba4bb09d474406b7cd9efd7d6a0655c5979209c27f071
3
+ size 85184931
ljubljana/finetuned/subject02.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3cd6c5757d1056066e1990876f92013b7eb90dcc8eb1a07f997d3228762858f6
3
+ size 85184931
ljubljana/finetuned/subject03.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:544faf9e8ffec62c97301b70769fd825c776df3807da79b3a13e69fce77dbeec
3
+ size 85184931
ljubljana/finetuned/subject04.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a7a185894209229d60d47f2cb41cefc6e21e33085eea99e5881df393082d92ad
3
+ size 85184931
ljubljana/finetuned/subject05.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9be11d62587c2c69aeb765320c425424c10b6823ca7875a66b8b1b3e6a5d1d4a
3
+ size 85184931
ljubljana/finetuned/subject06.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c4b7c0209ea405afea9b61d66868bfdeac3938bc8ad2e02cdd81e32814d8aa62
3
+ size 85184931
ljubljana/finetuned/subject07.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:546fa6d314567a758c9b1461f48a057e76855e21c2a50a7a88082d090d5832ba
3
+ size 85184931
ljubljana/finetuned/subject08.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b1f5cd178875b5763f44058c993ef4e047e8ad9081ee6217f684b39603c24379
3
+ size 85184931
ljubljana/finetuned/subject09.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ab261321676ae0d69d46bed66ea45ec90d463c2868c89c434e5c9a92e85b7391
3
+ size 85184931
ljubljana/finetuned/subject10.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e3d6af9d4b3bd9ec228ac8bc70836946359b54f6ff4b6e332e07aaa6feb0d449
3
+ size 85184931
wbct/model.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:82a9fd05a61f22da949885e890bce9333e4d5abc091ec011ddfc4b3454d5ffba
3
+ size 85184395