File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -479,22 +479,22 @@ def read_from_yaml(filename: str = "config/optimizer_config.yml"):
479479class ExperimentRunManager :
480480 def __init__ (
481481 self ,
482- exp_version_manager : str = ".tmp /exp_version_manager.yml" ,
482+ exp_version_manager : str = ".pt_tmp /exp_version_manager.yml" ,
483483 ) -> None :
484484 """The manages the versions of the experiments based on the name. It is a simple dictionary(yaml) based lookup.
485485 Primary purpose is to avoid overwriting of saved models while runing the training without changing the experiment name.
486486
487487 Args:
488488 exp_version_manager (str, optional): The path of the yml file which acts as version control.
489- Defaults to ".tmp /exp_version_manager.yml".
489+ Defaults to ".pt_tmp /exp_version_manager.yml".
490490 """
491491 super ().__init__ ()
492492 self ._exp_version_manager = exp_version_manager
493493 if os .path .exists (exp_version_manager ):
494494 self .exp_version_manager = OmegaConf .load (exp_version_manager )
495495 else :
496496 self .exp_version_manager = OmegaConf .create ({})
497- os .makedirs (".tmp " , exist_ok = True )
497+ os .makedirs (".pt_tmp " , exist_ok = True )
498498 with open (self ._exp_version_manager , "w" ) as file :
499499 OmegaConf .save (config = self .exp_version_manager , f = file )
500500
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ torch>=1.4
22category-encoders == 2.2.2
33numpy >= 1.17.2
44pandas == 1.1.5
5- scikit-learn = =0.23.2
5+ scikit-learn > =0.23.2
66pytorch-lightning == 1.3.6
77omegaconf >= 2.0.1
88torchmetrics >= 0.3.2
You can’t perform that action at this time.
0 commit comments