KGATE 0.2.6__tar.gz → 0.2.7__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.
- {kgate-0.2.6 → kgate-0.2.7}/PKG-INFO +1 -1
- {kgate-0.2.6 → kgate-0.2.7}/pyproject.toml +1 -1
- {kgate-0.2.6 → kgate-0.2.7}/src/kgate/kgate.py +2 -2
- {kgate-0.2.6 → kgate-0.2.7}/LICENSE +0 -0
- {kgate-0.2.6 → kgate-0.2.7}/README.md +0 -0
- {kgate-0.2.6 → kgate-0.2.7}/src/kgate/__init__.py +0 -0
- {kgate-0.2.6 → kgate-0.2.7}/src/kgate/config_template.toml +0 -0
- {kgate-0.2.6 → kgate-0.2.7}/src/kgate/decoders/__init__.py +0 -0
- {kgate-0.2.6 → kgate-0.2.7}/src/kgate/decoders/bilinear.py +0 -0
- {kgate-0.2.6 → kgate-0.2.7}/src/kgate/decoders/convolutional.py +0 -0
- {kgate-0.2.6 → kgate-0.2.7}/src/kgate/decoders/translational.py +0 -0
- {kgate-0.2.6 → kgate-0.2.7}/src/kgate/encoders.py +0 -0
- {kgate-0.2.6 → kgate-0.2.7}/src/kgate/evaluators.py +0 -0
- {kgate-0.2.6 → kgate-0.2.7}/src/kgate/grid_search.py +0 -0
- {kgate-0.2.6 → kgate-0.2.7}/src/kgate/inference.py +0 -0
- {kgate-0.2.6 → kgate-0.2.7}/src/kgate/knowledgegraph.py +0 -0
- {kgate-0.2.6 → kgate-0.2.7}/src/kgate/preprocessing.py +0 -0
- {kgate-0.2.6 → kgate-0.2.7}/src/kgate/samplers.py +0 -0
- {kgate-0.2.6 → kgate-0.2.7}/src/kgate/utils.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.3
|
|
2
2
|
Name: KGATE
|
|
3
|
-
Version: 0.2.
|
|
3
|
+
Version: 0.2.7
|
|
4
4
|
Summary: Knowledge Graph Autoencoder Training Environment, bridging PyG encoders and TorchKGE decoders.
|
|
5
5
|
License: MIT
|
|
6
6
|
Keywords: Knowledge Graph,Knowledge Graph Embedding,Autoencoder,Machine Learning,Link Prediction
|
|
@@ -567,13 +567,13 @@ class Architect(Model):
|
|
|
567
567
|
)
|
|
568
568
|
|
|
569
569
|
# If we find an identical config we resume training from it, otherwise we clean the checkpoints directory.
|
|
570
|
-
existing_config_path: Path = Path(self.config["output_directory"]).joinpath("
|
|
570
|
+
existing_config_path: Path = Path(self.config["output_directory"]).joinpath("kgate_config.toml")
|
|
571
571
|
if existing_config_path.exists():
|
|
572
572
|
existing_config = parse_config(str(existing_config_path), {})
|
|
573
573
|
if existing_config == self.config:
|
|
574
574
|
all_checkpoints = glob(f"{self.checkpoints_dir}/checkpoint_*.pt")
|
|
575
575
|
checkpoint_file = checkpoint_file or Path(max(all_checkpoints, key=os.path.getctime))
|
|
576
|
-
logging.info("Found previous run with the same
|
|
576
|
+
logging.info("Found previous run with the same configuration in the output folder... ")
|
|
577
577
|
elif self.checkpoints_dir.exists() and len(os.listdir(self.checkpoints_dir)) > 0:
|
|
578
578
|
shutil.rmtree(self.checkpoints_dir)
|
|
579
579
|
|
|
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
|