align local data folder and kaggle data folder to store mid result (#314)

This commit is contained in:
Xu Yang
2024-09-24 17:01:33 +08:00
committed by GitHub
parent 6855dd81f8
commit 804e353549
9 changed files with 50 additions and 52 deletions
@@ -138,7 +138,7 @@ class FactorFBWorkspace(FBWorkspace):
)
elif self.target_task.version == 2:
# TODO you can change the name of the data folder for a better understanding
source_data_path = Path(FACTOR_IMPLEMENT_SETTINGS.data_folder) / KAGGLE_IMPLEMENT_SETTING.competition
source_data_path = Path(KAGGLE_IMPLEMENT_SETTING.local_data_path) / KAGGLE_IMPLEMENT_SETTING.competition
source_data_path.mkdir(exist_ok=True, parents=True)
code_path = self.workspace_path / f"factor.py"