Trial fails with the below error when used with hyperoptSearch algorithm
2021-06-22 19:46:29,892 ERROR ray_trial_executor.py:534 -- Trial PPO_StockTradingEnv_104bd69e: Unexpected error starting runner.
Traceback (most recent call last):
File "C:\Users\P2834048\AppData\Local\Continuum\anaconda2\envs\dl\lib\site-packages\ray\tune\ray_trial_executor.py", line 524, in start_trial
return self._start_trial(trial, checkpoint, train=train)
File "C:\Users\P2834048\AppData\Local\Continuum\anaconda2\envs\dl\lib\site-packages\ray\tune\ray_trial_executor.py", line 426, in _start_trial
runner = self._setup_remote_runner(trial)
File "C:\Users\P2834048\AppData\Local\Continuum\anaconda2\envs\dl\lib\site-packages\ray\tune\ray_trial_executor.py", line 255, in _setup_remote_runner
trial.init_logdir()
File "C:\Users\P2834048\AppData\Local\Continuum\anaconda2\envs\dl\lib\site-packages\ray\tune\trial.py", line 412, in init_logdir
self.local_dir)
File "C:\Users\P2834048\AppData\Local\Continuum\anaconda2\envs\dl\lib\site-packages\ray\tune\trial.py", line 139, in create_logdir
os.makedirs(logdir, exist_ok=True)
File "C:\Users\P2834048\AppData\Local\Continuum\anaconda2\envs\dl\lib\os.py", line 223, in makedirs
mkdir(name, mode)
OSError: [WinError 123] The filename, directory name, or volume label syntax is incorrect: "C:\\Users\\P2834048\\ray_results\\PPO_StockTradingEnv_104bd69e_1__fake_gpus=False,batch_mode=truncate_episodes,callbacks=<class 'ray.rllib.agents.callbacks.DefaultC_2021-06-22_19-46-29"
However only a couple of parameters are being used for tuning purpose.