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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: KGATE
3
- Version: 0.2.6
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
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "KGATE"
3
- version = "0.2.6"
3
+ version = "0.2.7"
4
4
  description = "Knowledge Graph Autoencoder Training Environment, bridging PyG encoders and TorchKGE decoders."
5
5
  authors = [
6
6
  {name = "Benjamin Loire", email = "benjamin.loire@univ-amu.fr"},
@@ -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("kgate_conf.toml")
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 parameters in the output folder... ")
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