Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Errors from running the code in terminal #21

Open
namjoonsuh opened this issue Jul 14, 2023 · 0 comments
Open

Errors from running the code in terminal #21

namjoonsuh opened this issue Jul 14, 2023 · 0 comments

Comments

@namjoonsuh
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant