konfai 1.0.5__py3-none-any.whl → 1.0.7__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of konfai might be problematic. Click here for more details.
- konfai/evaluator.py +1 -3
- konfai/main.py +3 -0
- {konfai-1.0.5.dist-info → konfai-1.0.7.dist-info}/METADATA +26 -4
- {konfai-1.0.5.dist-info → konfai-1.0.7.dist-info}/RECORD +9 -9
- /konfai/utils/{Registration.py → registration.py} +0 -0
- {konfai-1.0.5.dist-info → konfai-1.0.7.dist-info}/WHEEL +0 -0
- {konfai-1.0.5.dist-info → konfai-1.0.7.dist-info}/entry_points.txt +0 -0
- {konfai-1.0.5.dist-info → konfai-1.0.7.dist-info}/licenses/LICENSE +0 -0
- {konfai-1.0.5.dist-info → konfai-1.0.7.dist-info}/top_level.txt +0 -0
konfai/evaluator.py
CHANGED
|
@@ -141,6 +141,4 @@ class Evaluator(DistributedObject):
|
|
|
141
141
|
batch_iter.set_description(description(self.update({k: (v[0], v[4]) for k,v in data_dict.items()}, self.statistics_validation)))
|
|
142
142
|
outputs = synchronize_data(world_size, gpu, self.statistics_validation.measures)
|
|
143
143
|
if global_rank == 0:
|
|
144
|
-
self.statistics_validation.write(outputs)
|
|
145
|
-
|
|
146
|
-
# 69.8936 ± 13.2773 (107) 28.6021 (117) 0.8641 (118)
|
|
144
|
+
self.statistics_validation.write(outputs)
|
konfai/main.py
CHANGED
|
@@ -4,6 +4,9 @@ from torch.cuda import device_count
|
|
|
4
4
|
import torch.multiprocessing as mp
|
|
5
5
|
from konfai.utils.utils import setupAPI, TensorBoard, Log
|
|
6
6
|
|
|
7
|
+
import sys
|
|
8
|
+
sys.path.insert(0, os.getcwd())
|
|
9
|
+
|
|
7
10
|
def main():
|
|
8
11
|
parser = argparse.ArgumentParser(description="KonfAI", formatter_class=argparse.ArgumentDefaultsHelpFormatter)
|
|
9
12
|
with setupAPI(parser) as distributedObject:
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: konfai
|
|
3
|
-
Version: 1.0.
|
|
3
|
+
Version: 1.0.7
|
|
4
4
|
Summary: Modular and configurable Deep Learning framework with YAML and PyTorch
|
|
5
5
|
Author-email: Valentin Boussot <boussot.v@gmail.com>
|
|
6
6
|
License-Expression: Apache-2.0
|
|
@@ -33,7 +33,7 @@ Dynamic: license-file
|
|
|
33
33
|
|
|
34
34
|
|
|
35
35
|
# 🧠 KonfAI
|
|
36
|
-
<img src="logo.png" alt="KonfAI Logo" width="200" align="right"/>
|
|
36
|
+
<img src="https://raw.githubusercontent.com/vboussot/KonfAI/main/logo.png" alt="KonfAI Logo" width="200" align="right"/>
|
|
37
37
|
|
|
38
38
|
**KonfAI** is a modular and highly configurable deep learning framework built on PyTorch, driven entirely by YAML configuration files.
|
|
39
39
|
|
|
@@ -54,8 +54,30 @@ It is designed to support complex medical imaging workflows, flexible model arch
|
|
|
54
54
|
|
|
55
55
|
## 🚀 Installation
|
|
56
56
|
|
|
57
|
-
|
|
58
|
-
|
|
57
|
+
### From PyPI (recommended)
|
|
58
|
+
|
|
59
|
+
Install KonfAI from PyPI:
|
|
60
|
+
|
|
61
|
+
```
|
|
62
|
+
pip install konfai
|
|
63
|
+
```
|
|
64
|
+
|
|
65
|
+
This will install the command-line tools:
|
|
66
|
+
|
|
67
|
+
```
|
|
68
|
+
konfai --help
|
|
69
|
+
konfai-cluster --help
|
|
70
|
+
```
|
|
71
|
+
|
|
72
|
+
---
|
|
73
|
+
|
|
74
|
+
### From GitHub
|
|
75
|
+
|
|
76
|
+
Clone the repository and install:
|
|
77
|
+
|
|
78
|
+
```
|
|
79
|
+
git clone https://github.com/vboussot/KonfAI.git
|
|
80
|
+
cd KonfAI
|
|
59
81
|
pip install -e .
|
|
60
82
|
```
|
|
61
83
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
konfai/__init__.py,sha256=jXMTNml38eX6FSq9d3C_gJVgRLTKHPBUXqOLC7Pqkuo,828
|
|
2
|
-
konfai/evaluator.py,sha256=
|
|
3
|
-
konfai/main.py,sha256=
|
|
2
|
+
konfai/evaluator.py,sha256=WLJ_hEwY2smB6F2KBLCVH_j13WVe3biuETSg2_NTXdk,7396
|
|
3
|
+
konfai/main.py,sha256=RDPi55Q6Klf-zenMTCHOwucEx-LNsVCcCmYea528JRw,2193
|
|
4
4
|
konfai/predictor.py,sha256=-CtMHDaZgnCSz-eKC3MG5_y7CWQI89afWpr7i897RVI,20178
|
|
5
5
|
konfai/trainer.py,sha256=x4Sni2JBOPgcSnpRwHHIQFB7cc0-cZ4L8X9pwZQt0qs,16866
|
|
6
6
|
konfai/data/HDF5.py,sha256=Amexa4zMfsamo0odxHgKBwWlR7WquhGnAmFFVETcpQw,14355
|
|
@@ -26,14 +26,14 @@ konfai/network/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
|
26
26
|
konfai/network/blocks.py,sha256=EN1JN929zzV0FfecgFnVvv8u-WwENFRxloOpfCBkqeU,13529
|
|
27
27
|
konfai/network/network.py,sha256=7JL7gtWB8vk8wHaQsritaVGDN_fjrmDNkHfIkqJtLSE,45775
|
|
28
28
|
konfai/utils/ITK.py,sha256=OxTieDNNYHGkn7zxJsAG-6ecRG1VYMvn1dlBbBe1DOs,13955
|
|
29
|
-
konfai/utils/Registration.py,sha256=v1srEBOcgDnHrx0YtsK6bcj0yCMH7wNeaQ3wC7gEvOw,8898
|
|
30
29
|
konfai/utils/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
31
30
|
konfai/utils/config.py,sha256=tzIkNUA88EXGpkH-GUFA-BehxC47wAuDbu0M0kWfUIY,9887
|
|
32
31
|
konfai/utils/dataset.py,sha256=DTAt8AEsAkDWM8ZtiXPUQfS5DQBqdYmXuw2sjOTIYV4,35517
|
|
32
|
+
konfai/utils/registration.py,sha256=v1srEBOcgDnHrx0YtsK6bcj0yCMH7wNeaQ3wC7gEvOw,8898
|
|
33
33
|
konfai/utils/utils.py,sha256=hRxqq1cOXewFG417kYQZUGzKqaCK14GNQqjFdRBIVGs,20186
|
|
34
|
-
konfai-1.0.
|
|
35
|
-
konfai-1.0.
|
|
36
|
-
konfai-1.0.
|
|
37
|
-
konfai-1.0.
|
|
38
|
-
konfai-1.0.
|
|
39
|
-
konfai-1.0.
|
|
34
|
+
konfai-1.0.7.dist-info/licenses/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
|
|
35
|
+
konfai-1.0.7.dist-info/METADATA,sha256=wD6hS66xdiAdI8zMjMwanFz4GXBfT31Y0taawDushbE,2312
|
|
36
|
+
konfai-1.0.7.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
37
|
+
konfai-1.0.7.dist-info/entry_points.txt,sha256=fG82HRN5-g39ACSOCtij_I3N6EHxfYnMR0D7TI_8pW8,81
|
|
38
|
+
konfai-1.0.7.dist-info/top_level.txt,sha256=xF470dkIlFoFqTZEOlRehKJr4WU_8OKGXrJqYm9vWKs,7
|
|
39
|
+
konfai-1.0.7.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|