yandex-research / tab-ddpm

[ICML 2023] The official implementation of the paper "TabDDPM: Modelling Tabular Data with Diffusion Models"
https://arxiv.org/abs/2209.15421
MIT License
393 stars 86 forks source link

Errors from running the code in terminal #21

Open namjoonsuh opened 1 year ago

namjoonsuh commented 1 year ago

Hi I am having the following errors.. I am very new to running the code through cmd, please help me to fix this..

(tddpm) C:\Users\namjo\Downloads\tab-ddpm-main\tab-ddpm-main>python scripts/tune_ddpm.py churn2 6500 synthetic catboost ddpm_tune --eval_seeds [I 2023-07-14 11:54:06,300] A new study created in memory with name: no-name-5aa9ef04-90d2-4ef6-8808-158a7117fe5f C:\Users\namjo\anaconda3\envs\tddpm\lib\site-packages\optuna\progress_bar.py:47: ExperimentalWarning: Progress bar is experimental (supported from v1.2.0). The interface can change in the future. self._init_valid() [W 2023-07-14 11:54:06,314] Trial 0 failed because of the following error: FileNotFoundError(2, 'The system cannot find the file specified', None, 2, None) Traceback (most recent call last): File "C:\Users\namjo\anaconda3\envs\tddpm\lib\site-packages\optuna\study_optimize.py", line 213, in _run_trial value_or_values = func(trial) File "C:\Users\namjo\Downloads\tab-ddpm-main\tab-ddpm-main\scripts\tune_ddpm.py", line 85, in objective subprocess.run(['python3.9', f'{pipeline}', '--config', f'{exps_path / "config.toml"}', '--train', '--change_val'], check=True) File "C:\Users\namjo\anaconda3\envs\tddpm\lib\subprocess.py", line 505, in run with Popen(*popenargs, *kwargs) as process: File "C:\Users\namjo\anaconda3\envs\tddpm\lib\subprocess.py", line 951, in init self._execute_child(args, executable, preexec_fn, close_fds, File "C:\Users\namjo\anaconda3\envs\tddpm\lib\subprocess.py", line 1420, in _execute_child hp, ht, pid, tid = _winapi.CreateProcess(executable, args, FileNotFoundError: [WinError 2] The system cannot find the file specified 0%| | 0/50 [00:00<?, ?it/s] Traceback (most recent call last): File "C:\Users\namjo\Downloads\tab-ddpm-main\tab-ddpm-main\scripts\tune_ddpm.py", line 113, in study.optimize(objective, n_trials=50, show_progress_bar=True) File "C:\Users\namjo\anaconda3\envs\tddpm\lib\site-packages\optuna\study\study.py", line 400, in optimize _optimize( File "C:\Users\namjo\anaconda3\envs\tddpm\lib\site-packages\optuna\study_optimize.py", line 66, in _optimize _optimize_sequential( File "C:\Users\namjo\anaconda3\envs\tddpm\lib\site-packages\optuna\study_optimize.py", line 163, in _optimize_sequential trial = _run_trial(study, func, catch) File "C:\Users\namjo\anaconda3\envs\tddpm\lib\site-packages\optuna\study_optimize.py", line 264, in _run_trial raise func_err File "C:\Users\namjo\anaconda3\envs\tddpm\lib\site-packages\optuna\study_optimize.py", line 213, in _run_trial value_or_values = func(trial) File "C:\Users\namjo\Downloads\tab-ddpm-main\tab-ddpm-main\scripts\tune_ddpm.py", line 85, in objective subprocess.run(['python3.9', f'{pipeline}', '--config', f'{exps_path / "config.toml"}', '--train', '--change_val'], check=True) File "C:\Users\namjo\anaconda3\envs\tddpm\lib\subprocess.py", line 505, in run with Popen(popenargs, **kwargs) as process: File "C:\Users\namjo\anaconda3\envs\tddpm\lib\subprocess.py", line 951, in init self._execute_child(args, executable, preexec_fn, close_fds, File "C:\Users\namjo\anaconda3\envs\tddpm\lib\subprocess.py", line 1420, in _execute_child hp, ht, pid, tid = _winapi.CreateProcess(executable, args, FileNotFoundError: [WinError 2] The system cannot find the file specified