konfai 1.2.3__tar.gz → 1.2.4__tar.gz
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-1.2.3 → konfai-1.2.4}/PKG-INFO +1 -1
- {konfai-1.2.3 → konfai-1.2.4}/konfai/data/data_manager.py +2 -3
- {konfai-1.2.3 → konfai-1.2.4}/konfai/predictor.py +0 -1
- {konfai-1.2.3 → konfai-1.2.4}/konfai/trainer.py +0 -1
- {konfai-1.2.3 → konfai-1.2.4}/konfai.egg-info/PKG-INFO +1 -1
- {konfai-1.2.3 → konfai-1.2.4}/pyproject.toml +1 -1
- {konfai-1.2.3 → konfai-1.2.4}/LICENSE +0 -0
- {konfai-1.2.3 → konfai-1.2.4}/README.md +0 -0
- {konfai-1.2.3 → konfai-1.2.4}/konfai/__init__.py +0 -0
- {konfai-1.2.3 → konfai-1.2.4}/konfai/data/__init__.py +0 -0
- {konfai-1.2.3 → konfai-1.2.4}/konfai/data/augmentation.py +0 -0
- {konfai-1.2.3 → konfai-1.2.4}/konfai/data/patching.py +0 -0
- {konfai-1.2.3 → konfai-1.2.4}/konfai/data/transform.py +0 -0
- {konfai-1.2.3 → konfai-1.2.4}/konfai/evaluator.py +0 -0
- {konfai-1.2.3 → konfai-1.2.4}/konfai/main.py +0 -0
- {konfai-1.2.3 → konfai-1.2.4}/konfai/metric/__init__.py +0 -0
- {konfai-1.2.3 → konfai-1.2.4}/konfai/metric/measure.py +0 -0
- {konfai-1.2.3 → konfai-1.2.4}/konfai/metric/schedulers.py +0 -0
- {konfai-1.2.3 → konfai-1.2.4}/konfai/models/classification/convNeXt.py +0 -0
- {konfai-1.2.3 → konfai-1.2.4}/konfai/models/classification/resnet.py +0 -0
- {konfai-1.2.3 → konfai-1.2.4}/konfai/models/generation/cStyleGan.py +0 -0
- {konfai-1.2.3 → konfai-1.2.4}/konfai/models/generation/ddpm.py +0 -0
- {konfai-1.2.3 → konfai-1.2.4}/konfai/models/generation/diffusionGan.py +0 -0
- {konfai-1.2.3 → konfai-1.2.4}/konfai/models/generation/gan.py +0 -0
- {konfai-1.2.3 → konfai-1.2.4}/konfai/models/generation/vae.py +0 -0
- {konfai-1.2.3 → konfai-1.2.4}/konfai/models/registration/registration.py +0 -0
- {konfai-1.2.3 → konfai-1.2.4}/konfai/models/representation/representation.py +0 -0
- {konfai-1.2.3 → konfai-1.2.4}/konfai/models/segmentation/NestedUNet.py +0 -0
- {konfai-1.2.3 → konfai-1.2.4}/konfai/models/segmentation/UNet.py +0 -0
- {konfai-1.2.3 → konfai-1.2.4}/konfai/network/__init__.py +0 -0
- {konfai-1.2.3 → konfai-1.2.4}/konfai/network/blocks.py +0 -0
- {konfai-1.2.3 → konfai-1.2.4}/konfai/network/network.py +0 -0
- {konfai-1.2.3 → konfai-1.2.4}/konfai/utils/ITK.py +0 -0
- {konfai-1.2.3 → konfai-1.2.4}/konfai/utils/__init__.py +0 -0
- {konfai-1.2.3 → konfai-1.2.4}/konfai/utils/config.py +0 -0
- {konfai-1.2.3 → konfai-1.2.4}/konfai/utils/dataset.py +0 -0
- {konfai-1.2.3 → konfai-1.2.4}/konfai/utils/utils.py +0 -0
- {konfai-1.2.3 → konfai-1.2.4}/konfai.egg-info/SOURCES.txt +0 -0
- {konfai-1.2.3 → konfai-1.2.4}/konfai.egg-info/dependency_links.txt +0 -0
- {konfai-1.2.3 → konfai-1.2.4}/konfai.egg-info/entry_points.txt +0 -0
- {konfai-1.2.3 → konfai-1.2.4}/konfai.egg-info/requires.txt +0 -0
- {konfai-1.2.3 → konfai-1.2.4}/konfai.egg-info/top_level.txt +0 -0
- {konfai-1.2.3 → konfai-1.2.4}/setup.cfg +0 -0
- {konfai-1.2.3 → konfai-1.2.4}/tests/test_config.py +0 -0
- {konfai-1.2.3 → konfai-1.2.4}/tests/test_dataset.py +0 -0
|
@@ -317,7 +317,6 @@ class Subset:
|
|
|
317
317
|
else:
|
|
318
318
|
index_set = index_set.intersection(set(self._get_index(s, names)))
|
|
319
319
|
index = list(index_set)
|
|
320
|
-
print(index)
|
|
321
320
|
else:
|
|
322
321
|
index = self._get_index(self.subset, names)
|
|
323
322
|
if self.shuffle:
|
|
@@ -380,8 +379,8 @@ class Data(ABC):
|
|
|
380
379
|
use_cache=use_cache,
|
|
381
380
|
)
|
|
382
381
|
self.dataLoader_args = {
|
|
383
|
-
"num_workers":
|
|
384
|
-
"pin_memory":
|
|
382
|
+
"num_workers": 0,
|
|
383
|
+
"pin_memory": False,
|
|
385
384
|
}
|
|
386
385
|
self.data: list[list[dict[str, list[DatasetManager]]]] = []
|
|
387
386
|
self.mapping: list[list[list[tuple[int, int, int]]]] = []
|
|
@@ -632,7 +632,6 @@ class Trainer(DistributedObject):
|
|
|
632
632
|
world_size (int): Total number of distributed processes.
|
|
633
633
|
"""
|
|
634
634
|
state = State[konfai_state()]
|
|
635
|
-
print(checkpoints_directory() + self.name + "/")
|
|
636
635
|
if state != State.RESUME and os.path.exists(checkpoints_directory() + self.name + "/"):
|
|
637
636
|
if os.environ["KONFAI_OVERWRITE"] != "True":
|
|
638
637
|
accept = input(f"The model {self.name} already exists ! Do you want to overwrite it (yes,no) : ")
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|