Skip to content

Commit c9ad457

Browse files
committed
-- changed .tmp to pt_tmp
-- unfroze scikit learn version
1 parent e8ee018 commit c9ad457

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

pytorch_tabular/config/config.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -479,22 +479,22 @@ def read_from_yaml(filename: str = "config/optimizer_config.yml"):
479479
class 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

requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ torch>=1.4
22
category-encoders==2.2.2
33
numpy>=1.17.2
44
pandas==1.1.5
5-
scikit-learn==0.23.2
5+
scikit-learn>=0.23.2
66
pytorch-lightning==1.3.6
77
omegaconf>=2.0.1
88
torchmetrics>=0.3.2

0 commit comments

Comments
 (0)