You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
FileNotFoundError: [Errno 2] No such file or directory: b'output/mtm_sac_dmc/Ablation-FeatMasking-cartpole-swingup0828T12-im84-b512-s1-mtm_sac\\tb\\events.out.tfevents.1693224450.DESKTOP-RROD0QI.122000.0'
#3
Open
wxm2000 opened this issue
Aug 28, 2023
· 0 comments
How to solve this question? Thanks.
(maskrl) PS C:\2023\强化学习\8月21日\Mask-based-Latent-Reconstruction-main-0\Mask-based-Latent-Reconstruction-main\DMControl\src> python train.py --config-path ./configs --config-name cartpole_swingup jumps=15 seed=1 agent=mtm_sac num_env_steps=100000 work_dir=output wandb=false
train.py:351: UserWarning:
The version_base parameter is not specified.
Please specify a compatability version level, or None.
Will assume defaults for version 1.1
@hydra.main(config_name="config")
train.py:351: UserWarning:
config_path is not specified in @hydra.main().
See https://hydra.cc/docs/1.2/upgrades/1.0_to_1.1/changes_to_hydra_main_config_path for more information.
@hydra.main(config_name="config")
C:\ProgramData\Anaconda\envs\maskrl\lib\site-packages\hydra_internal\hydra.py:119: UserWarning: Future Hydra versions will no longer change working directory at job runtime by default.
See https://hydra.cc/docs/1.2/upgrades/1.1_to_1.2/changes_to_job_working_dir/ for more information.
ret = run_job(
[2023-08-28 20:07:27,214][absl][INFO] - MUJOCO_GL is not set, so an OpenGL backend will be chosen automatically.
[2023-08-28 20:07:27,297][absl][INFO] - Successfully imported OpenGL backend: glfw
[2023-08-28 20:07:27,342][absl][INFO] - MuJoCo library version is: 2.3.7
PixelEncoder(
(convs): ModuleList(
(0): Conv2d(9, 64, kernel_size=(3, 3), stride=(2, 2))
(1): Conv2d(64, 64, kernel_size=(3, 3), stride=(1, 1))
(2): Conv2d(64, 64, kernel_size=(3, 3), stride=(1, 1))
(3): Conv2d(64, 64, kernel_size=(3, 3), stride=(1, 1))
)
(fc): Linear(in_features=78400, out_features=50, bias=True)
(ln): LayerNorm((50,), eps=1e-05, elementwise_affine=True)
)
Exception in thread Thread-5:
Traceback (most recent call last):
File "C:\ProgramData\Anaconda\envs\maskrl\lib\site-packages\hydra\core\utils.py", line 186, in run_job
Error executing job with overrides: ['jumps=15', 'seed=1', 'agent=mtm_sac', 'num_env_steps=100000', 'work_dir=output', 'wandb=false']
ret.return_value = task_function(task_cfg)
File "train.py", line 452, in main
L = Logger(args.work_dir, use_tb=args.save_tb, use_wandb=args.wandb)
File "C:\2023\强化学习\8月21日\Mask-based-Latent-Reconstruction-main-0\Mask-based-Latent-Reconstruction-main\DMControl\src\logger.py", line 111, in init
self._sw = SummaryWriter(tb_dir)
File "C:\ProgramData\Anaconda\envs\maskrl\lib\site-packages\torch\utils\tensorboard\writer.py", line 221, in init
self._get_file_writer()
File "C:\ProgramData\Anaconda\envs\maskrl\lib\site-packages\torch\utils\tensorboard\writer.py", line 251, in _get_file_writer
self.file_writer = FileWriter(self.log_dir, self.max_queue,
File "C:\ProgramData\Anaconda\envs\maskrl\lib\site-packages\torch\utils\tensorboard\writer.py", line 61, in init
self.event_writer = EventFileWriter(
File "C:\ProgramData\Anaconda\envs\maskrl\lib\site-packages\tensorboard\summary\writer\event_file_writer.py", line 100, in init
self.flush()
File "C:\ProgramData\Anaconda\envs\maskrl\lib\site-packages\tensorboard\summary\writer\event_file_writer.py", line 125, in flush
self._async_writer.flush()
File "C:\ProgramData\Anaconda\envs\maskrl\lib\site-packages\tensorboard\summary\writer\event_file_writer.py", line 194, in flush
self._check_worker_status()
File "C:\ProgramData\Anaconda\envs\maskrl\lib\site-packages\tensorboard\summary\writer\event_file_writer.py", line 212, in _check_worker_status
raise exception
File "C:\ProgramData\Anaconda\envs\maskrl\lib\threading.py", line 932, in _bootstrap_inner
self.run()
File "C:\ProgramData\Anaconda\envs\maskrl\lib\site-packages\tensorboard\summary\writer\event_file_writer.py", line 244, in run
self._run()
File "C:\ProgramData\Anaconda\envs\maskrl\lib\site-packages\tensorboard\summary\writer\event_file_writer.py", line 275, in _run
self._record_writer.write(data)
File "C:\ProgramData\Anaconda\envs\maskrl\lib\site-packages\tensorboard\summary\writer\record_writer.py", line 40, in write
self._writer.write(header + header_crc + data + footer_crc)
File "C:\ProgramData\Anaconda\envs\maskrl\lib\site-packages\tensorboard\compat\tensorflow_stub\io\gfile.py", line 768, in write
self.fs.write(self.filename, file_content, self.binary_mode)
File "C:\ProgramData\Anaconda\envs\maskrl\lib\site-packages\tensorboard\compat\tensorflow_stub\io\gfile.py", line 157, in write
self._write(filename, file_content, "wb" if binary_mode else "w")
File "C:\ProgramData\Anaconda\envs\maskrl\lib\site-packages\tensorboard\compat\tensorflow_stub\io\gfile.py", line 171, in _write
with io.open(filename, mode, encoding=encoding) as f:
FileNotFoundError: [Errno 2] No such file or directory: b'output/mtm_sac_dmc/Ablation-FeatMasking-cartpole-swingup0828T12-im84-b512-s1-mtm_sac\tb\events.out.tfevents.1693224450.DESKTOP-RROD0QI.122000.0'
Traceback (most recent call last):
File "train.py", line 452, in main
L = Logger(args.work_dir, use_tb=args.save_tb, use_wandb=args.wandb)
File "C:\2023\强化学习\8月21日\Mask-based-Latent-Reconstruction-main-0\Mask-based-Latent-Reconstruction-main\DMControl\src\logger.py", line 111, in init
self._sw = SummaryWriter(tb_dir)
File "C:\ProgramData\Anaconda\envs\maskrl\lib\site-packages\torch\utils\tensorboard\writer.py", line 221, in init
self._get_file_writer()
File "C:\ProgramData\Anaconda\envs\maskrl\lib\site-packages\torch\utils\tensorboard\writer.py", line 251, in _get_file_writer
self.file_writer = FileWriter(self.log_dir, self.max_queue,
File "C:\ProgramData\Anaconda\envs\maskrl\lib\site-packages\torch\utils\tensorboard\writer.py", line 61, in init
self.event_writer = EventFileWriter(
File "C:\ProgramData\Anaconda\envs\maskrl\lib\site-packages\tensorboard\summary\writer\event_file_writer.py", line 100, in init
self.flush()
File "C:\ProgramData\Anaconda\envs\maskrl\lib\site-packages\tensorboard\summary\writer\event_file_writer.py", line 125, in flush
self._async_writer.flush()
File "C:\ProgramData\Anaconda\envs\maskrl\lib\site-packages\tensorboard\summary\writer\event_file_writer.py", line 194, in flush
self._check_worker_status()
File "C:\ProgramData\Anaconda\envs\maskrl\lib\site-packages\tensorboard\summary\writer\event_file_writer.py", line 212, in _check_worker_status
raise exception
File "C:\ProgramData\Anaconda\envs\maskrl\lib\threading.py", line 932, in _bootstrap_inner
self.run()
File "C:\ProgramData\Anaconda\envs\maskrl\lib\site-packages\tensorboard\summary\writer\event_file_writer.py", line 244, in run
self._run()
File "C:\ProgramData\Anaconda\envs\maskrl\lib\site-packages\tensorboard\summary\writer\event_file_writer.py", line 275, in _run
self._record_writer.write(data)
File "C:\ProgramData\Anaconda\envs\maskrl\lib\site-packages\tensorboard\summary\writer\record_writer.py", line 40, in write
self._writer.write(header + header_crc + data + footer_crc)
File "C:\ProgramData\Anaconda\envs\maskrl\lib\site-packages\tensorboard\compat\tensorflow_stub\io\gfile.py", line 768, in write
self.fs.write(self.filename, file_content, self.binary_mode)
File "C:\ProgramData\Anaconda\envs\maskrl\lib\site-packages\tensorboard\compat\tensorflow_stub\io\gfile.py", line 157, in write
self._write(filename, file_content, "wb" if binary_mode else "w")
File "C:\ProgramData\Anaconda\envs\maskrl\lib\site-packages\tensorboard\compat\tensorflow_stub\io\gfile.py", line 171, in _write
with io.open(filename, mode, encoding=encoding) as f:
FileNotFoundError: [Errno 2] No such file or directory: b'output/mtm_sac_dmc/Ablation-FeatMasking-cartpole-swingup0828T12-im84-b512-s1-mtm_sac\tb\events.out.tfevents.1693224450.DESKTOP-RROD0QI.122000.0'
Set the environment variable HYDRA_FULL_ERROR=1 for a complete stack trace.
[2023-08-28 20:07:30,563][wandb.sdk.internal.internal][INFO] - Internal process exited
The text was updated successfully, but these errors were encountered:
How to solve this question? Thanks.
(maskrl) PS C:\2023\强化学习\8月21日\Mask-based-Latent-Reconstruction-main-0\Mask-based-Latent-Reconstruction-main\DMControl\src> python train.py --config-path ./configs --config-name cartpole_swingup jumps=15 seed=1 agent=mtm_sac num_env_steps=100000 work_dir=output wandb=false
train.py:351: UserWarning:
The version_base parameter is not specified.
Please specify a compatability version level, or None.
Will assume defaults for version 1.1
@hydra.main(config_name="config")
train.py:351: UserWarning:
config_path is not specified in @hydra.main().
See https://hydra.cc/docs/1.2/upgrades/1.0_to_1.1/changes_to_hydra_main_config_path for more information.
@hydra.main(config_name="config")
C:\ProgramData\Anaconda\envs\maskrl\lib\site-packages\hydra_internal\hydra.py:119: UserWarning: Future Hydra versions will no longer change working directory at job runtime by default.
See https://hydra.cc/docs/1.2/upgrades/1.1_to_1.2/changes_to_job_working_dir/ for more information.
ret = run_job(
[2023-08-28 20:07:27,214][absl][INFO] - MUJOCO_GL is not set, so an OpenGL backend will be chosen automatically.
[2023-08-28 20:07:27,297][absl][INFO] - Successfully imported OpenGL backend: glfw
[2023-08-28 20:07:27,342][absl][INFO] - MuJoCo library version is: 2.3.7
PixelEncoder(
(convs): ModuleList(
(0): Conv2d(9, 64, kernel_size=(3, 3), stride=(2, 2))
(1): Conv2d(64, 64, kernel_size=(3, 3), stride=(1, 1))
(2): Conv2d(64, 64, kernel_size=(3, 3), stride=(1, 1))
(3): Conv2d(64, 64, kernel_size=(3, 3), stride=(1, 1))
)
(fc): Linear(in_features=78400, out_features=50, bias=True)
(ln): LayerNorm((50,), eps=1e-05, elementwise_affine=True)
)
Exception in thread Thread-5:
Traceback (most recent call last):
File "C:\ProgramData\Anaconda\envs\maskrl\lib\site-packages\hydra\core\utils.py", line 186, in run_job
Error executing job with overrides: ['jumps=15', 'seed=1', 'agent=mtm_sac', 'num_env_steps=100000', 'work_dir=output', 'wandb=false']
ret.return_value = task_function(task_cfg)
File "train.py", line 452, in main
L = Logger(args.work_dir, use_tb=args.save_tb, use_wandb=args.wandb)
File "C:\2023\强化学习\8月21日\Mask-based-Latent-Reconstruction-main-0\Mask-based-Latent-Reconstruction-main\DMControl\src\logger.py", line 111, in init
self._sw = SummaryWriter(tb_dir)
File "C:\ProgramData\Anaconda\envs\maskrl\lib\site-packages\torch\utils\tensorboard\writer.py", line 221, in init
self._get_file_writer()
File "C:\ProgramData\Anaconda\envs\maskrl\lib\site-packages\torch\utils\tensorboard\writer.py", line 251, in _get_file_writer
self.file_writer = FileWriter(self.log_dir, self.max_queue,
File "C:\ProgramData\Anaconda\envs\maskrl\lib\site-packages\torch\utils\tensorboard\writer.py", line 61, in init
self.event_writer = EventFileWriter(
File "C:\ProgramData\Anaconda\envs\maskrl\lib\site-packages\tensorboard\summary\writer\event_file_writer.py", line 100, in init
self.flush()
File "C:\ProgramData\Anaconda\envs\maskrl\lib\site-packages\tensorboard\summary\writer\event_file_writer.py", line 125, in flush
self._async_writer.flush()
File "C:\ProgramData\Anaconda\envs\maskrl\lib\site-packages\tensorboard\summary\writer\event_file_writer.py", line 194, in flush
self._check_worker_status()
File "C:\ProgramData\Anaconda\envs\maskrl\lib\site-packages\tensorboard\summary\writer\event_file_writer.py", line 212, in _check_worker_status
raise exception
File "C:\ProgramData\Anaconda\envs\maskrl\lib\threading.py", line 932, in _bootstrap_inner
self.run()
File "C:\ProgramData\Anaconda\envs\maskrl\lib\site-packages\tensorboard\summary\writer\event_file_writer.py", line 244, in run
self._run()
File "C:\ProgramData\Anaconda\envs\maskrl\lib\site-packages\tensorboard\summary\writer\event_file_writer.py", line 275, in _run
self._record_writer.write(data)
File "C:\ProgramData\Anaconda\envs\maskrl\lib\site-packages\tensorboard\summary\writer\record_writer.py", line 40, in write
self._writer.write(header + header_crc + data + footer_crc)
File "C:\ProgramData\Anaconda\envs\maskrl\lib\site-packages\tensorboard\compat\tensorflow_stub\io\gfile.py", line 768, in write
self.fs.write(self.filename, file_content, self.binary_mode)
File "C:\ProgramData\Anaconda\envs\maskrl\lib\site-packages\tensorboard\compat\tensorflow_stub\io\gfile.py", line 157, in write
self._write(filename, file_content, "wb" if binary_mode else "w")
File "C:\ProgramData\Anaconda\envs\maskrl\lib\site-packages\tensorboard\compat\tensorflow_stub\io\gfile.py", line 171, in _write
with io.open(filename, mode, encoding=encoding) as f:
FileNotFoundError: [Errno 2] No such file or directory: b'output/mtm_sac_dmc/Ablation-FeatMasking-cartpole-swingup0828T12-im84-b512-s1-mtm_sac\tb\events.out.tfevents.1693224450.DESKTOP-RROD0QI.122000.0'
Traceback (most recent call last):
File "train.py", line 452, in main
L = Logger(args.work_dir, use_tb=args.save_tb, use_wandb=args.wandb)
File "C:\2023\强化学习\8月21日\Mask-based-Latent-Reconstruction-main-0\Mask-based-Latent-Reconstruction-main\DMControl\src\logger.py", line 111, in init
self._sw = SummaryWriter(tb_dir)
File "C:\ProgramData\Anaconda\envs\maskrl\lib\site-packages\torch\utils\tensorboard\writer.py", line 221, in init
self._get_file_writer()
File "C:\ProgramData\Anaconda\envs\maskrl\lib\site-packages\torch\utils\tensorboard\writer.py", line 251, in _get_file_writer
self.file_writer = FileWriter(self.log_dir, self.max_queue,
File "C:\ProgramData\Anaconda\envs\maskrl\lib\site-packages\torch\utils\tensorboard\writer.py", line 61, in init
self.event_writer = EventFileWriter(
File "C:\ProgramData\Anaconda\envs\maskrl\lib\site-packages\tensorboard\summary\writer\event_file_writer.py", line 100, in init
self.flush()
File "C:\ProgramData\Anaconda\envs\maskrl\lib\site-packages\tensorboard\summary\writer\event_file_writer.py", line 125, in flush
self._async_writer.flush()
File "C:\ProgramData\Anaconda\envs\maskrl\lib\site-packages\tensorboard\summary\writer\event_file_writer.py", line 194, in flush
self._check_worker_status()
File "C:\ProgramData\Anaconda\envs\maskrl\lib\site-packages\tensorboard\summary\writer\event_file_writer.py", line 212, in _check_worker_status
raise exception
File "C:\ProgramData\Anaconda\envs\maskrl\lib\threading.py", line 932, in _bootstrap_inner
self.run()
File "C:\ProgramData\Anaconda\envs\maskrl\lib\site-packages\tensorboard\summary\writer\event_file_writer.py", line 244, in run
self._run()
File "C:\ProgramData\Anaconda\envs\maskrl\lib\site-packages\tensorboard\summary\writer\event_file_writer.py", line 275, in _run
self._record_writer.write(data)
File "C:\ProgramData\Anaconda\envs\maskrl\lib\site-packages\tensorboard\summary\writer\record_writer.py", line 40, in write
self._writer.write(header + header_crc + data + footer_crc)
File "C:\ProgramData\Anaconda\envs\maskrl\lib\site-packages\tensorboard\compat\tensorflow_stub\io\gfile.py", line 768, in write
self.fs.write(self.filename, file_content, self.binary_mode)
File "C:\ProgramData\Anaconda\envs\maskrl\lib\site-packages\tensorboard\compat\tensorflow_stub\io\gfile.py", line 157, in write
self._write(filename, file_content, "wb" if binary_mode else "w")
File "C:\ProgramData\Anaconda\envs\maskrl\lib\site-packages\tensorboard\compat\tensorflow_stub\io\gfile.py", line 171, in _write
with io.open(filename, mode, encoding=encoding) as f:
FileNotFoundError: [Errno 2] No such file or directory: b'output/mtm_sac_dmc/Ablation-FeatMasking-cartpole-swingup0828T12-im84-b512-s1-mtm_sac\tb\events.out.tfevents.1693224450.DESKTOP-RROD0QI.122000.0'
Set the environment variable HYDRA_FULL_ERROR=1 for a complete stack trace.
[2023-08-28 20:07:30,563][wandb.sdk.internal.internal][INFO] - Internal process exited
The text was updated successfully, but these errors were encountered: